How To Install nictools-pci on Ubuntu 18.04

In this tutorial we learn how to install nictools-pci on Ubuntu 18.04. nictools-pci is Diagnostic tools for many PCI Ethernet cards

Introduction

In this tutorial we learn how to install nictools-pci on Ubuntu 18.04.

What is nictools-pci

nictools-pci is:

These tools can help you to diagnose problems with your Ethernet cards or - in some cases - give those cards the final hint, to work in your network.

alta-diag : Diagnostic and setup for the Sundance “Alta” NIC eepro100-diag : Diagnostic and setup for the Intel EEPro100 Ethernet cards epic-diag : Diagnostics and EEPROM setup for the SMC EPIC-100 myson-diag : Diagnostic and setup for the Myson mtd803 Ethernet chip natsemi-diag : Diagnostic and setup for the NatSemi DP83815 Ethernet chip ne2k-pci-diag : Diagnostics and EEPROM setup for PCI NE2000 clones ns820-diag : Diagnostic and setup for the NatSemi DP83820 Ethernet chip pcnet-diag : Diagnostic and setup for the AMD PCnet/PCI Ethernet chip rtl8139-diag : Diagnostics and EEPROM setup for RealTek RTL8129/8139 chips starfire-diag : Diagnostic and setup for the Adaptec Starfire DuraLAN tulip-diag : Diagnostic and setup for the Digital DC21x4* Ethernet chips via-diag : Diagnostic and setup for the VIA Rhine vt86c100 and vt3043 Ethernet chips vortex-diag : Diagnostics and EEPROM setup for the 3Com Vortex series winbond-diag : Diagnostic and setup for the Winbond w89c840 Ethernet cards yellowfin-diag: Diagnostic and setup for the Packet Engines Yellowfin chips pci-config : Show and manipulate PCI configuration space

There are three methods to install nictools-pci on Ubuntu 18.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 nictools-pci Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nictools-pci

Install nictools-pci Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nictools-pci

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

sudo aptitude -y install nictools-pci

How To Uninstall nictools-pci on Ubuntu 18.04

To uninstall only the nictools-pci package we can use the following command:

sudo apt-get remove nictools-pci

Uninstall nictools-pci And Its Dependencies

To uninstall nictools-pci and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove nictools-pci

Remove nictools-pci Configurations and Data

To remove nictools-pci configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge nictools-pci

Remove nictools-pci configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nictools-pci

References

Summary

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