How To Install sword-utils on CentOS 8

sword-utils is Utilities for the sword project

Introduction

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

What is sword-utils

This package contains the pre-built utilities for use with the SWORD Project. The SWORD Project developers encourage you to use the latest development version of the utilities rather than those released with a packaged release as updates to the utilities do not affect the release schedule of the library. However, these utilities were the latest at the time of the current library release.

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

Install sword-utils 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-utils using dnf by running the following command:

sudo dnf -y install sword-utils

Install sword-utils 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-utils using yum by running the following command:

sudo yum -y install sword-utils

How To Uninstall sword-utils on CentOS 8

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

sudo dnf remove sword-utils

sword-utils Package Contents on CentOS 8

/usr/bin/addld
/usr/bin/diatheke
/usr/bin/emptyvss
/usr/bin/imp2gbs
/usr/bin/imp2ld
/usr/bin/imp2vs
/usr/bin/installmgr
/usr/bin/mkfastmod
/usr/bin/mod2imp
/usr/bin/mod2osis
/usr/bin/mod2vpl
/usr/bin/mod2zmod
/usr/bin/osis2mod
/usr/bin/tei2mod
/usr/bin/vpl2mod
/usr/bin/vs2osisref
/usr/bin/vs2osisreftxt
/usr/bin/xml2gbs
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/46da4e79c6e72ae8ea4b133ddc00b5e6134b27
/usr/lib/.build-id/15
/usr/lib/.build-id/15/ff0135a1760fc0d52e2e9d9af7b816e392e0f0
/usr/lib/.build-id/21
/usr/lib/.build-id/21/634f326f59a4bd9a86923403afcb427611887b
/usr/lib/.build-id/24
/usr/lib/.build-id/24/5b72c8f0e4362fc3eb165841562e77fa7d61a8
/usr/lib/.build-id/26
/usr/lib/.build-id/26/e84bb386a2b1d45cf714fdb3f70eb0f465f139
/usr/lib/.build-id/33
/usr/lib/.build-id/33/f6e95139a45aa16aa0a33d443e15da9681d1a4
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/290e6aa7e293d115915adde7b5e9395dce8035
/usr/lib/.build-id/47
/usr/lib/.build-id/47/871638ffd5cc00c4eb34e87be8b604676151ec
/usr/lib/.build-id/59
/usr/lib/.build-id/59/8f098d105fb80c5a76bd27f43f1357b5c8e128
/usr/lib/.build-id/81
/usr/lib/.build-id/81/8bf923dad243ce8eb1c570833942e042b282c8
/usr/lib/.build-id/97
/usr/lib/.build-id/97/87e29cbba4193dc6c51a877e1a75227c60fbe4
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/29d14cc72eaf4fe004fb320bb31debd1d11e8c
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/02e6f87b92524f80f47fee10fa7ddb4a099b31
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/1b7db569836e0039edbe7c1786558edeb9e0de
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/eccbbd69a2169e3145c49a46e8000a61eef3b8
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/459703ef0fc06f76f11661202503e14f00982b
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/5a41a7c459d576b612cd371af4c69bd8767239
/usr/lib/.build-id/fd/7d2e64617f46590e959beed9d9c29a8e484446

References

Summary

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