How to Install and Uninstall python-libvirt Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 23,2024

1. Install "python-libvirt" package

Please follow the step by step instructions below to install python-libvirt on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-libvirt

2. Uninstall "python-libvirt" package

This tutorial shows how to uninstall python-libvirt on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python-libvirt $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-libvirt package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-libvirt
Architecture: amd64
Version: 4.0.0-1
Priority: optional
Section: devel
Source: libvirt-python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Guido Günther
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 672
Depends: libc6 (>= 2.4), libvirt0 (>= 3.4.0), python (<< 2.8), python (>= 2.7~), python2.7, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Recommends: libvirt-daemon
Breaks: virtinst (<= 0.600.1-3+deb7u1)
Filename: pool/main/libv/libvirt-python/python-libvirt_4.0.0-1_amd64.deb
Size: 120284
MD5sum: 43f7a029750ad41ac42240d490346a07
SHA1: 9d7540528a1b34227f599dc83dc4868bdb642146
SHA256: 63df8eeedd58f52ef1525a3e2a6bd09ea8c2d28dbd3909240224537618140079
Homepage: http://libvirt.org
Description: libvirt Python bindings
Description-md5: 7419bd2c6dc2393084de876caaf7ce57
Python-Version: 2.7
Supported: 5y