How do you remove sysv rc in Linux / UNIX using apt-get command?
Here is the tutorial to learn how to uninstall sysv rc with apt-get command.
Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove sysv rc -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 sysv rc -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
samba ldb tools libusbip0 libmono data tds2.0 cil libsmbclient
libgupnp av 1.0 2 libplist1 libpci3 python packagekit libxcb aux0
libxfce4menu 0.1 0 libatk1.0 0 echoping menu libts 0.0 0 syslinux libtalloc2
libpackagekit qt 12 libical0 python3 minimal libwpd8c2a libcommons pool java
ruby1.8 dev libcdio10 libgtk2.0 common hdparm libopencryptoki0 dnsmasq base
libtwolame0 libmono security2.0 cil libnet ssleay perl libgsf 1 common
libqca2 iputils tracepath python pyorbit libmtp8 rpm2cpio gedit common
xsltproc libgutenprint2 libsilcclient 1.1 3 libxcb atom1 libecj java
python debian libxml sax perl libxcomposite1 lp solve libgail18 libarchive1
libntfs10 libaiksaurus 1.2 data realpath libpth20 libdigest sha1 perl
laptop detect libunique 1.0 0 libflite1 fakeroot libbrlapi0.5 sensible mda
unattended upgrades authbind libgmime 2.4 2 libv4l 0 libcupsppdc1
ttf dejavu extra telepathy gabble libhal storage1 libmono system2.0 cil
libcdio paranoia0 libwebkit 1.0 common squashfs tools libcupsimage2 gamin
libgphoto2 port0 unetbootin translations python mako usbmuxd irb1.8
gstreamer0.10 plugins bad pkg config libcupscgi1 libcaca0
libfile copy recursive perl libmeanwhile1 libgudev 1.0 0 libgnomecanvas2 0
poppler utils gfortran 4.4 root plugin asimage lsof intel gpu tools
speedy cgi perl libmono sqlite2.0 cil libpthread stubs0 libicu42
roundcube sqlite snort rules default gstreamer0.10 plugins ugly libavc1394 0
esound clients libbonobo2 common libcupsdriver1 libfile homedir perl libotf0
libatk1.0 data libsgutils2 2 libprotobuf5 gnome mime data libmodplug0c2
libblas dev python pycurl squid3 common link grammar dictionaries en
obexd client liburi perl sqlite libsox fmt base libotr2 libtie ixhash perl
libots0 desktop file utils php net smtp dnsutils libspectre1 libcairo perl
libxnee0 libgpod common comerr dev libsvga1 libhtml parser perl
libparted0debian1 libbeagle1 libmono corlib2.0 cil patchutils libsane
libimobiledevice0 g++ 4.4 odbcinst1debian1 update inetd libqt4 test
libvarnish1 transmission cli libhyphen0 libftgl2 liblouis data libibus1
libxxf86vm1 ttf dustin libzend framework php libproxy0 libjpeg progs libpst4
libnspr4 dev libboost program options1.40.0 libnm util1
snort common libraries libtagc0 libxcb xv0 libgl1 mesa dri libsox fmt alsa
libbonobo2 0 libtdb1 libvte common libsctp1 libfile which perl
language pack zh hant base hpijs docbook xml libgupnp 1.0 3 libgmp3 dev
php mdb2 libexo common nvidia current modaliases python software properties
cups client squid common x11proto xinerama dev libgl1 mesa glx
mobile broadband provider info libncurses5 dev libpcap0.8 libdca0 libx86 1
libfont afm perl abiword common x11proto render dev oxygen icon theme
libpisock9 libx11 protocol perl php5 sqlite m4 java common dosfstools
libgdata google1.2 1 libmono i18n west2.0 cil xauth librpmio0 lksctp tools
librpm0 guile 1.8 libs libwps 0.1 1 libwbclient0 rpm common po debconf
aptitude xfdesktop4 data libgomp1 icedtea 6 jre cacao
libxml namespacesupport perl python apt libxnconfig9.0.5 python gnomecanvas
libterm readkey perl wireshark common libpixman 1 dev libnspr4 0d libsqlite0
libslp1 libfftw3 3 gettext base libucl1 php net socket whois trousers
libdotconf1.0 libtimedate perl xdg user dirs gdebi core default jre headless
libnotify1 libcairo2 libtpm unseal0 libass4 openoffice.org style human
libcurses ui perl libgoffice 0.8 8 common libavahi glib1 fortune mod
evolution common libkrb5 dev xfce keyboard shortcuts libmono posix2.0 cil
odbcinst znc tcl g++ mono runtime libvisual 0.4 0 libsigc++ 2.0 0c2a libcln6
liblapack3gf libfile desktopentry perl libgpod4 mtools libxmuu1
libcanberra gtk module libcwidget3 pidgin data libcanberra0 r doc html
intltool debian libproc simple perl openjdk 6 jre lib libsdl1.2debian alsa
tcl8.4 dev libvde0 libhttp server simple perl libthai data python3.1 dcraw
libnss3 dev libgadu3 xorg docs core x11proto kb dev x11proto randr dev
libwavpack1 libpsiconv6 libcap2 bin libgtkhtml editor common gcc 4.4 toshset
cpu checker libglitz glx1 php mail mime libreadline6 dev freetds common
transmission common libglibmm 2.4 1c2a libgssrpc4 libxosd2 libobparser21
libgamin0 libcommons collections java libpcrecpp0 snort common
libdirectfb 1.2 0 libhtml tree perl librsvg2 common procmail
update manager core libsvn1 openjdk 6 jre headless xkb data libindicate4
libakonadiprivate1 libtspi1 libdevkit power gobject1 libavahi common data
libsexy2 libavahi core6 gstreamer0.10 gnonlin libx264 85 liblapack dev
libxcb event1 libmcrypt4 libindicator0 samba common librecode0 libffi5
libiec61883 0 xinput libelf1 libforms1 libvlc2 libmailtools perl
libcairomm 1.0 1 libgdata common root plugin gl finger liblink grammar4
libgnome mag2 gettext php pear xbitmaps libpango1.0 common
x11proto input dev samba4 common bin xmms2 plugin id3v2 libgp11 0 libgee2
libenca0 cfortran cups common uno libs3 rtkit samba doc
launchpad integration libpixman 1 0 libsdl1.2debian libexempi3 libhpmud0
python sip libijs 0.35 xubuntu wallpapers libcups2 gcc gdb libsilc 1.1 2
libhal1 cvs linux headers 2.6.32 74 python xapian apt xapian index
libdbusmenu glib1 libtomcat6 java libxinerama1 libgoocanvas common
binfmt support libesd0 sendmail cf liblouis0 libept0
linux headers 2.6.32 74 generic libmikmod2 libavahi ui0
libmono system data2.0 cil libtirpc1 iputils arping zend framework bin
openssh client console terminus libreadline5 libgdome2 0 sudo libsmi2ldbl
libupnp3 libxft2 sendmail base pciutils libssl dev mono gac libcolamd2.7.1
libnm glib2 libsnmp session perl libconfig grammar perl kdepimlibs data
libvte9 libfile basedir perl libcroco3 modemmanager tzdata java
apport symptoms libevent 1.4 2 python cairo libdbusmenu gtk1 libgme0
libcommons dbcp java libtevent0 php5 pspell gfortran libgsf 1 114
libgtop2 common freepats libaa1 libopenobex1 libspeexdsp1 libieee1284 3
rarian compat libiptcdata0 znc perl libcurses perl libthai0 libxcb keysyms1
linux headers generic python dbus liblockfile1 manpages libidl0
libneon27 gnutls libxapian15 liba52 0.7.4 libglitz1 mono 2.0 gac
libdjvulibre21 libglade2 0 libxine1 console zlib1g dev libcanberra gtk0
libvorbisfile3 libspeechd2 esound common module assistant rdoc1.8
lxmenu data xmms2 plugin alsa libflac8 im switch libxfce4util common
libservlet2.5 java libglib perl xdg utils libwildmidi0 libzzip 0 13
libjs cropper liborc 0.4 0 squid langpack libfreetype6 dev libshout3 libdv4
libdvdnav4 libhtml format perl libatasmart4 build essential
libmono sharpzip2.84 cil dpkg dev librpmbuild0 xfce4 power manager data
libxmmsclient6 os prober thunar data python gnupginterface libfs6
libdvdread4 gstreamer0.10 x libblas3gf fglrx modaliases libtotem plparser17
libgs8 nvidia 96 modaliases php5 mcrypt tcl8.4 tcl8.5 libqt4 assistant ure
libkate1 pinyin database sendmail bin libcdaudio1 python gobject libmimic0
libgtop2 7 xmms2 core ntfsprogs libkadm5clnt mit7 libvisual 0.4 plugins
ttf dejavu python3 ttf arphic bsmi00lp libusbmuxd1 libappindicator0
libdecoration0 libpciaccess0 liblircclient0 libgnomeui common xz utils
libxfce4util4 libxxf86misc1 libroot5.18 libgupnp igd 1.0 2 libgnome keyring0
libsocket6 perl psutils libsidplay1 usbutils smartdimmer
language pack zh hans base gnome desktop data python gdbm opencryptoki
python3.1 minimal libkadm5srv mit7 libc ares2 libc6 dev libldb0
lockfile progs libtorrent11 libupower glib1 liborbit2 libpackagekit glib2 12
tk8.4 liblua5.1 0 libanthy0 libtag1c2a librsvg2 2 tomcat6 common
python gst0.10 libsoundtouch1c2 libgmpxx4ldbl libavahi client3
libwnck common app install data xmms2 plugin vorbis libxfce4util bin
libxmmsclient glib1 sgml data libmad0 libdb4.7 libfile mimeinfo perl
ttf arphic gbsn00lp fortunes min libgfortran3 bsd mailx python support
libgpgme11 libart 2.0 2 evolution data server common php auth
protobuf compiler liblaunchpad integration1 pmount libid3tag0
gstreamer0.10 tools libpcre3 dev ca certificates java html2text
libopencore amrnb0 libcdio cdda0 libhtml tagset perl radeontool vlc data
libzephyr4 libpango1.0 0 libgraphite3 libgvfscommon0 libmusicbrainz4c2a
php mdb2 driver sqlite libwpg 0.1 1 libaiksaurus 1.2 0c2a libtar libkdb5 4
hal info miscfiles libxdamage1 libprelude2 linux libc dev
openoffice.org common patch manpages dev samba common bin libgnome menu2
libcelt0 0 language pack zh hans libdirac encoder0 language pack zh hant
streamripper libxmlrpc c3 grub common common lisp controller libxcb render0
vzquota krb5 multidev scrollkeeper info dvd+rw tools libexif12 libgtk2.0 bin
libglu1 mesa libdjvulibre text libpaper utils libavahi gobject0 libsox1a
libcupsmime1 libc dev bin libnet libidn perl libroot minuit5.18 libnice0
root plugin proof libxcb shape0 libgssglue1 libvala0 tinymce
gstreamer0.10 nice libmail sendmail perl libreadline ruby1.8 cl asdf
libbonoboui2 common libloudmouth1 0 libssh 4 libjs jquery libxcb shm0
libvlccore2 binutils kdebase runtime data libjpeg62 dev min12xxw libevtlog0
libxv1 znc extra libjson glib 1.0 0 libxmlrpc core c3 nvidia 173 modaliases
p7zip full mscompress libossp uuid16 php mail mimedecode libavahi common3
libprotoc5 libsys hostname long perl libmpcdec3 libpam gnome keyring
libgdata1.2 1 libxcb render util0 libopencore amrwb0 openbsd inetd
libjline java bcmwl modaliases libxrandr2 gnome icon theme xmms2 icon
indicator application libnet1 libnss3 1d gstreamer0.10 plugins base
x11proto core dev python gtk2 dpatch xmms2 client cli keyutils
adium theme ubuntu libsndfile1 libdigest hmac perl dmidecode libgssdp 1.0 2
root system common xmms2 client nycli gnome doc utils libgtk2.0 0 regina3
dvb apps libxine1 bin libxdmcp dev libpthread stubs0 dev libsysfs dev
libofa0 libmpeg2 4 python libxml2 libxkbfile1 libgnomecanvas2 common
libbz2 dev libmms0 libpaper1 ri1.8 libltdl7 telepathy mission control 5
xpdf common notify osd icons unhide libjs mootools libxine1 ffmpeg
libpisync1 libvdeplug2 libsort naturally perl libsoup2.4 1
libio socket inet6 perl libstdc++6 4.4 dev libgphoto2 2 wdiff
libgdome2 cpp smart0c2a libgtksourceview2.0 common libfaad2
packagekit backend apt libtag1 vanilla libaudiofile0 libsmpeg0
libreadline dev libpng12 dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
acpi support acpid alsa base alsa utils anacron apache2 apache2 mpm prefork
apache2.2 common apparmor aumix aumix common avahi daemon avahi utils bluez
brasero common brltty cm super cm super minimal compiz core
compizconfig backend gconf console setup consolekit cron dbus dbus x11
dmsetup e2fsprogs erlang base erlang crypto erlang inets erlang mnesia
erlang public key erlang runtime tools erlang ssl erlang syntax tools
erlang xmerl gconf defaults service gconf2 gconf2 common gdebi kde
gnome media gnome media common gnome user guide grub
gstreamer0.10 plugins good gstreamer0.10 pulseaudio gvfs gvfs backends hal
hostname icedtea netx icoutils ifupdown imagemagick initramfs tools
initscripts install package kbd kdebase runtime kdelibs bin kdelibs5
kdepimlibs5 kdesudo kpackagekit kubuntu debug installer latex beamer
latex cjk all latex cjk chinese latex cjk common latex cjk japanese
latex cjk japanese wadalab latex cjk korean latex cjk thai latex cjk xcjk
latex sanskrit latex xcolor latexmk lesstif2 lftp libapache2 mod php5
libasound2 plugins libaudio2 libbonoboui2 0 libbrasero media0 libcamel1.2 14
libcanberra pulse libcompizconfig0 libcouchdb glib 1.0 2 libdbusmenu qt2
libdesktopcouch glib 1.0 2 libebackend1.2 0 libebook1.2 9 libecal1.2 7
libedata book1.2 2 libedata cal1.2 6 libedataserver1.2 11
libegroupwise1.2 13 libgconf2 4 libgconfmm 2.6 1c2 libgdata6 libgdu0
libgnome media0 libgnome2 0 libgnome2 common libgnome2 gconf perl
libgnomeui 0 libgnomevfs2 0 libgnomevfs2 common libice dev libice6
libio socket ssl perl libm17n 0 libmagickcore2 libmagickwand2
libnet dbus perl libphonon4 libplasma3 libpolkit qt 1 0 libpulse browse0
libpulse mainloop glib0 libpulse0 libqt3 mt libqt4 designer libqt4 help
libqt4 opengl libqt4 qt3support libqt4 scripttools libqt4 svg libqt4 webkit
libqtgui4 libroot dev libsm dev libsm6 libsoup gnome2.4 1
libstartup notification0 libwebkit 1.0 2 libwnck22 libwww mechanize perl
libwww perl libx11 dev libxau dev libxaw7 libxcb render util0 dev
libxcb render0 dev libxcb1 dev libxcomposite dev libxcursor dev
libxdamage dev libxext dev libxfconf 0 2 libxfixes dev libxi dev libxine1
libxine1 misc plugins libxine1 x libxinerama dev libxklavier16
libxml parser perl libxml sax expat perl libxml simple perl libxml twig perl
libxml xpath perl libxmu6 libxpm dev libxrandr dev libxrender dev libxres1
libxss1 libxt dev libxt6 libxtst6 libxvmc1 libxxf86dga1 libzbar0 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 littler logrotate
m17n contrib m17n db media player info module init tools mountall musixlyr
musixtex musixtex slurps mysql server 5.1 netbase network manager pptp
notification daemon ntfs 3g ntpdate obex data server oinkmaster
openjdk 6 jre openssh server oss compat packagekit pcmciautils perlmagick
pgf phonon phonon backend xine php5 plasma scriptengine javascript plymouth
plymouth theme ubuntu text pm utils pm utils powersave policy policykit 1
policykit 1 gnome polkit kde 1 postgresql postgresql 8.4 postgresql common
powermgmt base ppp pptp linux procps pulseaudio pulseaudio esound compat
pulseaudio module bluetooth pulseaudio module gconf pulseaudio module x11
pulseaudio utils python gconf python gnome2 python kde4 python qt4
python webkit r base core r base dev r base html r cran boot r cran class
r cran cluster r cran codetools r cran foreign r cran kernsmooth
r cran lattice r cran mass r cran matrix r cran mgcv r cran nlme r cran nnet
r cran rpart r cran spatial r cran survival r recommended roundcube core
scala library software properties kde speech dispatcher squid ssh sysv rc
telepathy salut tex4ht tex4ht common texlive base texlive bibtex extra
texlive binaries texlive font utils texlive fonts extra
texlive fonts recommended texlive formats extra texlive games
texlive generic extra texlive generic recommended texlive humanities
texlive lang african texlive lang arabic texlive lang armenian
texlive lang croatian texlive lang cyrillic texlive lang czechslovak
texlive lang danish texlive lang dutch texlive lang finnish
texlive lang french texlive lang german texlive lang greek
texlive lang hebrew texlive lang hungarian texlive lang italian
texlive lang latin texlive lang latvian texlive lang lithuanian
texlive lang mongolian texlive lang norwegian texlive lang other
texlive lang polish texlive lang portuguese texlive lang spanish
texlive lang swedish texlive lang tibetan texlive lang ukenglish
texlive lang vietnamese texlive latex base texlive latex extra
texlive latex recommended texlive latex3 texlive luatex texlive math extra
texlive metapost texlive music texlive omega texlive pictures
texlive plain extra texlive pstricks texlive publishers texlive science
texlive xetex thailatex tipa tk8.4 dev tk8.5 udev udisks update manager kde
upower upstart util linux vnc4server wireless crda x ttcidfont conf x11 apps
x11 common x11 session utils x11 utils x11 xfs utils x11 xkb utils
x11 xserver utils x11proto composite dev x11proto damage dev
x11proto fixes dev x11proto xext dev xbase clients xfconf xfonts 100dpi
xfonts 75dpi xfonts base xfonts encodings xfonts mathml xfonts scalable
xfonts utils xfonts wqy xinit xmms2 plugin pulse xorg xserver common
xserver xorg xserver xorg core xserver xorg input all
xserver xorg input evdev xserver xorg input mouse
xserver xorg input synaptics xserver xorg input vmmouse
xserver xorg input wacom xserver xorg video all xserver xorg video apm
xserver xorg video ark xserver xorg video ati xserver xorg video chips
xserver xorg video cirrus xserver xorg video fbdev xserver xorg video i128
xserver xorg video intel xserver xorg video mach64 xserver xorg video mga
xserver xorg video neomagic xserver xorg video nouveau xserver xorg video nv
xserver xorg video openchrome xserver xorg video r128
xserver xorg video radeon xserver xorg video rendition xserver xorg video s3
xserver xorg video s3virge xserver xorg video savage
xserver xorg video siliconmotion xserver xorg video sis
xserver xorg video sisusb xserver xorg video tdfx xserver xorg video trident
xserver xorg video tseng xserver xorg video v4l xserver xorg video vesa
xserver xorg video vmware xserver xorg video voodoo xterm xtrans dev
xulrunner 1.9.2 xvfb yelp
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)
0 upgraded, 0 newly installed, 399 to remove and 0 not upgraded.
After this operation, 1587MB disk space will be freed.
root@hiox:~