How To Install libvirt-libs on CentOS 8
Introduction
In this tutorial we learn how to install libvirt-libs
on CentOS 8.
What is libvirt-libs
Shared libraries for accessing the libvirt daemon.
We can use yum
or dnf
to install libvirt-libs
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvirt-libs.
Install libvirt-libs 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 libvirt-libs
using dnf
by running the following command:
sudo dnf -y install libvirt-libs
Install libvirt-libs 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 libvirt-libs
using yum
by running the following command:
sudo yum -y install libvirt-libs
How To Uninstall libvirt-libs on CentOS 8
To uninstall only the libvirt-libs
package we can use the following command:
sudo dnf remove libvirt-libs
libvirt-libs Package Contents on CentOS 8
/etc/libvirt/libvirt-admin.conf
/etc/libvirt/libvirt.conf
/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/0dfe013aa2298f934ec5c2f4b3549f54dc81a9
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/ad003cdab49f2df2c52dbe18a15dc9fb9021bd
/usr/lib/.build-id/ef/61206625610dc14316e01bb16de919264c4f8f
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/d1b9a52ed5a604e52ba58acde6415818f07b4b
/usr/lib64/libvirt-admin.so.0
/usr/lib64/libvirt-admin.so.0.6000.0
/usr/lib64/libvirt-lxc.so.0
/usr/lib64/libvirt-lxc.so.0.6000.0
/usr/lib64/libvirt-qemu.so.0
/usr/lib64/libvirt-qemu.so.0.6000.0
/usr/lib64/libvirt.so.0
/usr/lib64/libvirt.so.0.6000.0
/usr/share/libvirt
/usr/share/libvirt/cpu_map/arm_features.xml
/usr/share/libvirt/cpu_map/index.xml
/usr/share/libvirt/cpu_map/ppc64_POWER6.xml
/usr/share/libvirt/cpu_map/ppc64_POWER7.xml
/usr/share/libvirt/cpu_map/ppc64_POWER8.xml
/usr/share/libvirt/cpu_map/ppc64_POWER9.xml
/usr/share/libvirt/cpu_map/ppc64_POWERPC_e5500.xml
/usr/share/libvirt/cpu_map/ppc64_POWERPC_e6500.xml
/usr/share/libvirt/cpu_map/ppc64_vendors.xml
/usr/share/libvirt/cpu_map/x86_486.xml
/usr/share/libvirt/cpu_map/x86_Broadwell-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Broadwell-noTSX-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Broadwell-noTSX.xml
/usr/share/libvirt/cpu_map/x86_Broadwell.xml
/usr/share/libvirt/cpu_map/x86_Cascadelake-Server-noTSX.xml
/usr/share/libvirt/cpu_map/x86_Cascadelake-Server.xml
/usr/share/libvirt/cpu_map/x86_Conroe.xml
/usr/share/libvirt/cpu_map/x86_Cooperlake.xml
/usr/share/libvirt/cpu_map/x86_Dhyana.xml
/usr/share/libvirt/cpu_map/x86_EPYC-IBPB.xml
/usr/share/libvirt/cpu_map/x86_EPYC-Milan.xml
/usr/share/libvirt/cpu_map/x86_EPYC-Rome.xml
/usr/share/libvirt/cpu_map/x86_EPYC.xml
/usr/share/libvirt/cpu_map/x86_Haswell-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Haswell-noTSX-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Haswell-noTSX.xml
/usr/share/libvirt/cpu_map/x86_Haswell.xml
/usr/share/libvirt/cpu_map/x86_Icelake-Client-noTSX.xml
/usr/share/libvirt/cpu_map/x86_Icelake-Client.xml
/usr/share/libvirt/cpu_map/x86_Icelake-Server-noTSX.xml
/usr/share/libvirt/cpu_map/x86_Icelake-Server.xml
/usr/share/libvirt/cpu_map/x86_IvyBridge-IBRS.xml
/usr/share/libvirt/cpu_map/x86_IvyBridge.xml
/usr/share/libvirt/cpu_map/x86_Nehalem-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Nehalem.xml
/usr/share/libvirt/cpu_map/x86_Opteron_G1.xml
/usr/share/libvirt/cpu_map/x86_Opteron_G2.xml
/usr/share/libvirt/cpu_map/x86_Opteron_G3.xml
/usr/share/libvirt/cpu_map/x86_Opteron_G4.xml
/usr/share/libvirt/cpu_map/x86_Opteron_G5.xml
/usr/share/libvirt/cpu_map/x86_Penryn.xml
/usr/share/libvirt/cpu_map/x86_SandyBridge-IBRS.xml
/usr/share/libvirt/cpu_map/x86_SandyBridge.xml
/usr/share/libvirt/cpu_map/x86_Skylake-Client-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Skylake-Client-noTSX-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Skylake-Client.xml
/usr/share/libvirt/cpu_map/x86_Skylake-Server-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Skylake-Server-noTSX-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Skylake-Server.xml
/usr/share/libvirt/cpu_map/x86_Snowridge.xml
/usr/share/libvirt/cpu_map/x86_Westmere-IBRS.xml
/usr/share/libvirt/cpu_map/x86_Westmere.xml
/usr/share/libvirt/cpu_map/x86_athlon.xml
/usr/share/libvirt/cpu_map/x86_core2duo.xml
/usr/share/libvirt/cpu_map/x86_coreduo.xml
/usr/share/libvirt/cpu_map/x86_cpu64-rhel5.xml
/usr/share/libvirt/cpu_map/x86_cpu64-rhel6.xml
/usr/share/libvirt/cpu_map/x86_features.xml
/usr/share/libvirt/cpu_map/x86_kvm32.xml
/usr/share/libvirt/cpu_map/x86_kvm64.xml
/usr/share/libvirt/cpu_map/x86_n270.xml
/usr/share/libvirt/cpu_map/x86_pentium.xml
/usr/share/libvirt/cpu_map/x86_pentium2.xml
/usr/share/libvirt/cpu_map/x86_pentium3.xml
/usr/share/libvirt/cpu_map/x86_pentiumpro.xml
/usr/share/libvirt/cpu_map/x86_phenom.xml
/usr/share/libvirt/cpu_map/x86_qemu32.xml
/usr/share/libvirt/cpu_map/x86_qemu64.xml
/usr/share/libvirt/cpu_map/x86_vendors.xml
/usr/share/libvirt/schemas
/usr/share/libvirt/schemas/basictypes.rng
/usr/share/libvirt/schemas/capability.rng
/usr/share/libvirt/schemas/cputypes.rng
/usr/share/libvirt/schemas/domain.rng
/usr/share/libvirt/schemas/domainbackup.rng
/usr/share/libvirt/schemas/domaincaps.rng
/usr/share/libvirt/schemas/domaincheckpoint.rng
/usr/share/libvirt/schemas/domaincommon.rng
/usr/share/libvirt/schemas/domainsnapshot.rng
/usr/share/libvirt/schemas/interface.rng
/usr/share/libvirt/schemas/network.rng
/usr/share/libvirt/schemas/networkcommon.rng
/usr/share/libvirt/schemas/networkport.rng
/usr/share/libvirt/schemas/nodedev.rng
/usr/share/libvirt/schemas/nwfilter.rng
/usr/share/libvirt/schemas/nwfilter_params.rng
/usr/share/libvirt/schemas/nwfilterbinding.rng
/usr/share/libvirt/schemas/secret.rng
/usr/share/libvirt/schemas/storagecommon.rng
/usr/share/libvirt/schemas/storagepool.rng
/usr/share/libvirt/schemas/storagepoolcaps.rng
/usr/share/libvirt/schemas/storagevol.rng
/usr/share/libvirt/test-screenshot.png
/usr/share/licenses/libvirt-libs
/usr/share/licenses/libvirt-libs/COPYING
/usr/share/licenses/libvirt-libs/COPYING.LESSER
/usr/share/locale/af/LC_MESSAGES/libvirt.mo
/usr/share/locale/am/LC_MESSAGES/libvirt.mo
/usr/share/locale/anp/LC_MESSAGES/libvirt.mo
/usr/share/locale/ar/LC_MESSAGES/libvirt.mo
/usr/share/locale/as/LC_MESSAGES/libvirt.mo
/usr/share/locale/ast/LC_MESSAGES/libvirt.mo
/usr/share/locale/bal/LC_MESSAGES/libvirt.mo
/usr/share/locale/be/LC_MESSAGES/libvirt.mo
/usr/share/locale/bg/LC_MESSAGES/libvirt.mo
/usr/share/locale/bn/LC_MESSAGES/libvirt.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libvirt.mo
/usr/share/locale/bo/LC_MESSAGES/libvirt.mo
/usr/share/locale/br/LC_MESSAGES/libvirt.mo
/usr/share/locale/brx/LC_MESSAGES/libvirt.mo
/usr/share/locale/bs/LC_MESSAGES/libvirt.mo
/usr/share/locale/ca/LC_MESSAGES/libvirt.mo
/usr/share/locale/cs/LC_MESSAGES/libvirt.mo
/usr/share/locale/cy/LC_MESSAGES/libvirt.mo
/usr/share/locale/da/LC_MESSAGES/libvirt.mo
/usr/share/locale/de/LC_MESSAGES/libvirt.mo
/usr/share/locale/de_CH/LC_MESSAGES/libvirt.mo
/usr/share/locale/el/LC_MESSAGES/libvirt.mo
/usr/share/locale/en_GB/LC_MESSAGES/libvirt.mo
/usr/share/locale/eo/LC_MESSAGES/libvirt.mo
/usr/share/locale/es/LC_MESSAGES/libvirt.mo
/usr/share/locale/et/LC_MESSAGES/libvirt.mo
/usr/share/locale/eu/LC_MESSAGES/libvirt.mo
/usr/share/locale/fa/LC_MESSAGES/libvirt.mo
/usr/share/locale/fi/LC_MESSAGES/libvirt.mo
/usr/share/locale/fil/LC_MESSAGES/libvirt.mo
/usr/share/locale/fr/LC_MESSAGES/libvirt.mo
/usr/share/locale/fur/LC_MESSAGES/libvirt.mo
/usr/share/locale/ga/LC_MESSAGES/libvirt.mo
/usr/share/locale/gl/LC_MESSAGES/libvirt.mo
/usr/share/locale/gu/LC_MESSAGES/libvirt.mo
/usr/share/locale/he/LC_MESSAGES/libvirt.mo
/usr/share/locale/hi/LC_MESSAGES/libvirt.mo
/usr/share/locale/hr/LC_MESSAGES/libvirt.mo
/usr/share/locale/hu/LC_MESSAGES/libvirt.mo
/usr/share/locale/ia/LC_MESSAGES/libvirt.mo
/usr/share/locale/id/LC_MESSAGES/libvirt.mo
/usr/share/locale/ilo/LC_MESSAGES/libvirt.mo
/usr/share/locale/is/LC_MESSAGES/libvirt.mo
/usr/share/locale/it/LC_MESSAGES/libvirt.mo
/usr/share/locale/ja/LC_MESSAGES/libvirt.mo
/usr/share/locale/ka/LC_MESSAGES/libvirt.mo
/usr/share/locale/kk/LC_MESSAGES/libvirt.mo
/usr/share/locale/km/LC_MESSAGES/libvirt.mo
/usr/share/locale/kn/LC_MESSAGES/libvirt.mo
/usr/share/locale/ko/LC_MESSAGES/libvirt.mo
/usr/share/locale/kw/LC_MESSAGES/libvirt.mo
/usr/share/locale/kw@kkcor/LC_MESSAGES/libvirt.mo
/usr/share/locale/kw@uccor/LC_MESSAGES/libvirt.mo
/usr/share/locale/kw_GB/LC_MESSAGES/libvirt.mo
/usr/share/locale/ky/LC_MESSAGES/libvirt.mo
/usr/share/locale/lt/LC_MESSAGES/libvirt.mo
/usr/share/locale/lv/LC_MESSAGES/libvirt.mo
/usr/share/locale/mai/LC_MESSAGES/libvirt.mo
/usr/share/locale/mk/LC_MESSAGES/libvirt.mo
/usr/share/locale/ml/LC_MESSAGES/libvirt.mo
/usr/share/locale/mn/LC_MESSAGES/libvirt.mo
/usr/share/locale/mr/LC_MESSAGES/libvirt.mo
/usr/share/locale/ms/LC_MESSAGES/libvirt.mo
/usr/share/locale/my/LC_MESSAGES/libvirt.mo
/usr/share/locale/nb/LC_MESSAGES/libvirt.mo
/usr/share/locale/nds/LC_MESSAGES/libvirt.mo
/usr/share/locale/ne/LC_MESSAGES/libvirt.mo
/usr/share/locale/nl/LC_MESSAGES/libvirt.mo
/usr/share/locale/nn/LC_MESSAGES/libvirt.mo
/usr/share/locale/nso/LC_MESSAGES/libvirt.mo
/usr/share/locale/or/LC_MESSAGES/libvirt.mo
/usr/share/locale/pa/LC_MESSAGES/libvirt.mo
/usr/share/locale/pl/LC_MESSAGES/libvirt.mo
/usr/share/locale/pt/LC_MESSAGES/libvirt.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libvirt.mo
/usr/share/locale/ro/LC_MESSAGES/libvirt.mo
/usr/share/locale/ru/LC_MESSAGES/libvirt.mo
/usr/share/locale/si/LC_MESSAGES/libvirt.mo
/usr/share/locale/sk/LC_MESSAGES/libvirt.mo
/usr/share/locale/sl/LC_MESSAGES/libvirt.mo
/usr/share/locale/sq/LC_MESSAGES/libvirt.mo
/usr/share/locale/sr/LC_MESSAGES/libvirt.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libvirt.mo
/usr/share/locale/sv/LC_MESSAGES/libvirt.mo
/usr/share/locale/ta/LC_MESSAGES/libvirt.mo
/usr/share/locale/te/LC_MESSAGES/libvirt.mo
/usr/share/locale/tg/LC_MESSAGES/libvirt.mo
/usr/share/locale/th/LC_MESSAGES/libvirt.mo
/usr/share/locale/tr/LC_MESSAGES/libvirt.mo
/usr/share/locale/tw/LC_MESSAGES/libvirt.mo
/usr/share/locale/uk/LC_MESSAGES/libvirt.mo
/usr/share/locale/ur/LC_MESSAGES/libvirt.mo
/usr/share/locale/vi/LC_MESSAGES/libvirt.mo
/usr/share/locale/wba/LC_MESSAGES/libvirt.mo
/usr/share/locale/yo/LC_MESSAGES/libvirt.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libvirt.mo
/usr/share/locale/zh_HK/LC_MESSAGES/libvirt.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libvirt.mo
/usr/share/locale/zu/LC_MESSAGES/libvirt.mo
/var/lib/libvirt
References
Summary
In this tutorial we learn how to install libvirt-libs
on CentOS 8 using yum and dnf.