How To Install libvirt-wireshark on Ubuntu 20.04

In this tutorial we learn how to install libvirt-wireshark on Ubuntu 20.04. libvirt-wireshark is Wireshark dissector for the libvirt protocol Wireshark dissector for the libvirt protocol Wireshark dissector for the libvirt protocol

Introduction

In this tutorial we learn how to install libvirt-wireshark on Ubuntu 20.04.

What is libvirt-wireshark

libvirt-wireshark is:

Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API for different virtualization mechanisms. It currently supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.

This package contains the wireshark dissector.

Package: libvirt-wireshark Architecture: amd64 Version: 6.0.0-0ubuntu8.3 Priority: optional Section: universe/libs Source: libvirt Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Libvirt Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 949 Depends: libc6 (>= 2.4) Filename: pool/universe/libv/libvirt/libvirt-wireshark_6.0.0-0ubuntu8.3_amd64.deb Size: 97532 MD5sum: 75dd12fa9c9fff9fd0dcd91337a1597f SHA1: 7df93d1fda55a3b30839e80a88262f148eb303f3 SHA256: 33881d12366f2070a10c3cf609b193a2afce476ed01a61bcb2bd290f7a4beea5 SHA512: 358c2177dea40c18676f7c1f8b00622bd8d149b1dc4b645c82ea127f0cd2ca51d34cba5565b5533696b5ab7d405a6ebf56639996e4084988a2e26015e91068b9 Homepage: https://libvirt.org/ Description-en: Wireshark dissector for the libvirt protocol Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API for different virtualization mechanisms. It currently supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.

This package contains the wireshark dissector.

Package: libvirt-wireshark Architecture: amd64 Version: 6.0.0-0ubuntu8 Priority: optional Section: universe/libs Source: libvirt Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Libvirt Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 949 Depends: libc6 (>= 2.4) Filename: pool/universe/libv/libvirt/libvirt-wireshark_6.0.0-0ubuntu8_amd64.deb Size: 101420 MD5sum: 71829f298d8714c98cf596b7d0bfa057 SHA1: 4bf716cba2e5e39a6033b69ae902feb477c0bab9 SHA256: ce3851aa87e53c2f5211f643bf1b91f085583ae518f6f980b6a493b5adfc9149 Homepage: https://libvirt.org/ Description-en: Wireshark dissector for the libvirt protocol Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API for different virtualization mechanisms. It currently supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.

This package contains the wireshark dissector.

There are three methods to install libvirt-wireshark on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvirt-wireshark Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libvirt-wireshark using apt-get by running the following command:

sudo apt-get -y install libvirt-wireshark

Install libvirt-wireshark Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libvirt-wireshark using apt by running the following command:

sudo apt -y install libvirt-wireshark

Install libvirt-wireshark Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libvirt-wireshark using aptitude by running the following command:

sudo aptitude -y install libvirt-wireshark

How To Uninstall libvirt-wireshark on Ubuntu 20.04

To uninstall only the libvirt-wireshark package we can use the following command:

sudo apt-get remove libvirt-wireshark

Uninstall libvirt-wireshark And Its Dependencies

To uninstall libvirt-wireshark and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libvirt-wireshark

Remove libvirt-wireshark Configurations and Data

To remove libvirt-wireshark configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libvirt-wireshark

Remove libvirt-wireshark configuration, data, and all of its dependencies

We can use the following command to remove libvirt-wireshark configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libvirt-wireshark

References

Summary

In this tutorial we learn how to install libvirt-wireshark package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.