Install Open Babel Library RPM Package for CentOS

Q

How to download and install Open Babel library RPM package for CentOS computers?

✍: FYIcenter.com

A

Open Babel library RPM package is the base package that is required to support other Open Babel RPM interface packages. So you should download and install it first as shown in this tutorial.

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

2. Find and open openbabel-libs-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-libs-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-libs-2.3.2-2.el7.x86_64.rpm'
fyicenter$ curl $url > openbabel-libs.rpm 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2607k  100 2607k    0     0  11227      0  0:03:57  0:03:57 --:--:--  8701

5. Install it using the "rpm" command:

fyicenter$ sudo rpm -Uvh openbabel-libs.rpm 
warning: openbabel-libs.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
error: Failed dependencies:
  libinchi.so.1()(64bit) is needed by openbabel-libs-2.3.2-2.el7.x86_64

6. Don't panic. Download and install InChi library first.

fyicenter$ export url='https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/i/inchi-1.0.4-4.el7.x86_64.rpm'
fyicenter$ curl $url > inchi.rpm 
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
100  452k  100  452k    0     0  15517      0  0:00:29  0:00:29 --:--:-- 19733

fyicenter$ sudo rpm -Uvh inchi.rpm 
warning: inchi.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
  1:inchi-1.0.4-4.el7                ################################# [100%]

7. Install Open Babel Library package again:

fyicenter$ sudo rpm -Uvh openbabel-libs.rpm 
warning: openbabel-libs.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:openbabel-libs-2.3.2-2.el7       ################################# [100%]

8. Verify Open Babel Library package:

fyicenter$ dnf info openbabel-libs
Installed Packages
Name         : openbabel-libs
Version      : 2.3.2
Release      : 2.el7
Architecture : x86_64
Size         : 9.9 M
Source       : openbabel-2.3.2-2.el7.src.rpm
Repository   : @System
Summary      : Chemistry software file format converter - libraries
URL          : http://openbabel.org/
License      : GPLv2
Description  : Open Babel is a free, open-source version of the Babel chemistry file
             : translation program. Open Babel is a project designed to pick up where
             : Babel left off, as a cross-platform program and library designed to
             : interconvert between many file formats used in molecular modeling,
             : computational chemistry, and many related areas.
             : 
             : This package contains the C++ library, which includes all of the
             : file-translation code.

Open Babel library is ready to use.

 

Install Open Babel CLI RPM Package for CentOS

Search Open Babel RPM Packages for CentOS

Running Open Babel on CentOS

⇑⇑ Open Babel Tutorials

2020-10-20, 198👍, 0💬