How To Install net | 您所在的位置:网站首页 › ubuntu离线安装nettools › How To Install net |
How To Install net-tools on Ubuntu 20.04In this tutorial we learn how to install net-tools on Ubuntu 20.04. net-tools is NET-3 networking toolkitIntroduction In this tutorial we learn how to install net-tools on Ubuntu 20.04. What is net-toolsnet-tools is: 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”. Task: ubuntukylin-desktop There are three methods to install net-tools 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 net-tools Using apt-getUpdate apt database with apt-get using the following command. sudo apt-get updateAfter updating apt database, We can install net-tools using apt-get by running the following command: sudo apt-get -y install net-tools Install net-tools Using aptUpdate apt database with apt using the following command. sudo apt updateAfter updating apt database, We can install net-tools using apt by running the following command: sudo apt -y install net-tools Install net-tools Using aptitudeIf 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 updateAfter updating apt database, We can install net-tools using aptitude by running the following command: sudo aptitude -y install net-tools How To Uninstall net-tools on Ubuntu 20.04To uninstall only the net-tools package we can use the following command: sudo apt-get remove net-tools Uninstall net-tools And Its DependenciesTo uninstall net-tools and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below: sudo apt-get -y autoremove net-tools Remove net-tools Configurations and DataTo remove net-tools configuration and data from Ubuntu 20.04 we can use the following command: sudo apt-get -y purge net-tools Remove net-tools configuration, data, and all of its dependenciesWe can use the following command to remove net-tools configurations, data and all of its dependencies, we can use the following command: sudo apt-get -y autoremove --purge net-tools Referencesnet-tools websitenet-tools on packages.ubuntu.comSummaryIn this tutorial we learn how to install net-tools package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude. |
CopyRight 2018-2019 实验室设备网 版权所有 |