"DNF/YUM install" - Open Babel Binary Packages

Q

How to install Open Babel binary packages with DNF/YUM commands on CentOS systems?

✍: FYIcenter.com

A

If you are running CentOS 8, you can follow this tutorial to install Open Babel binary packages:

1. Install "openbabel" package:

fyicenter$ sudo sdf install openbabel 

Installed:
  openbabel-3.1.1-14.el8.x86_64
  openbabel-libs-3.1.1-14.el8.x86_64    

2. Verify "openbabel" commands:

fyicenter$ which obabel 
/usr/bin/obabel  

fyicenter$ ls -l /usr/bin/obabel  
-rwxr-xr-x. 1 root root 33760 Sep 28 02:29 /usr/bin/obabel

fyicenter$ obabel -V
Open Babel 3.1.1 -- Sep 27 2022 -- 18:26:52     

3. Try to computer the structure in SVG format of a Benzene ring:

fyicenter$ obabel -:c1ccccc1 -O benzene.svg
  1 molecule converted

fyicenter$ more benzene.svg
<?xml version="1.0"?>
<svg version="1.1" id="topsvg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:cml="http://www.xml-cml.org/schema" x="0" y="0" width="200px" height="200px" viewBox="0 0 100 100">
<title> - Open Babel Depiction</title>
<rect x="0" y="0" width="100" height="100" fill="white"/>
<g transform="translate(0,0)">
<svg width="100" height="100" x="0" y="0" viewBox="0 0 149.282 160"
font-family="sans-serif" stroke="rgb(0,0,0)" stroke-width="2"  stroke-linecap="round">
<line x1="40.0" y1="60.0" x2="74.6" y2="40.0" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
<line x1="74.6" y1="40.0" x2="109.3" y2="60.0" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
<line x1="76.2" y1="49.2" x2="100.5" y2="63.2" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
<line x1="109.3" y1="60.0" x2="109.3" y2="100.0" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
<line x1="109.3" y1="100.0" x2="74.6" y2="120.0" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
<line x1="100.5" y1="96.8" x2="76.2" y2="110.8" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
<line x1="74.6" y1="120.0" x2="40.0" y2="100.0" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
<line x1="40.0" y1="100.0" x2="40.0" y2="60.0" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
<line x1="47.2" y1="94.0" x2="47.2" y2="66.0" opacity="1.0" stroke="rgb(0,0,0)"  stroke-width="2.0"/>
</svg>
</g>
<text font-size="18.000000" fill ="black" font-family="sans-serif"
x="10.000000" y="20.000000" ></text>
</svg>

 

Search Open Babel RPM Packages for CentOS

"DNF/YUM search" - Open Babel Binary Packages

Running Open Babel on CentOS

⇑⇑ Open Babel Tutorials

2023-01-24, 284🔥, 0💬