How To Install sword on CentOS 8

sword is Free Bible Software Project

Introduction

In this tutorial we learn how to install sword on CentOS 8.

What is sword

The SWORD Project is the CrossWire Bible Society’s free Bible software project. Its purpose is to create cross-platform open-source tools– covered by the GNU General Public License– that allow programmers and Bible societies to write new Bible software more quickly and easily. We also create Bible study software for all readers, students, scholars, and translators of the Bible, and have a growing collection of over 200 texts in over 50 languages.

We can use yum or dnf to install sword on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install sword.

Install sword on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install sword using dnf by running the following command:

sudo dnf -y install sword

Install sword on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install sword using yum by running the following command:

sudo yum -y install sword

How To Uninstall sword on CentOS 8

To uninstall only the sword package we can use the following command:

sudo dnf remove sword

sword Package Contents on CentOS 8

/etc/sword.conf
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/b0f842ee46545cf4ab8c41c419b9f839593964
/usr/lib64/libsword.so.1.8
/usr/share/doc/sword
/usr/share/doc/sword/AUTHORS
/usr/share/doc/sword/COPYING
/usr/share/doc/sword/ChangeLog
/usr/share/doc/sword/INSTALL
/usr/share/doc/sword/LICENSE
/usr/share/doc/sword/NEWS
/usr/share/doc/sword/README
/usr/share/doc/sword/doc
/usr/share/doc/sword/doc/Doxyfile
/usr/share/doc/sword/doc/Makefile.am
/usr/share/doc/sword/doc/QUICKSTART.ubuntu
/usr/share/doc/sword/doc/README
/usr/share/doc/sword/doc/translation-template.conf
/usr/share/doc/sword/samples
/usr/share/doc/sword/samples/Makefile.am
/usr/share/doc/sword/samples/mods.d
/usr/share/doc/sword/samples/mods.d/globals.conf
/usr/share/doc/sword/samples/recommended
/usr/share/doc/sword/samples/recommended/README
/usr/share/doc/sword/samples/recommended/sword.conf
/usr/share/sword
/usr/share/sword/locales.d
/usr/share/sword/locales.d/Makefile.am
/usr/share/sword/locales.d/abbr.conf
/usr/share/sword/locales.d/af-utf8.conf
/usr/share/sword/locales.d/af.conf
/usr/share/sword/locales.d/ar-utf8.conf
/usr/share/sword/locales.d/ar_EG-cp1256.conf
/usr/share/sword/locales.d/ar_EG-utf8.conf
/usr/share/sword/locales.d/az-utf8.conf
/usr/share/sword/locales.d/be-utf8.conf
/usr/share/sword/locales.d/bg-utf8.conf
/usr/share/sword/locales.d/bg_BG-cp1251.conf
/usr/share/sword/locales.d/cs-utf8.conf
/usr/share/sword/locales.d/cs.conf
/usr/share/sword/locales.d/cy-utf8.conf
/usr/share/sword/locales.d/cy.conf
/usr/share/sword/locales.d/da-utf8.conf
/usr/share/sword/locales.d/da.conf
/usr/share/sword/locales.d/de-utf8.conf
/usr/share/sword/locales.d/de.conf
/usr/share/sword/locales.d/de_abbrev-utf8.conf
/usr/share/sword/locales.d/de_abbrev.conf
/usr/share/sword/locales.d/es-utf8.conf
/usr/share/sword/locales.d/es.conf
/usr/share/sword/locales.d/et-utf8.conf
/usr/share/sword/locales.d/et.conf
/usr/share/sword/locales.d/et_abbr-utf8.conf
/usr/share/sword/locales.d/et_abbr.conf
/usr/share/sword/locales.d/fa-utf8.conf
/usr/share/sword/locales.d/fi-utf8.conf
/usr/share/sword/locales.d/fi.conf
/usr/share/sword/locales.d/fo-utf8.conf
/usr/share/sword/locales.d/fr-utf8.conf
/usr/share/sword/locales.d/fr.conf
/usr/share/sword/locales.d/fr_abbrev-utf8.conf
/usr/share/sword/locales.d/fr_abbrev.conf
/usr/share/sword/locales.d/ga-utf8.conf
/usr/share/sword/locales.d/he-utf8.conf
/usr/share/sword/locales.d/hr-utf8.conf
/usr/share/sword/locales.d/hu-utf8.conf
/usr/share/sword/locales.d/hu.conf
/usr/share/sword/locales.d/id-utf8.conf
/usr/share/sword/locales.d/id.conf
/usr/share/sword/locales.d/it-utf8.conf
/usr/share/sword/locales.d/it.conf
/usr/share/sword/locales.d/iu-utf8.conf
/usr/share/sword/locales.d/ja-utf8.conf
/usr/share/sword/locales.d/ko-utf8.conf
/usr/share/sword/locales.d/ko.conf
/usr/share/sword/locales.d/ko_abbrev-utf8.conf
/usr/share/sword/locales.d/ko_abbrev.conf
/usr/share/sword/locales.d/kpg-utf8.conf
/usr/share/sword/locales.d/la-utf8.conf
/usr/share/sword/locales.d/la.conf
/usr/share/sword/locales.d/locales.conf
/usr/share/sword/locales.d/lt-utf8.conf
/usr/share/sword/locales.d/lv-utf8.conf
/usr/share/sword/locales.d/mt-utf8.conf
/usr/share/sword/locales.d/nb-utf8.conf
/usr/share/sword/locales.d/nb.conf
/usr/share/sword/locales.d/nl-utf8.conf
/usr/share/sword/locales.d/nl.conf
/usr/share/sword/locales.d/no-utf8.conf
/usr/share/sword/locales.d/no.conf
/usr/share/sword/locales.d/pl-utf8.conf
/usr/share/sword/locales.d/pl.conf
/usr/share/sword/locales.d/pon_utf8.conf
/usr/share/sword/locales.d/pt-utf8.conf
/usr/share/sword/locales.d/pt.conf
/usr/share/sword/locales.d/pt_BR-utf8.conf
/usr/share/sword/locales.d/pt_BR.conf
/usr/share/sword/locales.d/ro-utf8.conf
/usr/share/sword/locales.d/ro.conf
/usr/share/sword/locales.d/ru-utf8.conf
/usr/share/sword/locales.d/ru_RU-cp1251.conf
/usr/share/sword/locales.d/ru_RU-koi8-r.conf
/usr/share/sword/locales.d/ru_RU-utf8.conf
/usr/share/sword/locales.d/sk-utf8.conf
/usr/share/sword/locales.d/sk.conf
/usr/share/sword/locales.d/sl-utf8.conf
/usr/share/sword/locales.d/sl.conf
/usr/share/sword/locales.d/sv-utf8.conf
/usr/share/sword/locales.d/sv.conf
/usr/share/sword/locales.d/th-utf8.conf
/usr/share/sword/locales.d/tr-utf8.conf
/usr/share/sword/locales.d/uk-utf8.conf
/usr/share/sword/locales.d/uk_UA-cp1251.conf
/usr/share/sword/locales.d/uk_UA-koi8-u.conf
/usr/share/sword/locales.d/vi-utf8.conf
/usr/share/sword/locales.d/zh_CN-utf8.conf
/usr/share/sword/locales.d/zh_Hans-utf8.conf
/usr/share/sword/locales.d/zh_Hant-utf8.conf
/usr/share/sword/locales.d/zh_TW-utf8.conf
/usr/share/sword/locales.d/zh_english-utf8.conf
/usr/share/sword/mods.d
/usr/share/sword/modules

References

Summary

In this tutorial we learn how to install sword on CentOS 8 using yum and dnf.