Install net-tools on Ubuntu: sudo apt-get install net-tools

Learn how to install net-tools with the command sudo apt-get install net-tools on Ubuntus.


 

Ads

Quick installation of net-tools:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: net-tools

Ater updaing the OS run following command to install the packae:

	sudo apt-get install net-tools

Package Details

Package:net-tools
Version:1.60-24.1ubuntu2
Maintainer:Ubuntu Developers
Home page:http://net-tools.berlios.de/
Description:The NET-3 networking toolkit This package includes the important tools for controlling the network subsystem of the Linux kernel. This includes arp, ifconfig, netstat, rarp, nameif and route. Additionally, this package contains utilities relating to particular network hardware types (plipconfig, slattach, mii-tool) and advanced aspects of IP configuration (iptunnel, ipmaddr). . In the upstream package 'hostname' and friends are included. Those are not installed by this package, since there is a special "hostname*.deb". Homepage: http://net-tools.berlios.de/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:net

How to install net-tools on Ubuntu 12.04 LTS?

Install net-tools on Ubuntu: sudo apt-get install net-tools

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If net-tools is not installed on your compter then the command 'dpkg -L net-tools' will give followin error.


Installing net-tools:

After system update use the following command to install net-tools:

sudo apt-get install net-tools

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove net-tools from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the net-tools from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the net-tools following command is used:

sudo apt-get remove  net-tools

Following command is used to remove the net-tools package along with its dependencies:

sudo apt-get remove --auto-remove net-tools

This will remove net-tools and all its dependent packages which is no longer needed in the system.

Completely removing net-tools with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge net-tools

or you can use following command also:

sudo apt-get purge --auto-remove net-tools

Above command will remove all the configuration files and data associated with net-tools package. You can can't recover the delete data, so, use this command with care.