How do you install gufw in Linux using apt-get command?
Here is a tutorial to learn how to install gufw using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install gufw -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of gufw if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install gufw -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 libedit2 libgnumail java php fpdf menu xdg ejabberd
asymptote doc libsm dev jsvc libavahi qt3 1 syslinux libnet daemon perl
libnumber compare perl libpackagekit qt 12 erlang eunit libwpd8c2a
libswscale0 libcdio10 idzebra 2.0 utils libdb je java libmono npgsql2.0 cil
dnsmasq base libtwolame0 krita data junit4 espeak python notify kicad common
libmono security2.0 cil libnet ssleay perl libgsf 1 common xfonts 75dpi
libmtp8 rpm2cpio extra xdg menus libexcalibur logger java xsltproc
libgutenprint2 libxcb atom1 erlang crypto libg15daemon client1 guile 1.8
python debian llvm ttf gfs bodoni classic libmono wcf3.0 cil gpsim
console setup libice dev lp solve liboro java libmono peapi2.0 cil
libavutil49 libwxbase2.8 0 libaiksaurus 1.2 data libappframework java
libdigest sha1 perl libflite1 gputils doc kword data 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
libnet ip perl libdb4.7 java libmono simd2.0 cil libmono system2.0 cil
libmono1.0 cil xfonts scalable libexpat1 dev libcdio paranoia0 libiw dev
libmono system ldap1.0 cil python twisted bin libwebkit 1.0 common
squashfs tools erlang corba bind9 host libmono0 libiceutil33 enblend
python mako erlang asn1 usbmuxd libnet dns perl libxdamage dev ttf gfs olga
lib32ncurses5 python avahi pkg config libavalon framework java gcj 4.4 base
libxklavier16 libcupscgi1 libmono getoptions1.0 cil poppler utils
libmono cscompmgd8.0 cil dirmngr libmono data1.0 cil ktorrent data
libkpathsea5 erlang xmerl intel gpu tools xbase clients preview latex style
libmono sharpzip0.84 cil libmono sqlite2.0 cil texlive lvm2
libmono ldap1.0 cil libhfsp0 libdlr0.9 cil libpthread stubs0 ttf gfs didot
idzebra 2.0 common libavc1394 0 smbclient libjtidy java libcupsdriver1
libjzlib java nmap libotf0 tex4ht erlang snmp libprotobuf5 iso codes
libcfitsio3 libmono management2.0 cil libkipi7 python pycurl libicu4j java
erlang tools libboost system1.40.0 libfreemarker java libservlet2.4 java
anthy desktop file utils pulseaudio python couchdb clamav python openssl
libqtscript4 network x11 xkb utils libxalan2 java libcairo perl enfuse
gputils libcommons jexl java libfluidsynth1 obex data server erlang edoc
libyaml syck perl libbeagle1 libmono corlib2.0 cil libaio1 libsane
libxfixes dev libimobiledevice0 g++ 4.4 libboost signals1.40.0
odbcinst1debian1 libqt4 test libgnuinet java dhcp3 server
libidzebra 2.0 mod text php5 seabios lxde icon theme libhyphen0
libsdl mixer1.2 erlang syntax tools ipvsadm cli common
libmono system web mvc1.0 cil libglew1.5 libfile find rule perl
ttf gfs theokritos libasm2 java libibus1 tftpd hpa libproxy0 libjpeg progs
libqtscript4 gui xterm libnspr4 dev default jdk doc libxcb render util0 dev
libnm util1 llvm dev python imaging libmono cairo2.0 cil xserver common
libtagc0 libmono relaxng1.0 cil python httplib2 libtdb1 libdbi perl
libvte common python egenix mxtools libsctp1 libplot2c2 texlive pstricks
ttf gfs artemisia docbook xml libidzebra 2.0 mod dom libavfilter0
nvidia current modaliases libgnomevfs2 extra foomatic filters
python software properties lbreakout2 data lmms common
libnb platform devel java x11proto xinerama dev ttf sil gentium libdca0
libx86 1 screen x11proto render dev libindicate gtk2 libdate manip perl
python indicate libidzebra 2.0 mod grs xml ttf gfs porson bc libdns64
libxi dev m4 python zope.interface at 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
autoconf libchm1 ttf opensymbol notification daemon python apt
libxnconfig9.0.5 libterm readkey perl libparse recdescent perl
wireshark common libpixman 1 dev libsqlite0 libslp1 groff base libfftw3 3
python gnomekeyring libportmidi0 whois libdirectfb extra libswingx java
java wrappers libdotconf1.0 libmono microsoft7.0 cil gdebi core
libmono system messaging2.0 cil libavdevice52 libnotify1
libmono system web1.0 cil libstartup notification0 libass4 libjs prototype
libapache2 mod php5 clamav base libpano13 bin subversion libtag extras1
linux source 2.6.32 libmono accessibility1.0 cil libmono webbrowser0.5 cil
libmono posix2.0 cil odbcinst g++ mono runtime libvisual 0.4 0
libfontconfig1 dev libreadline java apturl common libcln6
libsensors applet plugin0 liblapack3gf libclamav6 libcommons compress java
libcanberra0 libqtscript4 sql intltool debian erlang webtool php5 gd dcraw
kompozer data libnss3 dev xorg docs core x11proto kb dev libswingworker java
luatex libprocessui4 texlive bibtex extra x11proto randr dev python serial
libsoup gnome2.4 1 libsaxon java zlib bin caps texlive generic recommended
john data libxinerama dev libisccc60 libcap2 bin network manager pptp
libmono system runtime2.0 cil pptp linux mono 2.0 devel libavcodec52 gcc 4.4
libprocesscore4 libopenctl0 x11 session utils m17n db toshset
libidzebra 2.0 0 cpu checker texlive latex recommended libc6 i386 kdesudo
texlive font utils mono csharp shell libglibmm 2.4 1c2a libgssrpc4
libopagent1 libhd16 libxosd2 libqtscript4 xml libobparser21 lib32gcc1
libpcrecpp0 libnss mdns libnova 0.12 2 texlive latex recommended doc
couchdb bin unixodbc erlang runtime tools librsvg2 common libg15render1
libsvn1 xtrans dev xkb data libatk1.0 dev ruby1.8 libwnck22 libportaudio2
python webkit libsexy2 libalut0 vbetool latex beamer libavahi core6 libcue1
libmenu cache1 libxcb event1 gputils common libmcrypt4 libjs jac python pam
samba common idle python2.6 libiec61883 0 libhwloc0 xinput libelf1 libforms1
texlive binaries lib32asound2 libxres1 libxstream java libcairomm 1.0 1
acpid libgtkspell0 erlang docbuilder finger libmono i18n1.0 cil gettext
hugin data libqt4 help ant php pear time libmono oracle1.0 cil arj xbitmaps
blt x11proto input dev python desktopcouch libnb platform11 java tipa
xmms2 plugin id3v2 libvirt0 ruby texlive latex base doc
libmono messaging2.0 cil gwyddion common default jdk libmono rabbitmq2.0 cil
kde window manager libenca0 latex xcolor libjsch java icewm common
libsvn java uno libs3 bsh rtkit python tk libpulse browse0 libjetty java doc
libexempi3 x11proto fixes dev koffice libs liblwres60 fckeditor
mingw32 runtime libijs 0.35 libqt4 gui libt1 5 gcc
libxml commons resolver1.1 java libpkcs11 helper1 libcobertura java gdb cvs
libcurl3 libjs scriptaculous xfonts base libmono winforms1.0 cil libfli1
libxen3 texlive xetex libmono db2 1.0 cil ant optional kdiff3 doc
pulseaudio esound compat binfmt support amarok utils libhttrack2 fop
libmikmod2 libjcharts java libkdecorations4 libmono system data2.0 cil
iputils arping openssh client libgtkglext1 libcommons net java
console terminus libresid builder0c2a libreadline5 libmono2.0 cil
erlang inviso x11 xfs utils python xdg libsmi2ldbl krosspython
libmono system ldap2.0 cil speech dispatcher libmono bytefx0.7.6.1 cil
libmono data tds1.0 cil libbsf java x11proto xext dev espeak data kbd
vgabios mono gac libcolamd2.7.1 python vte libnm glib2 texlive luatex
libxt dev libyaz3 libvte9 xulrunner 1.9.2 libmono sharpzip2.6 cil
libxml commons external java libcroco3 modemmanager
libmono getoptions2.0 cil libboost thread1.40.0 apport symptoms
libmono data2.0 cil libevent 1.4 2 libxext dev texlive metapost
libpulse mainloop glib0 libgme0 libmono npgsql1.0 cil erlang mnesia
libgsf 1 114 libgtop2 common librarian0 freepats libmono ldap2.0 cil
libmono messaging rabbitmq2.0 cil libmono security1.0 cil libphp phpmailer
libopenobex1 libspeexdsp1 libieee1284 3 rarian compat libiptcdata0
x11proto damage dev php xml htmlsax3 rsync python dbus erlang public key
libdbd mysql perl manpages libbind9 60 libneon27 gnutls ffmpeg nbd server
libmono peapi1.0 cil libvncserver0 libglib2.0 cil kstars data amarok common
mono 2.0 gac libpostproc51 libkwineffects1 pax libglib2.0 dev libwv2 4
libidzebra 2.0 modules texlive fonts recommended doc pgf zlib1g dev
libdevmapper event1.02.1 lesstif2 liblzo2 2 hddtemp libmono system1.0 cil
libdate calc perl pm utils ntp libcairo2 dev libqt3 mt mysql xfonts 100dpi
libspeechd2 monodoc base lxmenu data xmms2 plugin alsa ghostscript x
libpano13 1 fping libglib perl python twisted core libwildmidi0
python desktopcouch records netpbm tex4ht common liberror perl
libmono sharpzip0.6 cil xinit libradius1 geoip database python simplejson
erlang os mon libmono cscompmgd7.0 cil libidzebra 2.0 mod grs marc
liborc 0.4 0 gstreamer0.10 pulseaudio libraw1394 11 libespeak1
libfreetype6 dev libshout3 ttf gfs neohellenic libgsm1 libdv4 libdvdnav4
fancontrol build essential libservlet2.3 java libmono sqlite1.0 cil
libmono sharpzip2.84 cil libxau dev dpkg dev librpmbuild0 gwibber service
libxmmsclient6 debconf utils libcarp clan perl mingw32 binutils barcode
python gtkspell idzebra 2.0 doc python gnupginterface libfs6 libdvdread4
libmpdclient2 libmono relaxng2.0 cil libhtmlparser java libblas3gf
kdebase workspace kgreet plugins stk libtext glob perl libschroedinger 1.0 0
lilypond doc libksignalplotter4 fglrx modaliases libtotem plparser17
libavformat52 ttf gfs baskerville libmono microsoft build2.0 cil
libslf4j java nvidia 96 modaliases libcommons daemon java libnfsidmap2
tcl8.4 tcl8.5 libindi0 libdc1394 22 libqt4 assistant ure libmono dev
libkate1 pinyin database desktopcouch libcdaudio1 libmimic0 erlang inets
libgtop2 7 automake xmms2 core erlang ic libkadm5clnt mit7
libswing layout java libvisual 0.4 plugins libgstreamer plugins base0.10 0
libplrpc perl libcap ng0 libapparmor1 libusbmuxd1 texlive base libm17n 0
libgeoip1 libpciaccess0 libregexp java libperl5.10 xz utils libmysql java
libmono cecil private cil libmono corlib1.0 cil libxxf86misc1 m17n contrib
xfonts unifont libkscreensaver5 libwebkit 1.0 2 wwwconfig common
vorbis tools ibus pinyin db open phrase psutils libisccfg60 libsidplay2
usbutils smartdimmer erlang odbc libqtgtl0 python gdbm rhino
libkadm5srv mit7 clamav freshclam libc ares2 libc6 dev libsigsegv0
erlang nox libpackagekit glib2 12 tk8.4 libmono microsoft8.0 cil tk8.5
ttf gfs solomos libg15 1 liblua5.1 0 avahi daemon libanthy0 libzeroc ice33
libmono system web2.0 cil libxcomposite dev librsvg2 2 libmono cairo1.0 cil
libsoundtouch1c2 libstk0c2a libwnck common libxcb render0 dev
app install data libxrender dev xmms2 plugin vorbis libxmmsclient glib1
libmpg123 0 sgml data libmad0 libxmlgraphics commons java libnetpbm10
libmono accessibility2.0 cil iverilog ttf gfs gazis php5 ldap
texlive doc base texlive latex extra libpq5 libtommath0 libgfortran3
xfonts mathml git core libidzebra 2.0 mod alvis librpcsecgss3 man db
libgtksourceview2.0 0 libgwyddion2 0 libid3tag0 python pexpect
libavahi compat libdnssd1 html2text libcdio cdda0 texlive latex extra doc
lib32z1 radeontool erlang ssh erlang percept libhamcrest java xaw3dg
liblucene2 java erlang ssl xmms2 plugin mad libgraphite3 php5 mysql
libmono i18n west1.0 cil libxft dev python wnck texlive pictures libx11 dev
liboil0.3 libmhash2 liblrdf0 libwpg 0.1 1 libgc1c2 libaiksaurus 1.2 0c2a
global openjdk 6 doc libqtscript4 uitools libkdb5 4 hal info libqt3 mt
lib32stdc++6 miscfiles libmono bytefx0.7.6.2 cil x11proto composite dev
linux libc dev patch manpages dev kdelibs data libbeansbinding java
samba common bin libcelt0 0 libdirac encoder0 libgtlcore0
libboost regex1.40.0 tap plugins netcat traditional liblua50 php5 cli
libruby1.8 libmono system messaging1.0 cil scrollkeeper liblastfm0 info
libqt4 scripttools lib32v4l 0 bridge utils libisc60 libdbus 1 dev
autotools dev libcupsmime1 libc dev bin libnet libidn perl watershed
libxcb1 dev libkfontinst4 libgssglue1 openjdk 6 jdk tinymce
python pkg resources libmono posix1.0 cil libmail sendmail perl
libgstreamer0.10 0 libcommons digester java libloudmouth1 0 perl doc
libbatik java texlive math extra libjs jquery python egenix mxdatetime
perlmagick libqtscript4 core libdirectfb dev binutils systemsettings
libjpeg62 dev min12xxw texlive pictures doc libidzebra 2.0 dev portmap
libio socket ssl perl libini4j java libdbus glib 1 dev ncurses term
libjetty java nvidia 173 modaliases p7zip full mscompress
libmono i18n2.0 cil libplasma applet system monitor4
libsys hostname long perl erlang parsetools texlive pstricks doc
libnb svnclientadapter java php5 common libmono oracle2.0 cil libjline java
bcmwl modaliases php gettext libmono system runtime1.0 cil tex common
libusb 1.0 0 lacheck gstreamer0.10 plugins base x11proto core dev
javascript common lsb release freeglut3 libexcalibur logkit java
libdigest hmac perl libimage exiftool perl plasma widgets workspace regina3
dvb apps koffice data libxdmcp dev libpthread stubs0 dev libsysfs dev
pulseaudio utils libofa0 libxcursor dev libxkbfile1 libgdiplus libmms0
libmono winforms2.0 cil less oprofile mysql client 5.1 libbit vector perl
xpdf common libllvm2.7 texinfo libasound2 plugins libjs mootools
ttf gfs didot classic hplip data erlang base libsoup2.4 1 hugin tools
libboost filesystem1.40.0 libstdc++6 4.4 dev libgtksourceview2.0 common
libmail imapclient perl mono gmcs libfaad2 mercurial common
libidzebra 2.0 mod grs regx qemu common libsmpeg0 libpng12 dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
iptables libbonoboui2 0 libgnome2 0 libgnomecanvas2 0 libgnomeui 0
python gnome2 python gnomecanvas python pyorbit ufw
Suggested packages:
gnome icon theme python gnome2 doc python pyorbit dbg
The following NEW packages will be installed:
gufw iptables libbonoboui2 0 libgnome2 0 libgnomecanvas2 0 libgnomeui 0
python gnome2 python gnomecanvas python pyorbit ufw
0 upgraded, 10 newly installed, 0 to remove and 60 not upgraded.
Need to get 348kB/1,802kB of archives.
After this operation, 7,070kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/main ufw 0.30pre1 0ubuntu2 [129kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid updates/universe gufw 10.04.5 0ubuntu0.1 [218kB]
Preconfiguring packages ...
Fetched 348kB in 1s (274kB/s)
Selecting previously deselected package iptables.
(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 ... 175793 files and directories currently installed.)
Unpacking iptables (from .../iptables_1.4.4 2ubuntu2_amd64.deb) ...
Selecting previously deselected package ufw.
Unpacking ufw (from .../ufw_0.30pre1 0ubuntu2_all.deb) ...
Selecting previously deselected package libgnomecanvas2 0.
Unpacking libgnomecanvas2 0 (from .../libgnomecanvas2 0_2.30.1 0ubuntu1_amd64.deb) ...
Selecting previously deselected package python gnomecanvas.
Unpacking python gnomecanvas (from .../python gnomecanvas_2.28.0 1ubuntu1_amd64.deb) ...
Selecting previously deselected package python pyorbit.
Unpacking python pyorbit (from .../python pyorbit_2.24.0 5ubuntu3_amd64.deb) ...
Selecting previously deselected package libgnome2 0.
Unpacking libgnome2 0 (from .../libgnome2 0_2.30.0 0ubuntu1_amd64.deb) ...
Selecting previously deselected package libbonoboui2 0.
Unpacking libbonoboui2 0 (from .../libbonoboui2 0_2.24.3 0ubuntu1_amd64.deb) ...
Selecting previously deselected package libgnomeui 0.
Unpacking libgnomeui 0 (from .../libgnomeui 0_2.24.3 1_amd64.deb) ...
Selecting previously deselected package python gnome2.
Unpacking python gnome2 (from .../python gnome2_2.28.0 1ubuntu1_amd64.deb) ...
Selecting previously deselected package gufw.
Unpacking gufw (from .../gufw_10.04.5 0ubuntu0.1_all.deb) ...
Processing triggers for man db ...
Processing triggers for ureadahead ...
Processing triggers for desktop file utils ...
Processing triggers for hicolor icon theme ...
Processing triggers for menu ...
Setting up iptables (1.4.4 2ubuntu2) ...
Setting up ufw (0.30pre1 0ubuntu2) ...
Creating config file /etc/ufw/before.rules with new version
Creating config file /etc/ufw/before6.rules with new version
Creating config file /etc/ufw/after.rules with new version
Creating config file /etc/ufw/after6.rules with new version
Setting up libgnomecanvas2 0 (2.30.1 0ubuntu1) ...
Setting up python gnomecanvas (2.28.0 1ubuntu1) ...
Setting up python pyorbit (2.24.0 5ubuntu3) ...
Setting up libgnome2 0 (2.30.0 0ubuntu1) ...
Setting up libbonoboui2 0 (2.24.3 0ubuntu1) ...
Setting up libgnomeui 0 (2.24.3 1) ...
Setting up python gnome2 (2.28.0 1ubuntu1) ...
Processing triggers for python central ...
Setting up gufw (10.04.5 0ubuntu0.1) ...
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
Processing triggers for python support ...
Processing triggers for menu ...
root@hiox:~