How do you install fakeroot in Linux using apt-get command?
Here is a tutorial to learn how to install fakeroot using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install fakeroot -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of fakeroot if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install fakeroot -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
x11 apps libopenal1 jmeter help texlive common libmono data tds2.0 cil
sane utils libmono c5 1.0 cil lib32bz2 1.0 libplist1 liblash2 libjna java
libxcb aux0 syfi dev libgnumail java php fpdf menu xdg mesa utils ejabberd
asymptote doc libsm dev jsvc menu libavahi qt3 1 syslinux libnet daemon perl
libnumber compare perl libpackagekit qt 12 gnome media common syfi doc
erlang eunit fp units rtl fp units base libwpd8c2a libsuperlu3 dev
libopencascade foundation 6.3.0 gconf2 common libswscale0 libcdio10
idzebra 2.0 utils libdb je java hdparm libmono npgsql2.0 cil dnsmasq base
libtwolame0 libboost serialization1.40 dev libklu1.1.0 krita data junit4
espeak kicad common libmono security2.0 cil libnet ssleay perl kdelibs4c2a
libgsf 1 common xfonts 75dpi python pyorbit libmtp8 rpm2cpio extra xdg menus
libexcalibur logger java gedit common xsltproc libgutenprint2
gambas2 gb qt opengl libxcb atom1 erlang crypto libg15daemon client1
guile 1.8 libfbclient2 xserver xorg video all python debian llvm
ttf gfs bodoni classic libmono wcf3.0 cil gpsim console setup libice dev
lp solve liboro java libgail18 xserver xorg video apm libmono peapi2.0 cil
libavutil49 libwxbase2.8 0 libntfs10 libaiksaurus 1.2 data
libappframework java libdigest sha1 perl xserver xorg video ark libflite1
gputils doc kword data xserver xorg video ati unattended upgrades
libxrandr dev libmono system data1.0 cil libgmime 2.4 2 libcupsppdc1
libnb javaparser java libgeronimo jms 1.1 spec java libgnome2 vfs perl
libhal storage1 gambas2 gb info libnet ip perl libdb4.7 java
libmono simd2.0 cil libmono system2.0 cil libmono1.0 cil xfonts scalable
libexpat1 dev libcdio paranoia0 libgnome2 0 libiw dev libcompizconfig0
libmono system ldap1.0 cil lib32gomp1 python twisted bin
libwebkit 1.0 common squashfs tools libatlas3gf base libatlas headers
erlang corba bind9 host python numpy libcxsparse2.2.3 libmono0 libiceutil33
gamin libpetsc3.0.0 enblend python mako erlang asn1 usbmuxd libnet dns perl
gambas2 dev libxdamage dev ttf gfs olga lib32ncurses5 python avahi
pkg config libavalon framework java gcj 4.4 base libxklavier16 libcupscgi1
libmono getoptions1.0 cil libgudev 1.0 0 libgnomecanvas2 0 poppler utils
libmono cscompmgd8.0 cil gfortran 4.4 dirmngr libmono data1.0 cil
gambas2 doc ktorrent data xserver xorg video openchrome libkpathsea5
libgsl0 dev libqt4 opengl dev erlang xmerl intel gpu tools groff
xbase clients preview latex style libmono sharpzip0.84 cil libusrp2 dev
libmono sqlite2.0 cil texlive lvm2 libmono ldap1.0 cil liba52 0.7.4 dev
libhfsp0 libdlr0.9 cil libpthread stubs0 ttf gfs didot python compizconfig
libspooles dev idzebra 2.0 common libavc1394 0 esound clients smbclient
libjtidy java libbonobo2 common screen resolution extra libcupsdriver1
libjzlib java nmap libotf0 tex4ht libarpack2 libsgutils2 2 erlang snmp
libprotobuf5 libboost filesystem1.40 dev gnome mime data iso codes
libcfitsio3 libblas dev libmono management2.0 cil libkipi7 python pycurl
libicu4j java libsox fmt mp3 librplay3 libcholmod1.7.1 erlang tools
gambas2 gb crypt gnome panel data libboost system1.40.0 libfreemarker java
libservlet2.4 java upower libsox fmt base anthy xserver xorg video s3virge
fp units multimedia desktop file utils xserver xorg video v4l pulseaudio
python couchdb clamav antlr python openssl libqtscript4 network
x11 xkb utils libgnomeui 0 libxalan2 java libcairo perl enfuse gputils
libcommons jexl java libfluidsynth1 xserver xorg video mga gvfs backends
obex data server libgtk2 perl erlang edoc libyaml syck perl
libparted0debian1 xserver xorg video chips libecal1.2 7 libbeagle1
libmono corlib2.0 cil libaio1 libsane libxfixes dev udisks libimobiledevice0
g++ 4.4 libboost signals1.40.0 odbcinst1debian1 libhypre 2.4.0 libqt4 test
libmockobjects java libgnuinet java dhcp3 server libidzebra 2.0 mod text
libquicktime1 php5 seabios lxde icon theme libhyphen0 libsdl mixer1.2
erlang syntax tools libgl1 mesa dev libasound2 dev ipvsadm
libboost thread1.40 dev xserver xorg core cli common
libmono system web mvc1.0 cil libftgl2 libglew1.5 libfile find rule perl
libdolfin0 xserver xorg video mach64 libsox fmt oss ttf gfs theokritos
libasm2 java libibus1 gambas2 gb v4l libsox fmt pulse tftpd hpa libproxy0
libjpeg progs libqtscript4 gui xterm libnspr4 dev default jdk doc
libdolfin0 dev libxcb render util0 dev libnm util1 llvm dev python imaging
libfreeradius2 libmono cairo2.0 cil xserver common libtagc0
libmono relaxng1.0 cil libboost date time dev libsox fmt alsa
python httplib2 libbonobo2 0 libtdb1 libdbi perl libvte common
python egenix mxtools gambas2 gb sdl sound libsctp1 habak
libgnomevfs2 common libgromnithread0 gambas2 gb net libplot2c2
texlive pstricks ttf gfs artemisia xserver xorg video trident docbook xml
libvorbis dev libqwt5 qt4 libidzebra 2.0 mod dom libavfilter0
nvidia current modaliases libboost date time1.40.0 libgnomevfs2 extra
foomatic filters python software properties lbreakout2 data lmms common
libnb platform devel java gambas2 gb pdf x11proto xinerama dev
ttf sil gentium fp utils libgl2ps0 xserver xorg video sis libdca0 libx86 1
screen x11proto render dev libdate manip perl libidzebra 2.0 mod grs xml
ttf gfs porson bc libdns64 libhypre dev libxi dev gftp text
libx11 protocol perl m4 libgps19 gconf2 python zope.interface at dosfstools
libgdata google1.2 1 ed libmono i18n west2.0 cil dbconfig common
texlive latex base librpmio0 texlive metapost doc librpm0
texlive fonts recommended javahelp2 pulseaudio module x11 guile 1.8 libs
libwps 0.1 1 libmagick++2 rpm common po debconf python oauth liblualib50
libsuperlu3 autoconf libchm1 gambas2 gb sdl ttf opensymbol libedata cal1.2 6
python apt libxnconfig9.0.5 libterm readkey perl libparse recdescent perl
wireshark common libpixman 1 dev gftp common libsqlite0 libcddb2 libslp1
groff base python central libportmidi0 libdts dev whois libdirectfb extra
libswingx java python dev java wrappers libdotconf1.0 libcommons cli java
xserver xorg video siliconmotion libmono microsoft7.0 cil gdebi core
libmono system messaging2.0 cil libavdevice52 libmono system web1.0 cil
libstartup notification0 libass4 libjs prototype ubuntu system service
libapache2 mod php5 libboost thread dev libboost program options1.40 dev
clamav base python ffc xserver xorg input vmmouse libpano13 bin
libavahi glib1 gnome keyring subversion libumfpack5.4.0 libtag extras1
gambas2 gb image linux source 2.6.32 libmono accessibility1.0 cil puredata
libmono webbrowser0.5 cil libmono posix2.0 cil odbcinst gambas2 gb web g++
mono runtime libvisual 0.4 0 fp units db libfontconfig1 dev libreadline java
apturl common libcln6 libsensors applet plugin0 liblapack3gf
xserver xorg video savage libogg dev libclamav6 mtools
libcommons compress java libcanberra0 libqtscript4 sql intltool debian
libmono addins0.2 cil erlang webtool fp units fv php5 gd libgweather common
dcraw kompozer data libnss3 dev xorg docs core x11proto kb dev
libswingworker java libsyfi0 luatex libprocessui4 texlive bibtex extra
x11proto randr dev libopenmpi dev python serial libsoup gnome2.4 1
libsaxon java zlib bin caps texlive generic recommended gambas2 gb xml
john data libboost program options dev libxinerama dev libisccc60
libcap2 bin xserver xorg video tdfx network manager pptp
libmono system runtime2.0 cil pptp linux mono 2.0 devel libavcodec52 gcc 4.4
metacity common libprocesscore4 libopenctl0 gambas2 gb pcre
x11 session utils m17n db toshset libpango perl libidzebra 2.0 0 cpu checker
texlive latex recommended gambas2 runtime libc6 i386 kdesudo libfuse2
texlive font utils libccolamd2.7.1 mono csharp shell libglibmm 2.4 1c2a
libgssrpc4 libopagent1 libhd16 libxosd2 libqtscript4 xml libobparser21
mesa common dev libgamin0 firebird2.1 common doc lib32gcc1 libpcrecpp0
libnss mdns libnova 0.12 2 texlive latex recommended doc unixodbc
erlang runtime tools librsvg2 common gambas2 gb xml xslt libg15render1
gambas2 gb compress bzlib2 libsvn1 xtrans dev xkb data libatk1.0 dev
python swiginac ruby1.8 libportaudio2 libdevkit power gobject1 python webkit
libalut0 vbetool latex beamer libavahi core6 libcue1 libmenu cache1
libbabl 0.0 0 libqt4 dev liblapack dev libxcb event1
xserver xorg video intel gputils common libmcrypt4 libjs jac fvwm icons
python pam pyro samba common idle python2.6 libgconf2 4 libffi5
libiec61883 0 libhwloc0 xinput libelf1 libforms1 texlive binaries
lib32asound2 libxres1 libxstream java xserver xorg input all
libcairomm 1.0 1 acpid libbinio1ldbl python scipy erlang docbuilder
libsdl image1.2 finger libmono i18n1.0 cil gettext hugin data libqt4 help
ant libboost serialization dev php pear time libmono oracle1.0 cil arj
xbitmaps blt x11proto input dev libnb platform11 java tipa python glade2
xmms2 plugin id3v2 libvirt0 libusb dev ruby texlive latex base doc
libmono messaging2.0 cil libgp11 0 libscotch dev gwyddion common default jdk
libusrp2 0 libmono rabbitmq2.0 cil kde window manager libenca0 latex xcolor
libjsch java icewm common libsvn java uno libs3 bsh rtkit python tk
xserver xorg video vmware libpulse browse0 libgcr0 launchpad integration
libjetty java doc libexempi3 x11proto fixes dev python tz koffice libs
liblwres60 fckeditor mingw32 runtime libijs 0.35 xserver xorg video r128
libqt4 gui libt1 5 fp units gtk2 gcc libgdu0 libxml commons resolver1.1 java
libpkcs11 helper1 libcobertura java python ufc libgnome2 common
libaudclient2 libhal1 cvs libcurl3 python ufl linux headers 2.6.32 74
libjs scriptaculous xfonts base libmono winforms1.0 cil libfli1 libfltk1.1
python xapian apt xapian index libxen3 xserver xorg input evdev
freeradius common texlive xetex libmono db2 1.0 cil ant optional kdiff3 doc
pulseaudio esound compat binfmt support amarok utils libesd0 libhttrack2
linux headers 2.6.32 74 generic fop libmikmod2 libjcharts java
libkdecorations4 libmono system data2.0 cil libglu1 mesa dev iputils arping
blcr util libedata book1.2 2 xserver xorg video vesa libgnome vfs2.0 cil
libcommons net java console terminus libresid builder0c2a libreadline5
libmono2.0 cil erlang inviso libldl2.0.1 libdrm dev x11 xfs utils python xdg
gcc 4.4 multilib libsmi2ldbl krosspython libmono system ldap2.0 cil
libsyfi0 dev speech dispatcher libmono bytefx0.7.6.1 cil
libmono data tds1.0 cil libbsf java libopencascade modeling 6.3.0
ttf arphic uming libgnomevfs2 0 libqt4 multimedia gambas2 gb settings
libvtk5.2 gambas2 gb compress x11proto xext dev espeak data kbd vgabios
libopenmpi1.3 mono gac libcolamd2.7.1 python vte libnm glib2 texlive luatex
qt4 qmake libxt dev python vtk openmpi checkpoint libyaz3 libvte9
libmono sharpzip2.6 cil firebird2.1 common libxml commons external java
libcroco3 modemmanager libmono getoptions2.0 cil libboost thread1.40.0
dolfin bin apport symptoms libmono data2.0 cil libevent 1.4 2 libxext dev
python cairo swig texlive metapost gnome applets data gnuplot nox
libpulse mainloop glib0 libegroupwise1.2 13 libgme0 libmono npgsql1.0 cil
gfortran erlang mnesia libgsf 1 114 libgtop2 common librarian0 freepats
libmono ldap2.0 cil libmono messaging rabbitmq2.0 cil python scientific
software properties gtk libmono security1.0 cil libphp phpmailer
gambas2 gb xml rpc libopenobex1 libspeexdsp1 ivy libieee1284 3 rarian compat
dolfin dev libiptcdata0 x11proto damage dev libgnome2 canvas perl
libsox fmt ao libhdf5 serial 1.8.4 linux headers generic libdca dev
php xml htmlsax3 python2.6 dev libart2.0 cil rsync python dbus
powermgmt base erlang public key libdbd mysql perl dolfin doc manpages
libidl0 mpc libbind9 60 libntfs 3g75 libneon27 gnutls liba52 0.7.4
xserver xorg video s3 nbd server libmono peapi1.0 cil xserver xorg
libvncserver0 libglib2.0 cil kstars data amarok common mono 2.0 gac
gnome terminal data libpostproc51 libginac1.5 libkwineffects1 curl pax
libglade2 0 libglib2.0 dev libwv2 4 libidzebra 2.0 modules
texlive fonts recommended doc gambas2 gb net smtp pgf zlib1g dev
libdevmapper event1.02.1 lesstif2 liblzo2 2 hddtemp libmono system1.0 cil
libdate calc perl libantlr java xserver xorg video nv pm utils ntp
libxml2 dev libcairo2 dev libqt3 mt mysql xfonts 100dpi libspeechd2
esound common xserver xorg video voodoo xserver xorg video fbdev
xserver xorg input wacom monodoc base libcgns2 libcr0 lxmenu data
xmms2 plugin alsa apturl libmad0 dev libgconf2.0 cil samba libpano13 1
libglib perl python twisted core libwildmidi0 netpbm tex4ht common
liberror perl libmono sharpzip0.6 cil xinit libradius1 geoip database
python simplejson erlang os mon libmono cscompmgd7.0 cil libntlm0
libidzebra 2.0 mod grs marc liborc 0.4 0 gstreamer0.10 pulseaudio
libraw1394 11 libespeak1 libatlas base dev libfreetype6 dev libshout3
ttf gfs neohellenic libgsm1 xserver xorg video nouveau libdv4 libdvdnav4
fancontrol libatasmart4 build essential libservlet2.3 java libmowgli1
libmono sqlite1.0 cil libmono sharpzip2.84 cil libxau dev dpkg dev rpm
librpmbuild0 libxmmsclient6 libboost date time1.40 dev debconf utils
nautilus data libcarp clan perl xul ext ubufox mingw32 binutils ufc
gambas2 gb qt ext barcode libpetsc3.0.0 dev fp units math idzebra 2.0 doc
python gnupginterface python syfi0 libfs6 libdvdread4 libmpdclient2
libmono relaxng2.0 cil libhtmlparser java fp ide ufw libblas3gf
kdebase workspace kgreet plugins stk xserver xorg video neomagic
libtext glob perl libschroedinger 1.0 0 lilypond doc libksignalplotter4
fglrx modaliases libtotem plparser17 gambas2 gb qt kde libavformat52
ttf gfs baskerville libmono microsoft build2.0 cil libslf4j java
libslepc3.0.0 nvidia 96 modaliases libcommons daemon java libnuma1
filezilla common libnfsidmap2 freeradius utils tcl8.4 openmpi bin tcl8.5
libindi0 libdc1394 22 libqt4 assistant ure libmono dev libkate1
pinyin database libarpack2 dev libqwtplot3d qt4 0 libcdaudio1 python gobject
libmimic0 xserver xorg input mouse erlang inets libgtop2 7 automake
xmms2 core erlang ic libavifile 0.7c2 ntfsprogs libkadm5clnt mit7
libswing layout java libvisual 0.4 plugins libamd2.2.0
libgstreamer plugins base0.10 0 gambas2 gb compress zlib libplrpc perl
libcap ng0 libapparmor1 libusbmuxd1 texlive base libm17n 0 libdecoration0
libgeoip1 libboost1.40 dev libpciaccess0 libregexp java libperl5.10
liblircclient0 libgnomeui common xz utils libgromnithread dev libcamd2.2.0
libmysql java libmono cecil private cil synaptic libmono corlib1.0 cil
libxxf86misc1 m17n contrib xfonts unifont libkscreensaver5 libwebkit 1.0 2
wwwconfig common vorbis tools libibverbs1 gksu libgnome keyring0
ibus pinyin db open phrase libxvidcore4 psutils libisccfg60 libsidplay2
libboost serialization1.40.0 usbutils smartdimmer erlang odbc
gnome desktop data libqtgtl0 python gdbm python fiat libscotch 5.1 rhino
gambas2 gb net curl libkadm5srv mit7 clamav freshclam libc ares2 libc6 dev
libsigsegv0 erlang nox libcsparse2.2.3 libupower glib1 liborbit2
libpackagekit glib2 12 libusrp0 python viper tk8.4 libmono microsoft8.0 cil
tk8.5 ttf gfs solomos libg15 1 bwidget liblua5.1 0 avahi daemon libanthy0
libzeroc ice33 libmono system web2.0 cil libxcomposite dev fp units misc
libcamel1.2 14 librsvg2 2 libbonoboui2 0 python instant libmono cairo1.0 cil
libmodplug dev libsoundtouch1c2 libstk0c2a libwnck common libxcb render0 dev
app install data libxrender dev libboost filesystem dev xmms2 plugin vorbis
libgpac0.4.5 libxmmsclient glib1 libgksu2 0 libmpg123 0 sgml data libmad0
libgnome2 perl libxmlgraphics commons java libnetpbm10
libmono accessibility2.0 cil iverilog ttf gfs gazis php5 ldap
texlive doc base texlive latex extra libpq5 perl tk libtommath0 libgfortran3
xfonts mathml python support libart 2.0 2 python usrp
evolution data server common libidzebra 2.0 mod alvis librpcsecgss3 man db
python pydolfin0 liblaunchpad integration1 libid3tag0 xsel python pexpect
libavahi compat libdnssd1 libibverbs dev html2text fp compiler
libsox fmt ffmpeg libstroke0 libcdio cdda0 imagemagick
texlive latex extra doc lib32z1 radeontool erlang ssh erlang percept
libhamcrest java xserver xorg video sisusb xaw3dg liblucene2 java erlang ssl
xmms2 plugin mad libgraphite3 libgvfscommon0 php5 mysql
libmono i18n west1.0 cil libxft dev texlive pictures libx11 dev liboil0.3
libmhash2 liblrdf0 libwpg 0.1 1 libgc1c2 libaiksaurus 1.2 0c2a openjdk 6 doc
libqtscript4 uitools libkdb5 4 hal info fp units fcl libqt3 mt lib32stdc++6
miscfiles libmono bytefx0.7.6.2 cil x11proto composite dev gvfs
linux libc dev patch manpages dev gambas2 gb qt libbtf1.1.0 kdelibs data
libbeansbinding java libmcs1 capplets data samba common bin libgnome menu2
libboost dev libqwtplot3d qt4 dev gambas2 gb vb libcelt0 0 libdirac encoder0
libgtlcore0 libboost regex1.40.0 tap plugins xserver xorg video tseng
netcat traditional fuse utils xserver xorg video radeon liblua50 php5 cli
libebackend1.2 0 libruby1.8 libmono system messaging1.0 cil scrollkeeper
liblastfm0 fp units gfx info libqt4 scripttools lib32v4l 0
compizconfig backend kconfig python xkit bridge utils libisc60 libdbus 1 dev
autotools dev libsox1a libcupsmime1 libc dev bin libnet libidn perl
watershed compiz core libxcb1 dev libimlib2 libkfontinst4 mpi default bin
libgssglue1 openjdk 6 jdk tinymce xserver xorg video cirrus
python pkg resources libmono posix1.0 cil libmail sendmail perl libopenjpeg2
libbonoboui2 common libgstreamer0.10 0 libcommons digester java
libloudmouth1 0 perl doc gimp data libbatik java texlive math extra
libjs jquery python egenix mxdatetime perlmagick libqtscript4 core
libdirectfb dev binutils systemsettings libc6 dev i386 mpi default dev
libjpeg62 dev libgruel0 min12xxw texlive pictures doc libidzebra 2.0 dev
portmap libio socket ssl perl gambas2 gb opengl libini4j java
libdbus glib 1 dev ncurses term libjetty java nvidia 173 modaliases
p7zip full libaudid3tag2 gnuradio doc mscompress libspooles2.2
libmono i18n2.0 cil libplasma applet system monitor4
libsys hostname long perl erlang parsetools libpam gnome keyring
libsuitesparse dev libgdata1.2 1 texlive pstricks doc iptables
libnb svnclientadapter java php5 common libmono oracle2.0 cil openbsd inetd
libjline java bcmwl modaliases gnome icon theme openmpi common php gettext
libmono system runtime1.0 cil tex common libusb 1.0 0 lacheck python ferari
gstreamer0.10 plugins base python dateutil x11proto core dev
javascript common ntfs 3g lsb release python gtk2 freeglut3 python gconf
libexcalibur logkit java fp units net xserver xorg input synaptics
libdigest hmac perl gambas2 gb qt kde html libimage exiftool perl
plasma widgets workspace gnome doc utils regina3 dvb apps koffice data
libxdmcp dev xserver xorg video rendition libpthread stubs0 dev libsysfs dev
pulseaudio utils libxcursor dev python libxml2 libedataserver1.2 11
libxkbfile1 libgnomecanvas2 common libgdiplus xserver xorg video i128
libboost system1.40 dev libmms0 libmono winforms2.0 cil less oprofile
python netcdf mysql client 5.1 libmpeg3 1 libbit vector perl xpdf common
libllvm2.7 texinfo libgruel dev libslepc3.0.0 dev ufc doc libasound2 plugins
libjs mootools libusrp dev ttf gfs didot classic hplip data erlang base
libnetcdf4 libsoup2.4 1 hugin tools libboost filesystem1.40.0
libstdc++6 4.4 dev python pyparsing libgnomekbd common libebook1.2 9
libgtksourceview2.0 common python opengl libmail imapclient perl syfi bin
mono gmcs libfaad2 mercurial common libidzebra 2.0 mod grs regx qemu common
libpcd2 libaudiofile0 libsmpeg0 libpng12 dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
fakeroot
0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.
Need to get 0B/101kB of archives.
After this operation, 381kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(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 ... 243496 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.14.4 1ubuntu1_amd64.deb) ...
Processing triggers for man db ...
Setting up fakeroot (1.14.4 1ubuntu1) ...
update alternatives: using /usr/bin/fakeroot sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
root@hiox:~