apt-get Install firefox

How do you install firefox in Linux using apt-get command?

How to Install firefox with apt-get?

apt-get install firefox -y

Install Firefox  Command

Here is a tutorial to learn how to install firefox using apt-get command.

Step 1: Open terminal with su access and enter the command as shown below:
apt-get install firefox -y

Step 2: After completion, the install command exits and instructs the user to restart the running instances of firefox if it is running already.

Result of the Command Execution shown below:

root@hiox:~ apt-get install firefox -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 libgupnp av 1.0 2 liblash2
libqrencode3 libxfce4menu 0.1 0 libsm dev qt4 doc libbreakpoint ruby1.8
echoping menu libavahi qt3 1 syslinux openssh server libpackagekit qt 12
libical0 python3 minimal libwpd8c2a ruby1.8 dev libopencryptoki0
dnsmasq base libtwolame0 libmono security2.0 cil libqca2 iputils tracepath
xfonts 75dpi libzbar0 libmtp8 rpm2cpio gedit common xsltproc libgutenprint2
libsilcclient 1.1 3 erlang crypto libecj java libxml++2.6 2 libice dev
lp solve libaiksaurus 1.2 data realpath libpth20 laptop detect libflite1
fakeroot libxrandr dev authbind libgmime 2.4 2 libv4l 0 libcupsppdc1
ttf dejavu extra telepathy gabble libmono system2.0 cil xfonts scalable
libexpat1 dev libcompizconfig0 squashfs tools libpurple bin libcupsimage2
unetbootin translations irb1.8 libxdamage dev libgcj bc libaugeas ruby1.8
gcj 4.4 base libxklavier16 libxine1 x libcupscgi1 libcaca0 libmeanwhile1
poppler utils gfortran 4.4 root plugin asimage erlang xmerl
libmono sqlite2.0 cil libpthread stubs0 snort rules default
gstreamer0.10 plugins ugly libavc1394 0 libcupsdriver1 putty tools libotf0
libprotobuf5 libmodplug0c2 libblas dev libbuilder ruby squid3 common
link grammar dictionaries en obexd client libboost system1.40.0 liburi perl
libaugeas0 upower libsox fmt base libcmdparse2 ruby1.8 libotr2 libots0
desktop file utils dnsutils libspectre1 libfluidsynth1 libxnee0 comerr dev
libsvga1 libhtml parser perl libecal1.2 7 libbeagle1 libmono corlib2.0 cil
libaio1 libsane libxfixes dev g++ 4.4 odbcinst1debian1 libqt4 test
libvarnish1 dhcp3 server libqpdf3 seabios libhyphen0 erlang syntax tools
cmake data libgl1 mesa dev libftgl2 liblouis data libxfconf 0 2 libibus1
ttf dustin libzend framework php tftpd hpa libjpeg progs libpst4
libnspr4 dev libxcb render util0 dev libboost program options1.40.0
libnm util1 snort common libraries libtagc0 libxcb xv0 libsox fmt alsa
phonon libpvm3 aumix common libsctp1 language pack zh hant base hpijs
libgupnp 1.0 3 libgmp3 dev libccid rake libexo common
nvidia current modaliases cups client logrotate squid common
x11proto xinerama dev mobile broadband provider info libncurses5 dev
libpcap0.8 libdca0 libx86 1 libfont afm perl abiword common
x11proto render dev oxygen icon theme libpisock9 libxi dev
xmms2 plugin pulse libqt4 phonon dev php5 sqlite m4 java common
libmocha ruby1.8 libgdata google1.2 1 libmono i18n west2.0 cil librpmio0
lksctp tools libapr1 augeas lenses librpm0 guile 1.8 libs libwps 0.1 1
rpm common aptitude liblualib50 xfdesktop4 data rdoc libedata cal1.2 6
libxnconfig9.0.5 gcj 4.4 jre lib wireshark common libpixman 1 dev
libnspr4 0d libsqlite0 libslp1 libfftw3 3 libucl1 whois trousers
libdirectfb extra libredcloth ruby1.8 libdotconf1.0 libtimedate perl
xdg user dirs libtpm unseal0 libass4 openoffice.org style human
libgoffice 0.8 8 common subversion openvpn blacklist fortune mod
evolution common libkrb5 dev xfce keyboard shortcuts libmono posix2.0 cil
libcouchdb glib 1.0 2 odbcinst znc tcl libaprutil1 ldap g++ mono runtime
libvisual 0.4 0 telepathy salut libsigc++ 2.0 0c2a libcln6 liblapack3gf
libcwidget3 pidgin data libruby r doc html libsdl1.2debian alsa tcl8.4 dev
qt4 demos libvde0 python3.1 dcraw libnss3 dev libgadu3 xorg docs core
x11proto kb dev x11proto randr dev libwavpack1 libqt4 opengl libpsiconv6
libxinerama dev libcap2 bin network manager pptp pptp linux
libgtkhtml editor common gcc 4.4 avahi utils apache2 utils m17n db toshset
libgcj10 cpu checker libglitz glx1 compizconfig backend gconf
libreadline6 dev freetds common transmission common libopenssl ruby
libglibmm 2.4 1c2a libgssrpc4 libsqlite3 ruby1.8 libxosd2 libobparser21
mesa common dev libpcrecpp0 erlang runtime tools procmail libsvn1 xtrans dev
libindicate4 libtspi1 libdevkit power gobject1 vbetool libcue1
gstreamer0.10 gnonlin libx264 85 liblapack dev libmcrypt4 samba common
librecode0 libiec61883 0 xinput libelf1 libforms1 libvlc2 libxres1
libcairomm 1.0 1 acpid libgdata common root plugin gl tidy finger
liblink grammar4 libgnome mag2 gettext libqt4 help libshadow ruby1.8
x11proto input dev samba4 common bin xmms2 plugin id3v2 ruby libgee2
libenca0 cfortran cups common uno libs3 rtkit samba doc libpulse browse0
libsdl1.2debian libexempi3 libhpmud0 x11proto fixes dev libijs 0.35
xubuntu wallpapers aumix gcc libpkcs11 helper1 gdb libsilc 1.1 2
liblog4r ruby1.8 linux headers 2.6.32 74 hal libgoocanvas common sendmail cf
liblouis0 linux headers 2.6.32 74 generic tk8.4 dev libmikmod2
libmono system data2.0 cil libtirpc1 oss compat libglu1 mesa dev
iputils arping zend framework bin libedata book1.2 2 libgconfmm 2.6 1c2
openssh client expect libresid builder0c2a libreadline5 libgdome2 0
libdrm dev phonon backend xine libsmi2ldbl libupnp3 libaprutil1 dbd sqlite3
speech dispatcher libqt4 multimedia x11proto xext dev libredcloth ruby
libssl dev vgabios mono gac libcolamd2.7.1 libnm glib2 libxt dev
kdepimlibs data irb modemmanager libboost thread1.40.0 tzdata java
apport symptoms libevent 1.4 2 gconf defaults service libxext dev
libpulse mainloop glib0 libegroupwise1.2 13 libbuilder ruby1.8 apache2.2 bin
libgme0 libtevent0 facter php5 pspell gfortran erlang mnesia freepats libaa1
libncurses ruby1.8 libspeexdsp1 libieee1284 3 libiptcdata0 znc perl
x11proto damage dev libxcb keysyms1 linux headers generic python2.6 dev
rsync erlang public key manpages libneon27 gnutls liba52 0.7.4 ffmpeg
libglitz1 libao2 mono 2.0 gac qtcreator doc libdjvulibre21 libxine1 console
zlib1g dev liberb ruby lesstif2 liblzo2 2 xfonts 100dpi libspeechd2
libffado2 libmmap ruby1.8 rdoc1.8 lxmenu data xmms2 plugin alsa libflac8
im switch libxpm dev ppp libxfce4util common xdg utils libwildmidi0
libzzip 0 13 libjs cropper liborc 0.4 0 squid langpack
gstreamer0.10 pulseaudio libfreetype6 dev libshout3 libdv4 libdvdnav4
libmono sharpzip2.84 cil libxau dev librpmbuild0 xfce4 power manager data
libxmmsclient6 thunar data libdvdread4 ssh libgdata6 libdaemons ruby1.8
libblas3gf fglrx modaliases libtotem plparser17 libgs8 nvidia 96 modaliases
php5 mcrypt tcl8.4 tcl8.5 libqt4 assistant ure libkate1 pinyin database
libcdaudio1 libmimic0 erlang inets xmms2 core libkadm5clnt mit7
libvisual 0.4 plugins ttf dejavu emacsen common libxine1 misc plugins
ttf arphic bsmi00lp libm17n 0 libdecoration0 liblircclient0 xz utils
libxfce4util4 libxxf86misc1 m17n contrib libroot5.18 libgupnp igd 1.0 2
psutils libsidplay1 libsidplay2 qtcreator bcrelay usbutils smartdimmer
language pack zh hans base gnome desktop data opencryptoki python3.1 minimal
libkadm5srv mit7 libc ares2 libc6 dev libldb0 jackd firewire apparmor
libtorrent11 libupower glib1 libphonon dev libpackagekit glib2 12 tk8.4
tk8.5 libxml simple ruby liblua5.1 0 libanthy0 libxcomposite dev libtag1c2a
libcamel1.2 14 libsoundtouch1c2 libgmpxx4ldbl libwnck common
libxcb render0 dev app install data libxrender dev xmms2 plugin vorbis
libxfce4util bin libxmmsclient glib1 media player info libmad0 rubygems1.8
libdb4.7 xorg puppet common ttf arphic gbsn00lp fortunes min libgfortran3
xfonts mathml libgpgme11 evolution data server common protobuf compiler
libid3tag0 libpcre3 dev html2text libopencore amrnb0 imagemagick
libtorrent rasterbar5 libhtml tagset perl radeontool vlc data libzephyr4
docbook defguide erlang ssl libgraphite3 libmusicbrainz4c2a libpulse0
libx11 dev libwpg 0.1 1 libaiksaurus 1.2 0c2a libtar libkdb5 4 hal info
libruby1.8 extras libqt3 mt miscfiles libprelude2 x11proto composite dev
qt4 dev tools linux libc dev libdesktopcouch glib 1.0 2
openoffice.org common patch manpages dev kdelibs data xvfb samba common bin
libgnome menu2 libcelt0 0 libgcj common language pack zh hans
libdirac encoder0 language pack zh hant streamripper vzquota liblua50
libebackend1.2 0 xfconf krb5 multidev info dvd+rw tools libqt4 scripttools
jackd libglu1 mesa bridge utils libdjvulibre text libpaper utils
libavahi gobject0 libsox1a libcupsmime1 libc dev bin libroot minuit5.18
libmocha ruby libnice0 root plugin proof compiz core libxcb1 dev libimlib2
libopenssl ruby1.8 libxcb shape0 libgssglue1 libvala0 tinymce
gstreamer0.10 nice libreadline ruby1.8 cl asdf libloudmouth1 0 libssh 4
libjs jquery libxcb shm0 libdirectfb dev libvlccore2 binutils
kdebase runtime data libjpeg62 dev min12xxw libevtlog0 znc extra
qt4 doc html libaprutil1 nvidia 173 modaliases p7zip full mscompress
libproxychains3 libossp uuid16 libprotoc5 libmpcdec3 libgdata1.2 1
libopencore amrwb0 bcmwl modaliases xmms2 icon libnet1 libnss3 1d
gstreamer0.10 plugins base x11proto core dev dpatch xmms2 client cli
keyutils adium theme ubuntu libsndfile1 dmidecode libgssdp 1.0 2
root system common xmms2 client nycli libsqlite3 ruby regina3 dvb apps
libxine1 bin libxdmcp dev libtidy 0.99 0 libpthread stubs0 dev libsysfs dev
pulseaudio utils libofa0 libxcursor dev libmpeg2 4 libedataserver1.2 11
qt4 designer libbz2 dev libmms0 libpaper1 ri1.8 quanta data
telepathy mission control 5 xpdf common notify osd icons unhide
libasound2 plugins libjs mootools libxine1 ffmpeg libpisync1 libvdeplug2
erlang base libboost filesystem1.40.0 libstdc++6 4.4 dev wdiff libebook1.2 9
libgdome2 cpp smart0c2a libgtksourceview2.0 common libfaad2 qemu common
libtag1 vanilla libxine1 libsmpeg0 libreadline dev libpng12 dev
Use 'apt-get autoremove' to remove them.
Suggested packages:
latex xft fonts firefox gnome support kmozillahelper
The following NEW packages will be installed:
firefox
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/24.9MB of archives.
After this operation, 55.2MB of additional disk space will be used.
Selecting previously deselected package firefox.
(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 ... 229184 files and directories currently installed.)
Unpacking firefox (from .../firefox_20.0+build1 0ubuntu0.10.04.3_amd64.deb) ...
Processing triggers for man db ...
Processing triggers for desktop file utils ...
Setting up firefox (20.0+build1 0ubuntu0.10.04.3) ...
update alternatives: using /usr/bin/firefox to provide /usr/bin/gnome www browser (gnome www browser) in auto mode.
update alternatives: using /usr/bin/firefox to provide /usr/bin/x www browser (x www browser) in auto mode.
Please restart all running instances of firefox, or you will experience problems.

root@hiox:~


Related Topics

Apt Get Commands