How To Install libpci3 on Ubuntu 20.04

In this tutorial we learn how to install libpci3 on Ubuntu 20.04. libpci3 is PCI utilities (shared library) PCI utilities (shared library)

Introduction

In this tutorial we learn how to install libpci3 on Ubuntu 20.04.

What is libpci3

libpci3 is:

This package contains the libpci shared library files.

The libpci library provides portable access to configuration registers of devices connected to the PCI bus. Task: standard

Package: libpci3 Architecture: amd64 Version: 1:3.6.4-1 Multi-Arch: same Priority: standard Section: libs Source: pciutils Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Guillem Jover [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 117 Depends: libc6 (>= 2.14), libudev1 (>= 196), zlib1g (>= 1:1.1.4), pci.ids (>= 0.0~2019.11.10-2) Filename: pool/main/p/pciutils/libpci3_3.6.4-1_amd64.deb Size: 26844 MD5sum: ddceeb6c1443fb534d50dc08969a970e SHA1: d68953ba6e2aa9c3f67e0ab15128454cec220b9c SHA256: b04bdcfe21e4931a8b6f641d60b7babf7562e8d3f705a14c7d800023dd378efd Homepage: https://mj.ucw.cz/sw/pciutils/ Description-en: PCI utilities (shared library) This package contains the libpci shared library files.

The libpci library provides portable access to configuration registers of devices connected to the PCI bus. Task: standard

There are three methods to install libpci3 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 libpci3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libpci3

Install libpci3 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpci3 using apt by running the following command:

sudo apt -y install libpci3

Install libpci3 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 libpci3 using aptitude by running the following command:

sudo aptitude -y install libpci3

How To Uninstall libpci3 on Ubuntu 20.04

To uninstall only the libpci3 package we can use the following command:

sudo apt-get remove libpci3

Uninstall libpci3 And Its Dependencies

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

sudo apt-get -y autoremove libpci3

Remove libpci3 Configurations and Data

To remove libpci3 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libpci3

Remove libpci3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpci3

References

Summary

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