apt-get remove dpkg

How do you remove dpkg in Linux / UNIX using apt-get command?

How to Uninstall dpkg in Linux with apt-get?

apt-get remove dpkg -y

Remove Dpkg  Remove Command

Here is the tutorial to learn how to uninstall dpkg with apt-get command.

Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove dpkg -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 dpkg -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libgtk2.0 common libgsf 1 common libgnomeprintui2.2 common
libkonq5 templates gnome js common hicolor icon theme ttf dejavu extra
libwebkit 1.0 common libpthread stubs0 libbonobo2 common gnome mime data
iso codes bzflag data liblouis data ddccontrol db libvte common
nvidia current modaliases oxygen icon theme rpm common ttf opensymbol
libjs prototype evolution common libthai data xorg docs core x11proto kb dev
chromium bsu data libgtkhtml editor common cpu checker k3b data xkb data
libavahi common data libgdata common xbitmaps x11proto input dev cups common
shared desktop ontologies bogofilter common libjs scriptaculous
console terminus kdepimlibs data apport symptoms libgtop2 common
libgnomeprint2.2 data manpages gir1.0 freedesktop kstars data proj data
esound common xdg utils fglrx modaliases nvidia 96 modaliases mime support
ttf dejavu dmz cursor theme libgnomeui common wwwconfig common
gnome desktop data libwnck common app install data
evolution data server common kdelibs5 data quassel data hal info
linux libc dev manpages dev kdebase data libdjvulibre text
libbonoboui2 common libjs jquery kdebase runtime data nvidia 173 modaliases
mysql common bcmwl modaliases x11proto core dev libpthread stubs0 dev
libgnomecanvas2 common libgtksourceview2.0 common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
adduser alsa base alsa utils anacron apache2 apache2 mpm prefork
apache2 utils apache2.2 bin apache2.2 common apparmor apport apt apt utils
apt xapian index aptitude apturl common aspell aspell en authbind
avahi autoipd base files base passwd bash bc bind9 host binfmt support
binutils blt bluez alsa bluez gstreamer bogofilter bogofilter bdb brltty
bsd mailx bsdmainutils bsdutils btnx config busybox initramfs bzflag client
bzflag server bzip2 ca certificates calibre bin cdparanoia cdrdao checkbox
chromium bsu clamav base clamav freshclam cli common cloud utils cmake data
compiz core computer janitor console setup consolekit coreutils cpio cpp
cpp 4.4 cron cups bsd cups client dash dbconfig common dbus dbus x11 debconf
debconf i18n debianutils defoma desktop file utils desktop profiles
dhcp3 client dhcp3 common dictionaries common diffutils dmsetup dnsmasq base
docbook xml dpkg dpkg dev dvd+rw tools dwm e2fslibs e2fsprogs
edubuntu menueditor eject emacsen common erlang base erlang crypto
erlang inets erlang mnesia erlang public key erlang runtime tools erlang ssl
erlang syntax tools erlang xmerl esound clients euca2ools exiv2 fakeroot
file findutils fontconfig fontconfig config foomatic filters freeglut3
fuse utils fxload g++ g++ 4.4 gamin gawk gcc gcc 4.4 gcompris data
gcompris sound en gconf2 common gdb gdebi core genisoimage ghostscript
gir1.0 atk 1.0 gir1.0 glib 2.0 gir1.0 gstreamer 0.10 gnome doc utils gnupg
gnupg agent gpgsm gpgv grep groff base gsfonts gstreamer0.10 alsa
gstreamer0.10 gnonlin gstreamer0.10 plugins base
gstreamer0.10 plugins base apps gstreamer0.10 pulseaudio gstreamer0.10 tools
gzip hdparm hostname hpijs hplip data hunspell en us ibus qt4 icoutils
ifupdown imagemagick info initramfs tools initramfs tools bin initscripts
inputattach insserv install info iproute iptables iputils arping
iputils ping italc client kbd ksysguardd kubuntu docs language pack en
language pack en base language pack gnome en language pack gnome en base
language selector common launchpad integration lesstif2 lftp lib32gcc1
lib32gomp1 liba52 0.7.4 libaa1 libabstract ruby1.8 libacl1 libalut0
libanthy0 libao2 libapache2 mod php5 libapr1 libaprutil1
libaprutil1 dbd sqlite3 libaprutil1 ldap libarchive1 libart 2.0 2
libart2.0 cil libasound2 libasound2 plugins libaspell15 libass4 libatasmart4
libatk1.0 0 libatk1.0 data libatlas3gf base libatm1 libattica0 libattr1
libaudio2 libaudiofile0 libavahi client3 libavahi common3 libavahi core6
libavahi glib1 libavahi gobject0 libavc1394 0 libavcodec52 libavformat52
libavutil49 libbind9 60 libblas3gf libblkid1 libbluetooth3
libboost program options1.40.0 libboost python1.40.0 libbrlapi0.5 libbsd0
libbz2 1.0 libc dev bin libc6 libc6 dev libc6 i386 libcaca0 libcairo perl
libcairo2 libcairomm 1.0 1 libcanberra0 libcap2 libcddb2 libcdio cdda0
libcdio paranoia0 libcdio10 libcdparanoia0 libcfitsio3 libchef ruby
libchef ruby1.8 libck connector0 libclamav6 libclass singleton perl libcln6
libclone perl libclucene0ldbl libcolamd2.7.1 libcomerr2 libcommon sense perl
libcompizconfig0 libcompress bzip2 perl libcompress raw zlib perl
libconvert binhex perl libconvert tnef perl libconvert uulib perl
libcpan checksums perl libcpan inject perl libcroco3
libcrypt openssl bignum perl libcrypt openssl rsa perl libcrypt ssleay perl
libcsound64 5.2 libcups2 libcupscgi1 libcupsdriver1 libcupsimage2
libcupsmime1 libcupsppdc1 libcurl3 libcwidget3 libcwiid1 libdaemon0
libdata compare perl libdatetime locale perl libdatetime perl
libdatetime timezone perl libdatrie1 libdb4.6 libdb4.7 libdb4.7 java
libdb4.8 libdbd mysql perl libdbd pg perl libdbi perl libdbus 1 3
libdbus glib 1 2 libdbusmenu glib1 libdbusmenu qt2 libdc1394 22 libdca0
libdcmtk1 libddccontrol0 libdecoration0 libdevel stacktrace perl
libdevel symdump perl libdevkit power gobject1 libdevmapper1.02.1
libdigest hmac perl libdigest sha1 perl libdirectfb 1.2 0 libdjvulibre21
libdmraid1.0.0.rc16 libdns64 libdotconf1.0 libdrm intel1 libdrm nouveau1
libdrm radeon1 libdrm2 libdshconfig1 libdspam7 libdv4 libdvbpsi5 libdvdnav4
libdvdread4 libebml0 libedit2 libeggdbus 1 0 libelf1 libenca0 libenchant1c2a
libept0 libepub0 liberror perl liberubis ruby liberubis ruby1.8 libesd0
libevent 1.4 2 libexempi3 libexif12 libexiv2 6 libexpat1 libextlib ruby
libextlib ruby1.8 libfaad2 libfcgi perl libfcgi0ldbl libffi5
libfile chmod perl libfile copy recursive perl libfile find rule perl
libfile mmagic perl libfile pushd perl libfile slurp perl libfile tail perl
libfile which perl libfilesys df perl libflac++6 libflac8 libfli1
libflickrnet2.2 cil libfltk1.1 libfluidsynth1 libfont afm perl
libfontconfig1 libfontenc1 libforms1 libfreetype6 libfreezethaw perl
libfribidi0 libfs6 libfuse2 libgadu3 libgamin0 libgc1c2 libgcc1
libgcj common libgconf2 4 libgcrypt11 libgd gd2 perl libgd graph perl
libgd graph3d perl libgd text perl libgd2 xpm libgdata google1.2 1
libgdata1.2 1 libgdbm3 libgdiplus libgeoip1 libgeos 3.1.0 libgeos c1
libgfortran3 libgif4 libgirepository1.0 0 libgl1 mesa dri libgl1 mesa glx
libgl2ps0 libglade2 0 libglc0 libglib perl libglib2.0 0 libglib2.0 cil
libglib2.0 data libglibmm 2.4 1c2a libglitz glx1 libglitz1 libglpng
libglu1 mesa libgmime 2.0 2a libgmime 2.4 2 libgmime2.4 cil libgmp3c2
libgnet2.0 0 libgnome keyring0 libgnome keyring1.0 cil libgnome menu2
libgnomecups1.0 1 libgnutls26 libgomp1 libgp11 0 libgpg error0 libgpgme11
libgphoto2 2 libgphoto2 port0 libgpm2 libgraphite3 libgs8 libgsf 1 114
libgsl0ldbl libgsm1 libgssapi krb5 2 libgssdp 1.0 2
libgstreamer plugins base0.10 0 libgstreamer0.10 0 libgtk2.0 0 libgtk2.0 bin
libgtop2 7 libgudev 1.0 0 libgupnp 1.0 3 libgupnp igd 1.0 2 libgutenprint2
libgvfscommon0 libhal storage1 libhal1 libhdf4 0 libhdf4 0 alt
libhdf5 openmpi 1.8.4 libhmac ruby1.8 libhpmud0 libhtml format perl
libhtml parser perl libhtml tagset perl libhtml template perl
libhtml tree perl libhunspell 1.2 0 libhyphen0 libibus qt1 libibus1
libibverbs1 libical0 libice dev libice6 libicu42 libid3 3.8.3c2a libid3tag0
libidl0 libidn11 libiec61883 0 libieee1284 3 libijs 0.35 libilmbase6
libimobiledevice0 libindi0 libindicate qt0 libindicate4 libintl perl
libio multiplex perl libio pty perl libio socket inet6 perl
libio socket ssl perl libio stringy perl libiodbc2 libipc run perl
libipc sharelite perl libisc60 libisccc60 libisccfg60 libiso9660 7 libitalc
libiw30 libjack0 libjasper1 libjpeg62 libjson glib 1.0 0 libjson perl
libjson ruby libjson ruby1.8 libjson xs perl libk5crypto3 libkephal4
libkeyutils1 libkpathsea5 libkrb5 3 libkrb5support0 libksba8 liblapack3gf
liblash2 liblcms1 libldap 2.4 2 liblircclient0 liblist moreutils perl
libllvm2.7 liblo7 liblocale gettext perl liblockfile1 liblog dispatch perl
liblog log4perl perl libloudmouth1 0 liblouis0 libltdl7 liblua5.1 0
liblwres60 liblzma1 libm17n 0 libmad0 libmagic1 libmagick++2 libmagickcore2
libmagickwand2 libmail dkim perl libmail rfc822 address perl
libmail spf perl libmailtools perl libmatroska0 libmeanwhile1 libmikmod2
libmime tools perl libminc2 1 libming1 libmixlib cli ruby
libmixlib cli ruby1.8 libmixlib config ruby libmixlib config ruby1.8
libmixlib log ruby libmixlib log ruby1.8 libmldbm perl libmng1 libmodplug0c2
libmono addins0.2 cil libmono cairo2.0 cil libmono corlib2.0 cil
libmono data tds2.0 cil libmono i18n west2.0 cil libmono posix2.0 cil
libmono security2.0 cil libmono sharpzip2.84 cil libmono sqlite2.0 cil
libmono system data2.0 cil libmono system runtime2.0 cil
libmono system web2.0 cil libmono system2.0 cil libmono2.0 cil libmpcdec3
libmpeg2 4 libmpfr1ldbl libmsn0.3 libmtp8 libmusicbrainz4c2a
libmysqlclient16 libncurses5 libncursesw5 libndesk dbus glib1.0 cil
libndesk dbus1.0 cil libneon27 gnutls libnet cidr perl libnet daemon perl
libnet dbus perl libnet dns perl libnet ip perl libnet libidn perl
libnet server perl libnet ssleay perl libnet1 libnet6 1.3 0
libnetaddr ip perl libnetcdf4 libnetpbm10 libnewt0.52 libnice0 libnids1.21
libnih dbus1 libnih1 libnl1 libnm glib2 libnm util1 libnotify1
libnova 0.12 2 libnspr4 0d libnss mysql bg libnss3 1d libnuma1
libnumber compare perl libnunit2.4 cil libobby 0.4 1 libogdi3.2 libogg0
libohai ruby libohai ruby1.8 liboil0.3 libopagent1 libopenal1 libopenbabel3
libopenexr6 libopenid ruby libopenid ruby1.8 libopenmpi1.3 libopenobex1
libopenssl ruby libopenssl ruby1.8 liborbit2 libossp uuid perl
libossp uuid16 libotf0 libotr2 libpam ck connector libpam gnome keyring
libpam modules libpam mysql libpam runtime libpam unix2 libpam0g
libpango1.0 0 libpango1.0 common libpaper utils libpaper1
libparams util perl libparams validate perl libparted0debian1 libpcap0.8
libpci3 libpciaccess0 libpcre3 libpcrecpp0 libpcsclite1 libperl5.10
libperl6 junction perl libphonon4 libphp adodb libpisock9 libpisync1
libpixman 1 0 libplasma geolocation interface4 libplist1 libplrpc perl
libplymouth2 libpng12 0 libpolkit agent 1 0 libpolkit backend 1 0
libpolkit gobject 1 0 libpolkit qt 1 0 libpoppler qt4 3 libpoppler5 libpopt0
libportaudio2 libportmidi0 libpostproc51 libpq5 libproc process perl
libproc processtable perl libproj0 libprotobuf5 libprotoc5 libproxy0 libpst4
libpth20 libpulse browse0 libpulse mainloop glib0 libpulse0 libpurple bin
libpython2.6 libqalculate4 libqca2 libqca2 plugin ossl libqimageblitz4
libqt3 mt libqt4 assistant libqt4 dbus libqt4 designer libqt4 help
libqt4 network libqt4 opengl libqt4 qt3support libqt4 script
libqt4 scripttools libqt4 sql libqt4 sql mysql libqt4 sql sqlite libqt4 svg
libqt4 test libqt4 webkit libqt4 xml libqt4 xmlpatterns libqtcore4 libqtgui4
libqwt5 qt4 librarian0 libraw1394 11 libreadline5 libreadline6
libreadonly perl libreadonly xs perl librpm0 librpmbuild0 librpmio0 librrd4
librsync1 libruby1.8 libsamplerate0 libsane libsasl2 2 libsasl2 modules
libschroedinger 1.0 0 libsctp1 libsdl image1.2 libsdl mixer1.2
libsdl ttf2.0 0 libsdl1.2debian libsdl1.2debian pulseaudio libselinux1
libsensors4 libsepol1 libsexy2 libsgutils2 2 libshout3 libsieve2 1
libsigc++ 2.0 0c2a libsilc 1.1 2 libsilcclient 1.1 3 libslang2 libslp1
libsm dev libsm6 libsmbclient libsmpeg0 libsndfile1 libsnmp base libsnmp15
libsoap lite perl libsocket6 perl libsolidcontrolifaces4 libsoup2.4 1
libsox fmt alsa libsox fmt base libsox1a libspectre1 libspeechd2 libspeex1
libspeexdsp1 libsqlite0 libsqlite3 0 libss2 libssh 4 libssl0.9.8
libstartup notification0 libstatgrab6 libstdc++6 libstdc++6 4.4 dev
libstomp ruby libstomp ruby1.8 libstreamanalyzer0 libstreams0
libstring shellquote perl libswscale0 libsys cpu perl libsys cpuload perl
libsys hostname long perl libsysfs2 libsystemu ruby1.8 libt1 5
libtag1 vanilla libtag1c2a libtalloc2 libtar libtask weaken perl libtasn1 3
libtdb1 libtelepathy glib0 libtext charwidth perl libtext glob perl
libtext iconv perl libtext wrapi18n perl libthai0 libtheora0
libtie ixhash perl libtiff4 libtimedate perl libtonezone2.0
libtotem plparser17 libts 0.0 0 libtwolame0 libudev0 libunix syslog perl
libunshield0 libupnp3 libupower glib1 liburi perl libusb 0.1 4 libusb 1.0 0
libusbmuxd1 libuuid perl libuuid1 libv4l 0 libvcdinfo0 libvisual 0.4 0
libvisual 0.4 plugins libvlc2 libvlccore2 libvorbis0a libvorbisenc2
libvorbisfile3 libvtk5.2 libwavpack1 libwbclient0 libwnck22 libwpd8c2a
libwpg 0.1 1 libwps 0.1 1 libwrap0 libwww perl libwxbase2.8 0 libx11 6
libx11 dev libx264 85 libx86 1 libxapian15 libxau dev libxau6 libxaw7
libxcb atom1 libxcb aux0 libxcb event1 libxcb keysyms1 libxcb render util0
libxcb render0 libxcb shape0 libxcb shm0 libxcb xv0 libxcb1 libxcb1 dev
libxcomposite1 libxcrypt1 libxcursor1 libxdamage1 libxdmcp dev libxdmcp6
libxerces c28 libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxine1
libxine1 bin libxine1 console libxine1 misc plugins libxine1 x libxinerama1
libxkbfile1 libxml++2.6 2 libxml parser perl libxml twig perl
libxml xpath perl libxml2 libxml2 utils libxmu6 libxmuu1 libxp6 libxpm4
libxrandr2 libxrender1 libxres1 libxslt1.1 libxss1 libxt dev libxt6 libxtst6
libxv1 libxvmc1 libxxf86dga1 libxxf86misc1 libxxf86vm1 libyaml 0 2
libyaml tiny perl libzephyr4 libzip1 linux headers 2.6.32 74
linux headers 2.6.32 74 generic linux headers generic linux image
linux image 2.6.32 33 virtual linux image 2.6.32 74 generic
linux image generic linux image virtual linux sound base llvm llvm dev
locales lockfile progs login logrotate lp solve lsb base lsb release lsof
luatex lynx cur lzma m17n contrib m17n db m4 makedev mawk media player info
menu mhonarc min12xxw mktemp mlmmj modemmanager module init tools
mono 2.0 gac mono gac mono runtime mount mountall mscompress mtools
mysql client mysql client 5.1 mysql client core 5.1 mysql server
mysql server 5.1 mysql server core 5.1 nagios plugins basic nagios3 cgi
nagios3 common ncftp ncurses base ncurses bin net tools netbase
netcat openbsd netcat traditional netpbm network manager pptp ntpdate
nvidia common obex data server obexd client odbcinst odbcinst1debian1
openbsd inetd openoffice.org common openssh client openssh server openssl
oprofile p7zip full passwd patch pax pciutils pcmciautils perl perl base
perl modules perlmagick phonon phonon backend xine php crypt cbc
php mail mime php mail mimedecode php pear php xml parser php xml serializer
php5 cli php5 common php5 gd php5 mysql php5 snmp pinentry qt4 pkg config
plasma widget kimpanel backend ibus plymouth plymouth theme ubuntu text
pm utils pm utils powersave policy poppler utils postfix postfix mysql
postgresql postgresql 8.4 postgresql client 8.4 postgresql client common
postgresql common powermgmt base ppp pptp linux procmail procps proj bin
protobuf compiler psfontmgr psmisc pulseaudio utils pure ftpd common
pure ftpd mysql python python apport python apt python avahi
python beautifulsoup python boto python brlapi python cairo python central
python cheetah python cherrypy3 python clientform python configglue
python configobj python couchdb python crypto python cssutils python cups
python cupshelpers python dateutil python dbus python debian python django
python django tagging python egenix mxdatetime python egenix mxtools
python encutils python fstab python gdbm python gnupginterface
python gobject python gst0.10 python httplib2 python imaging
python launchpadlib python lazr.restfulclient python lazr.uri python libxml2
python louis python lxml python m2crypto python mako python mechanize
python minimal python numpy python oauth python opengl python openssl
python pam python pexpect python pkg resources python problem report
python protobuf python pyinotify python pypdf python qt4 python rdflib
python renderpm python reportlab python reportlab accel python serial
python simplejson python sip python smbc python support python telepathy
python tk python twisted bin python twisted core python twisted names
python twisted web python ubuntuone storageprotocol python uniconvertor
python wadllib python xapian python xdg python xkit python yaml
python zope.interface python2.6 python2.6 dev python2.6 minimal qcad
radeontool radvd rarian compat rcs rdesktop re2c readline common realpath
ri li rpm rpm2cpio rrdtool rsyslog rtkit ruby ruby1.8 samba common
samba common bin sane utils sbox dtc screen scrollkeeper sed sgml base
sgml data shared mime info smartdimmer smbclient snmp sox spamassassin spamc
ssh ssh import ssl cert sudo syslinux system config printer common
system config printer udev sysv rc sysvinit utils tar tasksel tasksel data
tcl8.4 tcl8.5 tcpd tcsh telepathy gabble telepathy idle
telepathy mission control 5 tex common texlive common texlive doc base tk8.4
tk8.5 toshset ttf uralic tuxpaint plugins default tzdata tzdata java ucf
ucspi tcp udev unattended upgrades unixodbc uno libs3 unshield unzip
update inetd update manager core update motd update notifier common upstart
ure ureadahead usbmuxd usbutils util linux vbetool vim vim common
vim runtime vim tiny virtuoso nepomuk vlc nox vlc plugin pulse vym webalizer
wget whiptail whois wireless crda wireless tools wodim wpasupplicant
x ttcidfont conf x11 common x11 xfs utils xaos xauth xdg user dirs
xfonts 100dpi xfonts 75dpi xfonts base xfonts encodings xfonts mathml
xfonts scalable xfonts utils xinit xinput xml core xsltproc xterm xtrans dev
xulrunner 1.9.2 xz utils zip zlib1g
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
apt libc6 (due to apt) libgcc1 (due to apt) libstdc++6 (due to apt)
base files base passwd (due to base files) libpam modules (due to
base files) bash debianutils (due to bash) dash (due to bash) libncurses5
(due to bash) bsdutils coreutils libacl1 (due to coreutils) libattr1 (due to
coreutils) libselinux1 (due to coreutils) diffutils dpkg lzma (due to dpkg)
e2fsprogs e2fslibs (due to e2fsprogs) libblkid1 (due to e2fsprogs)
libcomerr2 (due to e2fsprogs) libss2 (due to e2fsprogs) libuuid1 (due to
e2fsprogs) util linux (due to e2fsprogs) findutils grep gzip hostname
upstart (due to hostname) login libpam0g (due to login) libpam runtime (due
to login) mount libsepol1 (due to mount) ncurses base ncurses bin perl base
python minimal python2.6 minimal (due to python minimal) sed install info
(due to sed) tar lsb base (due to util linux) tzdata (due to util linux)
libslang2 (due to util linux) zlib1g (due to util linux)
0 upgraded, 0 newly installed, 1207 to remove and 3 not upgraded.
After this operation, 2125MB disk space will be freed.
root@hiox:~


Related Topics

Apt Get Commands