From 552a00b6117125c9fedf35720f1f7729ebc62a9d Mon Sep 17 00:00:00 2001 From: Robert M Flight Date: Thu, 29 Feb 2024 09:56:24 -0500 Subject: [PATCH 1/2] Update install.rst Added instructions for installing on Ubuntu and Fedora, as well as verifying version and getting help, with pointers to the CLI docs. Signed-off-by: Robert M Flight --- Installation/install.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Installation/install.rst b/Installation/install.rst index d1ac370..fcbbb71 100644 --- a/Installation/install.rst +++ b/Installation/install.rst @@ -24,6 +24,24 @@ Open Babel binary packages are available from many Linux distributions including In general, we recommend using the latest release of Open Babel (currently |release|). If this is not available for your Linux distribution, you should :ref:`compile Open Babel yourself `. +Ubuntu (and related distros): + + $ sudo apt-get install openbabel + +Fedora: + + $ sudo dnf install openbabel + +This will make the command :program:`obabel` (the Open Babel command line interface, CLI) available on your computer. For more information on using the CLI, see :ref:`obabel - Convert, Filter and Manipulate Chemical Data`. + +After installing, you can check the version of Open Babel is installed using: + + $ obabel --version + +You can get help for the CLI using the **-H** option: + + $ obabel -H + .. _Compiling Open Babel: Compiling Open Babel From d0d64fd50f0274e25be7d1054350d9bc35b8919e Mon Sep 17 00:00:00 2001 From: Robert M Flight Date: Thu, 29 Feb 2024 09:58:29 -0500 Subject: [PATCH 2/2] missed using double colon Signed-off-by: Robert M Flight --- Installation/install.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Installation/install.rst b/Installation/install.rst index fcbbb71..1a08446 100644 --- a/Installation/install.rst +++ b/Installation/install.rst @@ -24,21 +24,21 @@ Open Babel binary packages are available from many Linux distributions including In general, we recommend using the latest release of Open Babel (currently |release|). If this is not available for your Linux distribution, you should :ref:`compile Open Babel yourself `. -Ubuntu (and related distros): +Ubuntu (and related distros):: $ sudo apt-get install openbabel -Fedora: +Fedora:: $ sudo dnf install openbabel This will make the command :program:`obabel` (the Open Babel command line interface, CLI) available on your computer. For more information on using the CLI, see :ref:`obabel - Convert, Filter and Manipulate Chemical Data`. -After installing, you can check the version of Open Babel is installed using: +After installing, you can check the version of Open Babel is installed using:: $ obabel --version -You can get help for the CLI using the **-H** option: +You can get help for the CLI using the **-H** option:: $ obabel -H