How do you remove xar in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall xar with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove xar -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 xar -y
Reading package lists...
Building dependency tree...
Reading state information...
Package xar is not installed, so not removed
The following packages were automatically installed and are no longer required:
x11 apps python packagekit libsm dev libpackagekit qt 12 python3 minimal
libjaxp1.3 java dnsmasq base libjargs java libqca2 xfonts 75dpi libzbar0
libgnome bluetooth7 rpm2cpio xsltproc libchewing3 data libice dev libpth20
fakeroot libxrandr dev xfonts scalable libexpat1 dev libiw dev
libxerces2 java libxdamage dev pkg config libxine1 x libpthread stubs0
libmodplug0c2 scim bridge client gtk libxnee0 libsvga1 libxfixes dev g++ 4.4
libqt4 test libibus1 libzend framework php libnspr4 dev ibus gtk
libxcb render util0 dev libboost program options1.40.0 libnm util1
scim modules table libxcb xv0 phonon language pack zh hant base
x11proto xinerama dev mobile broadband provider info libpcap0.8
x11proto render dev oxygen icon theme libxi dev xmms2 plugin pulse
java common librpmio0 librpm0 libmagick++2 rpm common 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 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
libqt4 opengl libxinerama dev gcc 4.4 x11 session utils libxosd2 pcmanfm
openjdk 6 jre headless xtrans dev libatk1.0 dev libakonadiprivate1
libchewing3 libmenu cache1 libelf1 libqt4 help python qt4 blt
x11proto input dev xmms2 plugin id3v2 x11proto fixes dev python sip 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
phonon backend xine x11 xfs utils ttf arphic uming x11proto xext dev
libnm glib2 kdepimlibs data modemmanager tzdata java libxext dev icoutils
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 libxine1 console zlib1g dev lesstif2 desktop base
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 libfs6
scim bridge agent packagekit tcl8.5 libqt4 assistant pinyin database
xmms2 core libxine1 misc plugins python3 ttf arphic bsmi00lp xz utils
ibus pinyin db open phrase language pack zh hans base python3.1 minimal
libc ares2 libc6 dev libpackagekit glib2 12 tk8.5 liblua5.1 0
libxcomposite dev libxcb render0 dev libxrender dev xmms2 plugin vorbis
libxmmsclient glib1 libmad0 xorg lxpanel ttf arphic gbsn00lp libgpgme11
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 libqt4 scripttools libdbus 1 dev
libc dev bin libxcb1 dev libxcb shape0 libgtk2.0 dev libmail sendmail perl
libssh 4 libxcb shm0 libdirectfb dev binutils kdebase runtime data
libjpeg62 dev znc extra libdbus glib 1 dev libsys hostname long perl
libmpcdec3 liblog4j1.2 java openbsd inetd libjline java xmms2 icon libnet1
x11proto core dev xmms2 client cli xmms2 client nycli gnome doc utils
libxine1 bin libxdmcp dev libpthread stubs0 dev libsysfs dev libxcursor dev
wimpiggy xpdf common scim modules socket libstdc++6 4.4 dev
packagekit backend apt libxine1 libpng12 dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@hiox:~