How do you remove telnetd in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall telnetd with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove telnetd -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 telnetd -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libsm dev python3 minimal libjaxp1.3 java dnsmasq base libjargs java
xfonts 75dpi libzbar0 libgnome bluetooth7 rpm2cpio xsltproc libchewing3 data
libice dev fakeroot libxrandr dev xfonts scalable libexpat1 dev libiw dev
libxerces2 java debhelper libxdamage dev pkg config libpthread stubs0
scim bridge client gtk libxnee0 libsvga1 libxfixes dev g++ 4.4 libibus1
libzend framework php libnspr4 dev ibus gtk libxcb render util0 dev
scim modules table language pack zh hant base x11proto xinerama dev
mobile broadband provider info libpcap0.8 x11proto render dev libxi dev
xmms2 plugin pulse java common librpmio0 librpm0 libmagick++2 rpm common
po debconf icedtea 6 jre cacao libxnconfig9.0.5 libpixman 1 dev libsqlite0
lxde common libdirectfb extra java wrappers default jre headless scim
znc tcl g++ libfontconfig1 dev libscim8c2a intltool debian openjdk 6 jre lib
firefox locale zh hans firefox locale zh hant python3.1 libnss3 dev
xorg docs core x11proto kb dev x11proto randr dev libxinerama dev gcc 4.4
libxosd2 pcmanfm openjdk 6 jre headless xtrans dev libatk1.0 dev libchewing3
libmenu cache1 libelf1 gettext blt x11proto input dev xmms2 plugin id3v2
x11proto fixes dev cnee gcc xpdf reader cvs linux headers 2.6.32 74 libggi2
linux headers 2.6.32 74 generic iputils arping zend framework bin libgii1
ttf arphic uming x11proto xext dev modemmanager tzdata java libxext dev
xfonts wqy scim gtk2 immodule znc perl x11proto damage dev
language support fonts zh hans language support fonts zh hant
linux headers generic manpages libnotify dev libglib2.0 dev
libzookeeper java zlib1g dev lesstif2 libcairo2 dev xfonts 100dpi
lxmenu data xmms2 plugin alsa im switch libzzip 0 13 libpango1.0 dev
libfreetype6 dev build essential libxau dev dpkg dev rpm libgii1 target x
librpmbuild0 libxmmsclient6 scim bridge agent tcl8.5 pinyin database
xmms2 core python3 ttf arphic bsmi00lp xz utils ibus pinyin db open phrase
language pack zh hans base python3.1 minimal libc ares2 libc6 dev tk8.5
liblua5.1 0 libxcomposite dev libxcb render0 dev libxrender dev
xmms2 plugin vorbis libxmmsclient glib1 libmad0 lxpanel ttf arphic gbsn00lp
ca certificates java html2text xmms2 plugin mad libxft dev libx11 dev
ttf wqy zenhei libqt3 mt x11proto composite dev linux libc dev patch
manpages dev xvfb ttf arphic ukai language pack zh hans
language pack zh hant info libggi target x libdbus 1 dev libc dev bin
libxcb1 dev libgtk2.0 dev libmail sendmail perl libdirectfb dev binutils
libjpeg62 dev znc extra libdbus glib 1 dev libsys hostname long perl
liblog4j1.2 java openbsd inetd libjline java xmms2 icon libnet1
x11proto core dev xmms2 client cli xmms2 client nycli gnome doc utils
libxdmcp dev libpthread stubs0 dev libsysfs dev libxcursor dev wimpiggy
xpdf common scim modules socket libstdc++6 4.4 dev libpng12 dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
telnetd
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 172kB disk space will be freed.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 138549 files and directories currently installed.)
Removing telnetd ...
groupdel: group 'telnetd' does not exist
Processing triggers for man db ...
root@hiox:~