How do you remove net tools in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall net tools with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove net tools -y
Step 2: The command reads the package lists and proceeds with the uninstallation.
Result of the Command Execution shown below:
root@hiox:~ apt-get remove net tools -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libedit2 libts 0.0 0 ttf dejavu extra libwrap0 ttf dejavu core xauth librrd4
gettext base libcairo2 libbsd0 libxmuu1 libfreetype6 libthai data tcpd
libdirectfb 1.2 0 libdatrie1 xkb data fontconfig libxfont1
libpango1.0 common libpixman 1 0 openssh client console terminus libxft2
fontconfig config libevent 1.4 2 libthai0 liblockfile1 libxrender1 ucf
os prober libnfsidmap2 libfontenc1 ttf dejavu lockfile progs tsconf
libsysfs2 librpcsecgss3 libfontconfig1 libpango1.0 0 grub common
libxcb render0 libgssglue1 libxext6 defoma libxcb render util0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
e2fslibs openssh client
Suggested packages:
ssh askpass libpam ssh keychain openssh blacklist openssh blacklist extra
The following packages will be REMOVED:
console setup consolekit cron dbus dmsetup e2fsprogs grub hostname ifupdown
initramfs tools initscripts kbd linux image 2.6.32 33 virtual
linux image virtual logrotate module init tools mountall net tools netbase
ntpdate openssh server plymouth plymouth theme ubuntu text portmap procps
rsyslog ssh ubuntu minimal udev upstart ureadahead util linux
x ttcidfont conf x11 common xfonts encodings xfonts utils
The following packages will be upgraded:
e2fslibs openssh client
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
e2fsprogs util linux (due to e2fsprogs) hostname upstart (due to hostname)
2 upgraded, 0 newly installed, 36 to remove and 90 not upgraded.
Need to get 948kB of archives.
After this operation, 59.3MB disk space will be freed.
root@hiox:~