How To Install beakerlib-libraries on CentOS 8
Introduction
In this tutorial we learn how to install beakerlib-libraries
on CentOS 8.
What is beakerlib-libraries
Beakerlib Libraries are used by beakerlib tests to encapsulate common complex tasks such as configuring and starting a particular daemon in a single function.
We can use yum
or dnf
to install beakerlib-libraries
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install beakerlib-libraries.
Install beakerlib-libraries 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 beakerlib-libraries
using dnf
by running the following command:
sudo dnf -y install beakerlib-libraries
Install beakerlib-libraries 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 beakerlib-libraries
using yum
by running the following command:
sudo yum -y install beakerlib-libraries
How To Uninstall beakerlib-libraries on CentOS 8
To uninstall only the beakerlib-libraries
package we can use the following command:
sudo dnf remove beakerlib-libraries
beakerlib-libraries Package Contents on CentOS 8
/usr/bin/get-test-deps
/usr/share/beakerlib-libraries
/usr/share/beakerlib-libraries/authconfig
/usr/share/beakerlib-libraries/authconfig/Library
/usr/share/beakerlib-libraries/authconfig/Library/basic
/usr/share/beakerlib-libraries/authconfig/Library/basic/Makefile
/usr/share/beakerlib-libraries/authconfig/Library/basic/lib.sh
/usr/share/beakerlib-libraries/bind
/usr/share/beakerlib-libraries/bind/Library
/usr/share/beakerlib-libraries/bind/Library/bind-setup
/usr/share/beakerlib-libraries/bind/Library/bind-setup/Makefile
/usr/share/beakerlib-libraries/bind/Library/bind-setup/bind-setup.tar.gz
/usr/share/beakerlib-libraries/bind/Library/bind-setup/lib.sh
/usr/share/beakerlib-libraries/distribution
/usr/share/beakerlib-libraries/distribution/Library
/usr/share/beakerlib-libraries/distribution/Library/Cleanup
/usr/share/beakerlib-libraries/distribution/Library/Cleanup/Makefile
/usr/share/beakerlib-libraries/distribution/Library/Cleanup/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/ConditionalPhases
/usr/share/beakerlib-libraries/distribution/Library/ConditionalPhases/Makefile
/usr/share/beakerlib-libraries/distribution/Library/ConditionalPhases/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/LibrariesWrapper
/usr/share/beakerlib-libraries/distribution/Library/LibrariesWrapper/Makefile
/usr/share/beakerlib-libraries/distribution/Library/LibrariesWrapper/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/Log
/usr/share/beakerlib-libraries/distribution/Library/Log/Makefile
/usr/share/beakerlib-libraries/distribution/Library/Log/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/Reboot
/usr/share/beakerlib-libraries/distribution/Library/Reboot/Makefile
/usr/share/beakerlib-libraries/distribution/Library/Reboot/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/RpmSnapshot
/usr/share/beakerlib-libraries/distribution/Library/RpmSnapshot/Makefile
/usr/share/beakerlib-libraries/distribution/Library/RpmSnapshot/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/dpcommon
/usr/share/beakerlib-libraries/distribution/Library/dpcommon/Makefile
/usr/share/beakerlib-libraries/distribution/Library/dpcommon/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/dump
/usr/share/beakerlib-libraries/distribution/Library/dump/Makefile
/usr/share/beakerlib-libraries/distribution/Library/dump/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/dump/runtest.sh
/usr/share/beakerlib-libraries/distribution/Library/epel
/usr/share/beakerlib-libraries/distribution/Library/epel/Makefile
/usr/share/beakerlib-libraries/distribution/Library/epel/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/epel/runtest.sh
/usr/share/beakerlib-libraries/distribution/Library/fips
/usr/share/beakerlib-libraries/distribution/Library/fips/Makefile
/usr/share/beakerlib-libraries/distribution/Library/fips/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/fips/rstrnt-package-workaround.sh
/usr/share/beakerlib-libraries/distribution/Library/fips/runtest.sh
/usr/share/beakerlib-libraries/distribution/Library/opts
/usr/share/beakerlib-libraries/distribution/Library/opts/Makefile
/usr/share/beakerlib-libraries/distribution/Library/opts/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/sundry
/usr/share/beakerlib-libraries/distribution/Library/sundry/Makefile
/usr/share/beakerlib-libraries/distribution/Library/sundry/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/sundry/runtest.sh
/usr/share/beakerlib-libraries/distribution/Library/tcf
/usr/share/beakerlib-libraries/distribution/Library/tcf/Makefile
/usr/share/beakerlib-libraries/distribution/Library/tcf/lib.sh
/usr/share/beakerlib-libraries/distribution/Library/testUser
/usr/share/beakerlib-libraries/distribution/Library/testUser/Makefile
/usr/share/beakerlib-libraries/distribution/Library/testUser/lib.sh
/usr/share/beakerlib-libraries/firewalld
/usr/share/beakerlib-libraries/firewalld/Library
/usr/share/beakerlib-libraries/firewalld/Library/main
/usr/share/beakerlib-libraries/firewalld/Library/main/Makefile
/usr/share/beakerlib-libraries/firewalld/Library/main/lib.sh
/usr/share/beakerlib-libraries/firewalld/Library/main/runtest.sh
/usr/share/beakerlib-libraries/httpd
/usr/share/beakerlib-libraries/httpd/Library
/usr/share/beakerlib-libraries/httpd/Library/http
/usr/share/beakerlib-libraries/httpd/Library/http/Makefile
/usr/share/beakerlib-libraries/httpd/Library/http/lib.sh
/usr/share/beakerlib-libraries/httpd/Library/http/runtest.sh
/usr/share/beakerlib-libraries/kernel
/usr/share/beakerlib-libraries/kernel/Library
/usr/share/beakerlib-libraries/kernel/Library/base
/usr/share/beakerlib-libraries/kernel/Library/base/Makefile
/usr/share/beakerlib-libraries/kernel/Library/base/lib-GlobalVariables.sh
/usr/share/beakerlib-libraries/kernel/Library/base/lib-compat.sh
/usr/share/beakerlib-libraries/kernel/Library/base/lib.sh
/usr/share/beakerlib-libraries/kernel/Library/base/runtest.sh
/usr/share/beakerlib-libraries/kernel/Library/base/src
/usr/share/beakerlib-libraries/kernel/Library/base/src/expendfdrun
/usr/share/beakerlib-libraries/kernel/Library/base/src/expendfdrun/Makefile
/usr/share/beakerlib-libraries/kernel/Library/base/src/expendfdrun/expendfdrun.c
/usr/share/beakerlib-libraries/kernel/Library/base/tools
/usr/share/beakerlib-libraries/kernel/Library/base/tools/_getNicIp.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/build_ipa_server.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/build_iscsi_server.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/build_nis_server.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/config_AD_client.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/config_ipa_client.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/config_iscsi_client.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/config_nis_client.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/expendfdrun_install.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/fix_nfsvers
/usr/share/beakerlib-libraries/kernel/Library/base/tools/getDefaultIp
/usr/share/beakerlib-libraries/kernel/Library/base/tools/getDefaultNic
/usr/share/beakerlib-libraries/kernel/Library/base/tools/getIp
/usr/share/beakerlib-libraries/kernel/Library/base/tools/getShortName
/usr/share/beakerlib-libraries/kernel/Library/base/tools/get_mp_nfsvers
/usr/share/beakerlib-libraries/kernel/Library/base/tools/install-docker-ce.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/install-pip.sh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/ls_cifsvers
/usr/share/beakerlib-libraries/kernel/Library/base/tools/ls_nfsvers
/usr/share/beakerlib-libraries/kernel/Library/base/tools/ncrsh
/usr/share/beakerlib-libraries/kernel/Library/base/tools/ncrsh_server
/usr/share/beakerlib-libraries/kernel/Library/base/tools/netem
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_autofs
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_ip6tables
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_iptables
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_nfs
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_nfsconfig
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_nfslock
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_portmap
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_rpcbind
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_rpcgssd
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_rpcidmapd
/usr/share/beakerlib-libraries/kernel/Library/base/tools/service_rpcsvcgssd
/usr/share/beakerlib-libraries/kernel/Library/base/tools/services
/usr/share/beakerlib-libraries/kernel/Library/base/tools/sortV
/usr/share/beakerlib-libraries/kernel/Library/base/tools/vercmp
/usr/share/beakerlib-libraries/kernel/Library/base/tools/xfstests_install.sh
/usr/share/beakerlib-libraries/kernel/Library/network
/usr/share/beakerlib-libraries/kernel/Library/network/Makefile
/usr/share/beakerlib-libraries/kernel/Library/network/lib.sh
/usr/share/beakerlib-libraries/kernel/Library/network/runtest.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common
/usr/share/beakerlib-libraries/kernel/Library/networking-common/Makefile
/usr/share/beakerlib-libraries/kernel/Library/networking-common/NetworkManager.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/PURPOSE
/usr/share/beakerlib-libraries/kernel/Library/networking-common/include.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/install.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/lib
/usr/share/beakerlib-libraries/kernel/Library/networking-common/lib/lib_nc_sync.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/lib/lib_netperf_all.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/lib/lib_utils.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/lib/protocol
/usr/share/beakerlib-libraries/kernel/Library/networking-common/lib/protocol/netns.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/netperf.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/network.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/patch
/usr/share/beakerlib-libraries/kernel/Library/networking-common/patch/lksctp.patch
/usr/share/beakerlib-libraries/kernel/Library/networking-common/patch/ltp.patch
/usr/share/beakerlib-libraries/kernel/Library/networking-common/patch/packetdrill_cases.patch
/usr/share/beakerlib-libraries/kernel/Library/networking-common/patch/packetdrill_cases.pegas.patch
/usr/share/beakerlib-libraries/kernel/Library/networking-common/patch/packetdrill_rm_ufo_flag.patch
/usr/share/beakerlib-libraries/kernel/Library/networking-common/patch/tunctl.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/runtest.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/service.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/build.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/igmp_query.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/join_group.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/mdump.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/mld_query.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/mpong.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/msend.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/mstate.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/recv_multicast.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/src/mtools/send_multicast.c
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools/netns_1_net.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools/netns_2_net.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools/netns_3_net.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools/netns_clean.sh
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools/send_nd.py
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools/send_ra.py
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools/super_netperf
/usr/share/beakerlib-libraries/kernel/Library/networking-common/tools/teamd_config.py
/usr/share/beakerlib-libraries/mariadb55
/usr/share/beakerlib-libraries/mariadb55/Library
/usr/share/beakerlib-libraries/mariadb55/Library/basic
/usr/share/beakerlib-libraries/mariadb55/Library/basic/Makefile
/usr/share/beakerlib-libraries/mariadb55/Library/basic/PURPOSE
/usr/share/beakerlib-libraries/mariadb55/Library/basic/lib.sh
/usr/share/beakerlib-libraries/mariadb55/Library/basic/runtest.sh
/usr/share/beakerlib-libraries/mongodb
/usr/share/beakerlib-libraries/mongodb/Library
/usr/share/beakerlib-libraries/mongodb/Library/basic
/usr/share/beakerlib-libraries/mongodb/Library/basic/Makefile
/usr/share/beakerlib-libraries/mongodb/Library/basic/PURPOSE
/usr/share/beakerlib-libraries/mongodb/Library/basic/lib.sh
/usr/share/beakerlib-libraries/mongodb/Library/basic/runtest.sh
/usr/share/beakerlib-libraries/mysql
/usr/share/beakerlib-libraries/mysql/Library
/usr/share/beakerlib-libraries/mysql/Library/basic
/usr/share/beakerlib-libraries/mysql/Library/basic/Makefile
/usr/share/beakerlib-libraries/mysql/Library/basic/lib.sh
/usr/share/beakerlib-libraries/mysql/Library/basic/runtest.sh
/usr/share/beakerlib-libraries/nginx
/usr/share/beakerlib-libraries/nginx/Library
/usr/share/beakerlib-libraries/nginx/Library/nginx
/usr/share/beakerlib-libraries/nginx/Library/nginx/Makefile
/usr/share/beakerlib-libraries/nginx/Library/nginx/lib.sh
/usr/share/beakerlib-libraries/nginx/Library/nginx/runtest.sh
/usr/share/beakerlib-libraries/nginx/Library/nginx/ssl-rhel8.conf
/usr/share/beakerlib-libraries/nginx/Library/nginx/ssl.conf
/usr/share/beakerlib-libraries/openssl
/usr/share/beakerlib-libraries/openssl/Library
/usr/share/beakerlib-libraries/openssl/Library/certgen
/usr/share/beakerlib-libraries/openssl/Library/certgen/Makefile
/usr/share/beakerlib-libraries/openssl/Library/certgen/lib.sh
/usr/share/beakerlib-libraries/openssl/Library/certgen/runtest.sh
/usr/share/beakerlib-libraries/perl
/usr/share/beakerlib-libraries/perl/Library
/usr/share/beakerlib-libraries/perl/Library/subpackage
/usr/share/beakerlib-libraries/perl/Library/subpackage/Makefile
/usr/share/beakerlib-libraries/perl/Library/subpackage/lib.sh
/usr/share/beakerlib-libraries/php
/usr/share/beakerlib-libraries/php/Library
/usr/share/beakerlib-libraries/php/Library/utils
/usr/share/beakerlib-libraries/php/Library/utils/Makefile
/usr/share/beakerlib-libraries/php/Library/utils/lib.sh
/usr/share/beakerlib-libraries/samba
/usr/share/beakerlib-libraries/samba/Library
/usr/share/beakerlib-libraries/samba/Library/samba-bits
/usr/share/beakerlib-libraries/samba/Library/samba-bits/Makefile
/usr/share/beakerlib-libraries/samba/Library/samba-bits/lib.sh
/usr/share/beakerlib-libraries/samba/Library/samba-bits/modules
/usr/share/beakerlib-libraries/samba/Library/samba-bits/modules/private
/usr/share/beakerlib-libraries/samba/Library/samba-bits/modules/private/key.sh
/usr/share/beakerlib-libraries/samba/Library/samba-bits/runtest.sh
/usr/share/beakerlib-libraries/sos
/usr/share/beakerlib-libraries/sos/Library
/usr/share/beakerlib-libraries/sos/Library/utils
/usr/share/beakerlib-libraries/sos/Library/utils/Makefile
/usr/share/beakerlib-libraries/sos/Library/utils/lib.sh
/usr/share/beakerlib-libraries/squid
/usr/share/beakerlib-libraries/squid/Library
/usr/share/beakerlib-libraries/squid/Library/squid
/usr/share/beakerlib-libraries/squid/Library/squid/Makefile
/usr/share/beakerlib-libraries/squid/Library/squid/lib.sh
/usr/share/beakerlib-libraries/squid/Library/squid/runtest.sh
/usr/share/beakerlib-libraries/tuned
/usr/share/beakerlib-libraries/tuned/Library
/usr/share/beakerlib-libraries/tuned/Library/basic
/usr/share/beakerlib-libraries/tuned/Library/basic/Makefile
/usr/share/beakerlib-libraries/tuned/Library/basic/lib.sh
/usr/share/beakerlib-libraries/tuned/Library/basic/runtest.sh
/usr/share/beakerlib-libraries/yum
/usr/share/beakerlib-libraries/yum/Library
/usr/share/beakerlib-libraries/yum/Library/common-functions
/usr/share/beakerlib-libraries/yum/Library/common-functions/Makefile
/usr/share/beakerlib-libraries/yum/Library/common-functions/lib.sh
/usr/share/beakerlib-libraries/yum/Library/common-functions/runtest.sh
References
Summary
In this tutorial we learn how to install beakerlib-libraries
on CentOS 8 using yum and dnf.