How do you remove vtun in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall vtun with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove vtun -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 vtun -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
x11 apps sane utils libsm dev syslinux libpackagekit qt 12 libical0
python3 minimal libjaxp1.3 java dnsmasq base libjargs java libqca2
xfonts 75dpi libzbar0 libgnome bluetooth7 rpm2cpio xsltproc
libsilcclient 1.1 3 libido 0.1 0 libchewing3 data libice dev lp solve
libgail18 libpth20 libdigest sha1 perl fakeroot libxrandr dev libgmime 2.4 2
libv4l 0 ttf dejavu extra xfonts scalable libexpat1 dev libiw dev
libwebkit 1.0 common libxerces2 java libxdamage dev libgtk vnc 1.0 0
pkg config libnet dbus perl libxine1 x libcaca0 libmeanwhile1 libgucharmap7
libgnomecanvas2 0 libsamplerate0 libkpathsea5 libevdocument2
libpthread stubs0 libicu42 gnome games common libavc1394 0 esound clients
libbonobo2 common gnome mime data libmodplug0c2 zenity libpangomm 1.4 1
scim bridge client gtk libotr2 libtie ixhash perl pulseaudio libspectre1
libcairo perl libxnee0 libsvga1 libgtk2 perl libgnome window settings1
libecal1.2 7 libbeagle1 libsane libxfixes dev libgtkmm 2.4 1c2a g++ 4.4
libqt4 test icedtea netx azureus libibus1 ttf dustin libzend framework php
libjack0 libnspr4 dev ibus gtk libxcb render util0 dev
libboost program options1.40.0 libnm util1 libax25 scim modules table
libxcb xv0 libbonobo2 0 phonon language pack zh hant base libevview2
libpolkit gtk 1 0 libgupnp 1.0 3 nvidia current modaliases
x11proto xinerama dev mobile broadband provider info libpcap0.8
x11proto render dev libindicate gtk2 oxygen icon theme libxi dev
xmms2 plugin pulse java common libgdata google1.2 1 librpmio0
xubuntu plymouth theme librpm0 pulseaudio module x11 guile 1.8 libs
libmagick++2 rpm common icedtea 6 jre cacao libedata cal1.2 6
libxnconfig9.0.5 libpixman 1 dev libnspr4 0d libsqlite0 lxde common
libdirectfb extra java wrappers libcommons cli java default jre headless
scim znc tcl g++ plymouth label libfontconfig1 dev pidgin data libscim8c2a
openjdk 6 jre lib firefox locale zh hans firefox locale zh hant python3.1
libnss3 dev libgadu3 xorg docs core x11proto kb dev x11proto randr dev
libwavpack1 libqt4 opengl libxinerama dev gcc 4.4 avahi utils
x11 session utils libpango perl cpu checker libglibmm 2.4 1c2a libxosd2
pcmanfm openjdk 6 jre headless xtrans dev libatk1.0 dev libindicate4
libakonadiprivate1 libdevkit power gobject1 libsexy2 libchewing3
libmenu cache1 libbabl 0.0 0 libgegl 0.0 0 libffi5 libiec61883 0 libelf1
libcairomm 1.0 1 libgdata common libgtkspell0 xubuntu artwork libqt4 help
libclutter gtk 0.10 0 blt x11proto input dev xmms2 plugin id3v2 libgp11 0
rtkit libpulse browse0 libgcr0 libgnome desktop 2 17 libexempi3
x11proto fixes dev gnome extra icons cnee xubuntu wallpapers gcc
libedataserverui1.2 8 gdb libsilc 1.1 2 xpdf reader cvs
linux headers 2.6.32 74 libggi2 pulseaudio esound compat libesd0
linux headers 2.6.32 74 generic libavahi ui0 iputils arping
zend framework bin libedata book1.2 2 libgii1 phonon backend xine
x11 xfs utils ttf arphic uming libtelepathy glib0 x11proto xext dev
libcolamd2.7.1 libnm glib2 kdepimlibs data indicator messages
xulrunner 1.9.2 modemmanager tzdata java apport symptoms libxext dev
libpulse mainloop glib0 libegroupwise1.2 13 icoutils libgtop2 common libaa1
libclutter 1.0 0 libspeexdsp1 libswt gtk 3.5 jni libieee1284 3
scim gtk2 immodule znc perl x11proto damage dev libgnome2 canvas perl
language support fonts zh hans language support fonts zh hant
linux headers generic rsync manpages libpoppler glib4 libnotify dev
libglib2.0 dev libzookeeper java libxine1 console libswt cairo gtk 3.5 jni
zlib1g dev lesstif2 liblzo2 2 desktop base libcairo2 dev xfonts 100dpi
esound common lxmenu data xmms2 plugin alsa im switch libglib perl
liberror perl libzzip 0 13 tcl libpango1.0 dev libfreetype6 dev libshout3
libdv4 build essential libxau dev dpkg dev rpm libgii1 target x librpmbuild0
libxmmsclient6 libfs6 scim bridge agent gstreamer0.10 x libgdata6
fglrx modaliases libtotem plparser17 nvidia 96 modaliases tcl8.5
libqt4 assistant pinyin database libgtop2 7 xmms2 core libgimp2.0
gnumeric common libxine1 misc plugins python3 ttf arphic bsmi00lp
liblircclient0 libgnomeui common xz utils synaptic libwebkit 1.0 2
libgupnp igd 1.0 2 ibus pinyin db open phrase language pack zh hans base
gnome desktop data python3.1 minimal libc ares2 libc6 dev
libpackagekit glib2 12 tk8.5 libnautilus extension1 liblua5.1 0
libxcomposite dev libcamel1.2 14 libxcb render0 dev app install data
libxrender dev xmms2 plugin vorbis liboobs 1 4 libxmmsclient glib1 libmad0
libatspi1.0 0 libxml xpath perl xorg lxpanel ttf arphic gbsn00lp libgpgme11
libart 2.0 2 evolution data server common libid3tag0 ca certificates java
html2text libcommons lang java libzephyr4 xmms2 plugin mad libxft dev
libx11 dev libqt3 mt x11proto composite dev linux libc dev patch
manpages dev xvfb ttf arphic ukai libgnome menu2 language pack zh hans
language pack zh hant vzquota libebackend1.2 0 info dvd+rw tools
libggi target x libqt4 scripttools libavahi gobject0 libdbus 1 dev
libswt gtk 3.5 java system tools backends libc dev bin libnice0
murrine themes libxcb1 dev libimlib2 libxcb shape0 gstreamer0.10 nice
libgtk2.0 dev libmail sendmail perl libbonoboui2 common libssh 4 gimp data
libjs jquery libxcb shm0 libdirectfb dev binutils kdebase runtime data
libjpeg62 dev znc extra libdbus glib 1 dev nvidia 173 modaliases
openjdk 6 jre libsys hostname long perl libmpcdec3 libpam gnome keyring
libgdata1.2 1 liblog4j1.2 java openbsd inetd libjline java bcmwl modaliases
gnome icon theme xmms2 icon libnet1 libnss3 1d x11proto core dev
xmms2 client cli libxml twig perl libgssdp 1.0 2 xmms2 client nycli
libxine1 bin libxdmcp dev libpthread stubs0 dev libsysfs dev
pulseaudio utils libxcursor dev gnumeric doc libedataserver1.2 11
libgnomecanvas2 common xpdf common libasound2 plugins scim modules socket
libstdc++6 4.4 dev libebook1.2 9 libswt mozilla gtk 3.5 jni libxine1
libaudiofile0 libpng12 dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
vtun
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 299kB 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 ... 125604 files and directories currently installed.)
Removing vtun ...
Processing triggers for man db ...
Processing triggers for ureadahead ...
root@hiox:~