Install Open Babel CLI RPM Package for CentOS

Q

How to download and install Open Babel CLI (Command Line Interface) RPM package for CentOS computers?

✍: FYIcenter.com

A

Open Babel CLI RPM package offers a number of pre-build command line tools for you convert and manipulate molecule data from one format to another format using Open Babel library.

You can follow this tutorial download and install it on your CentOS computer.

1. Go back to the Linux package repository at https://centos.pkgs.org.

2. Find and open openbabel-2.3.2-2.el7.x86_64.rpm package detail Web page.

3. Go to the Download section and take the binary package URL: https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/o/openbabel-2.3.2-2.el7.x86_64.rpm

4. Use "curl" command to download it:

fyicenter$ export url='https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/o/openbabel-2.3.2-2.el7.x86_64.rpm'
fyicenter$ curl $url > openbabel.rpm 
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
100  179k  100  179k    0     0  11477      0  0:00:16  0:00:16 --:--:-- 11019

5. Install it using the "rpm" command:

fyicenter$ sudo rpm -Uvh openbabel.rpm
warning: openbabel.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
error: Failed dependencies:
  libwx_baseu-2.8.so.0()(64bit) is needed by openbabel-2.3.2-2.el7.x86_64
  libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by openbabel-2.3.2-2.el7.x86_64
  libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by openbabel-2.3.2-2.el7.x86_64
  libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by openbabel-2.3.2-2.el7.x86_64
  libwx_gtk2u_core-2.8.so.0()(64bit) is needed by openbabel-2.3.2-2.el7.x86_64
  libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by openbabel-2.3.2-2.el7.x86_64
  libwx_gtk2u_core-2.8.so.0(WXU_2.8.5)(64bit) is needed by openbabel-2.3.2-2.el7.x86_64

Not very good. You need to search and find libwx_baseu-2.8 and other missing packages, which may require even more additional packages.

Maybe you should download and install Open Babel API packages and develope your own command line tools.

Or switch to the source code installation option.

 

Install Open Babel from Source Code on CentOS

Install Open Babel Library RPM Package for CentOS

Running Open Babel on CentOS

⇑⇑ Open Babel Tutorials

2020-10-10, 1142🔥, 0💬