How do you install net tools in Linux using apt-get command?
Here is a tutorial to learn how to install net tools using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install net tools -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of net tools if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install net tools -y
Reading package lists...
Building dependency tree...
Reading state information...
net tools is already the newest version.
The following packages were automatically installed and are no longer required:
libts 0.0 0 ttf dejavu extra xfonts encodings ttf dejavu core librrd4
libcairo2 xfonts utils libthai data libdirectfb 1.2 0 libdatrie1 fontconfig
libxfont1 libpango1.0 common libpixman 1 0 libxft2 fontconfig config
libevent 1.4 2 libthai0 libxrender1 x ttcidfont conf libnfsidmap2
libfontenc1 ttf dejavu tsconf x11 common libsysfs2 librpcsecgss3
libfontconfig1 libpango1.0 0 libxcb render0 libgssglue1 portmap defoma
libxcb render util0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.