Navigate to the Open Babel source code directory by running the following command:
cd openbabel
Checkout the version 3.1.1 release tag by running the following command:
git checkout tags/openbabel-3-1-1
Create a build directory by running the following command:
mkdir build
Navigate to the build directory by running the following command:
cd build
Configure the build by running the following command:
cmake ..
Compile the source code by running the following command:
make
Install Open Babel by running the following command:
sudo make install
After these steps, Open Babel 3.1.1 should be installed on your Ubuntu 20.04 system. You can verify the installation by running the following command:
obabel --version
You can delete the Open Babel source code folder after installing Open Babel on Ubuntu 20.04. Once you have successfully installed Open Babel using the steps provided, the installation files will have been copied to the appropriate system directories, and the source code files are no longer needed.
You can delete the Open Babel source code folder by running the following command from the terminal:
To install Open Babel 3.1.1 in Ubuntu 20.04, you can follow these steps:
Open a terminal window by pressing Ctrl+Alt+T on your keyboard.
Update the package index by running the following command:
Install the necessary dependencies by running the following command:
Clone the Open Babel source code from GitHub by running the following command:
Navigate to the Open Babel source code directory by running the following command:
Checkout the version 3.1.1 release tag by running the following command:
Create a build directory by running the following command:
Navigate to the build directory by running the following command:
Configure the build by running the following command:
Compile the source code by running the following command:
make
Install Open Babel by running the following command:
sudo make install
After these steps, Open Babel 3.1.1 should be installed on your Ubuntu 20.04 system. You can verify the installation by running the following command:
You can delete the Open Babel source code folder after installing Open Babel on Ubuntu 20.04. Once you have successfully installed Open Babel using the steps provided, the installation files will have been copied to the appropriate system directories, and the source code files are no longer needed.
You can delete the Open Babel source code folder by running the following command from the terminal: