How do you install libgtk2.0 dev in Linux using apt-get command?
Here is a tutorial to learn how to install libgtk2.0 dev using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install libgtk2.0 dev -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of libgtk2.0 dev if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install libgtk2.0 dev -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
samba ldb tools x11 apps libusbip0 libmono data tds2.0 cil libsmbclient
r cran foreign libgupnp av 1.0 2 libplist1 liblash2 libxcb aux0 libqrencode3
libxfce4menu 0.1 0 qt4 doc libbreakpoint ruby1.8 echoping menu
libavahi qt3 1 syslinux libtalloc2 openssh server libpackagekit qt 12
libical0 python3 minimal r cran cluster libwpd8c2a libcommons pool java
ruby1.8 dev gconf2 common libcdio10 hdparm libopencryptoki0 dnsmasq base
libtwolame0 libmono security2.0 cil libnet ssleay perl libgsf 1 common
libqca2 iputils tracepath xfonts 75dpi libzbar0 libmtp8 rpm2cpio
gedit common xsltproc libgutenprint2 libsilcclient 1.1 3 libxcb atom1
erlang crypto libecj java xserver xorg video all libxml sax perl
libxml++2.6 2 lp solve cervisia libgail18 libarchive1 xserver xorg video apm
libntfs10 libaiksaurus 1.2 data realpath libpth20 libdigest sha1 perl
laptop detect xserver xorg video ark libunique 1.0 0 libflite1
r cran kernsmooth xserver xorg video ati authbind libgmime 2.4 2 libv4l 0
libcupsppdc1 ttf dejavu extra telepathy gabble libhal storage1
libmono system2.0 cil xfonts scalable libcdio paranoia0 libcompizconfig0
libwebkit 1.0 common squashfs tools libcupsimage2 gamin libgphoto2 port0
unetbootin translations usbmuxd irb1.8 libxml sax expat perl
gstreamer0.10 plugins bad libaugeas ruby1.8 libxklavier16 libxxf86dga1
libnet dbus perl libxine1 x libcupscgi1 libcaca0 libmeanwhile1
libgudev 1.0 0 libgnomecanvas2 0 poppler utils gfortran 4.4
root plugin asimage xserver xorg video openchrome erlang xmerl
intel gpu tools xbase clients speedy cgi perl libmono sqlite2.0 cil
snort rules default gstreamer0.10 plugins ugly libavc1394 0 r cran rpart
esound clients libbonobo2 common libcupsdriver1 libfile homedir perl
putty tools libotf0 libsgutils2 2 libprotobuf5 gnome mime data libmodplug0c2
libblas dev libbuilder ruby squid3 common libqmmp misc libxml parser perl
link grammar dictionaries en libqmmp0 obexd client x11 utils
libboost system1.40.0 libmagickcore2 liburi perl libaugeas0 upower
libsox fmt base libcmdparse2 ruby1.8 libotr2 libtie ixhash perl libqmmpui0
xserver xorg video s3virge libots0 desktop file utils xserver xorg video v4l
dnsutils libspectre1 r cran mass x11 xkb utils libcairo perl libfluidsynth1
xserver xorg video mga gvfs backends libxnee0 libgpod common comerr dev
libsvga1 obex data server libhtml parser perl libparted0debian1
xserver xorg video chips libecal1.2 7 libbeagle1 libmono corlib2.0 cil
patchutils libaio1 libsane udisks libimobiledevice0 odbcinst1debian1
libqt4 test libvarnish1 dhcp3 server libqpdf3 seabios icedtea netx
transmission cli libhyphen0 erlang syntax tools cmake data libgl1 mesa dev
r cran mgcv xserver xorg core r cran spatial libftgl2 liblouis data
thunderbird xserver xorg video mach64 libxfconf 0 2 libibus1 libxxf86vm1
ttf dustin libzend framework php tftpd hpa libproxy0 libjpeg progs libpst4
xterm libnspr4 dev libboost program options1.40.0 libnm util1 kdelibs5
xserver common snort common libraries libtagc0 libxcb xv0 libgl1 mesa dri
libsox fmt alsa libbonobo2 0 libtdb1 libmagickwand2 libvte common phonon
libpvm3 aumix common libsctp1 libfile which perl language pack zh hant base
hpijs xserver xorg video trident docbook xml libgupnp 1.0 3 libgmp3 dev rake
libexo common nvidia current modaliases cups client logrotate squid common
libgl1 mesa glx mobile broadband provider info libncurses5 dev
xserver xorg video sis libpcap0.8 libdca0 libx86 1 libfont afm perl
abiword common r base dev oxygen icon theme libpisock9 xmms2 plugin pulse
libqt4 phonon dev libx11 protocol perl php5 sqlite m4
plasma scriptengine javascript java common dosfstools libmocha ruby1.8
libgdata google1.2 1 libmono i18n west2.0 cil xauth librpmio0 lksctp tools
augeas lenses librpm0 guile 1.8 libs libwps 0.1 1 libwbclient0 rpm common
aptitude liblualib50 xfdesktop4 data icedtea 6 jre cacao scala library
libxml namespacesupport perl rdoc libedata cal1.2 6 libxnconfig9.0.5
libterm readkey perl wireshark common libnspr4 0d libslp1 libfftw3 3 libucl1
whois trousers libredcloth ruby1.8 libdotconf1.0
xserver xorg video siliconmotion xdg user dirs default jre headless
libnotify1 libstartup notification0 libtpm unseal0 libass4
openoffice.org style human libcurses ui perl libgoffice 0.8 8 common
xserver xorg input vmmouse libavahi glib1 subversion r cran lattice
fortune mod evolution common libkrb5 dev xfce keyboard shortcuts
libmono posix2.0 cil libcouchdb glib 1.0 2 odbcinst znc tcl mono runtime
libvisual 0.4 0 r cran nlme telepathy salut libsigc++ 2.0 0c2a libcln6
liblapack3gf xserver xorg video savage libfile desktopentry perl libgpod4
mtools libxmuu1 libcanberra gtk module libcwidget3 pidgin data libruby
libcanberra0 r doc html r cran nnet libproc simple perl openjdk 6 jre lib
libsdl1.2debian alsa tcl8.4 dev qt4 demos libvde0 libhttp server simple perl
python3.1 dcraw libnss3 dev libgadu3 xorg docs core libwavpack1
libqt4 opengl libsoup gnome2.4 1 libpsiconv6 libcap2 bin
xserver xorg video tdfx network manager pptp pptp linux
libgtkhtml editor common avahi utils x11 session utils m17n db toshset
cpu checker libglitz glx1 compizconfig backend gconf libreadline6 dev
kdesudo freetds common transmission common libopenssl ruby
libglibmm 2.4 1c2a libgssrpc4 libsqlite3 ruby1.8 libxosd2 libobparser21
mesa common dev libgamin0 libcommons collections java libpcrecpp0
snort common apache2 erlang runtime tools libhtml tree perl librsvg2 common
procmail r recommended libsvn1 openjdk 6 jre headless r cran class
libindicate4 libwnck22 libakonadiprivate1 libtspi1 libdevkit power gobject1
libsexy2 vbetool libcue1 gstreamer0.10 gnonlin libx264 85 liblapack dev
libxcb event1 xserver xorg video intel libindicator0 samba common librecode0
libgconf2 4 libffi5 libiec61883 0 xinput libelf1 libforms1 libvlc2 libxres1
xserver xorg input all libmailtools perl libcairomm 1.0 1 acpid
libgdata common root plugin gl tidy finger liblink grammar4 libgnome mag2
libqt4 help libshadow ruby1.8 xbitmaps cmake samba4 common bin
xmms2 plugin id3v2 ruby libgp11 0 libgee2 libenca0 cfortran
libgnome2 gconf perl cups common uno libs3 rtkit xserver xorg video vmware
samba doc libpulse browse0 r base core libsdl1.2debian libexempi3 libhpmud0
libxml simple perl libijs 0.35 xserver xorg video r128 xubuntu wallpapers
aumix libwww mechanize perl libgdu0 gdb libsilc 1.1 2 libhal1
liblog4r ruby1.8 linux headers 2.6.32 74 xfonts base hal
xserver xorg input evdev libdbusmenu glib1 libtomcat6 java
libgoocanvas common binfmt support libesd0 sendmail cf liblouis0 libept0
linux headers 2.6.32 74 generic tk8.4 dev libmikmod2 libavahi ui0
libmono system data2.0 cil libtirpc1 oss compat libglu1 mesa dev
iputils arping zend framework bin libedata book1.2 2 xserver xorg video vesa
libgconfmm 2.6 1c2 openssh client expect libresid builder0c2a libreadline5
libgdome2 0 libdrm dev sudo phonon backend xine x11 xfs utils libsmi2ldbl
libupnp3 speech dispatcher sendmail base libqt4 multimedia libredcloth ruby
libssl dev vgabios mono gac libcolamd2.7.1 libnm glib2 libsnmp session perl
libxt dev libconfig grammar perl kdepimlibs data libvte9
libfile basedir perl xulrunner 1.9.2 irb modemmanager libboost thread1.40.0
tzdata java apport symptoms libevent 1.4 2 gconf defaults service
libdbusmenu gtk1 libpulse mainloop glib0 libegroupwise1.2 13
libbuilder ruby1.8 libgme0 libcommons dbcp java icoutils libtevent0 facter
php5 pspell gfortran erlang mnesia libgsf 1 114 libgtop2 common freepats
libaa1 libncurses ruby1.8 libopenobex1 libspeexdsp1 x11 xserver utils
libieee1284 3 rarian compat r cran survival libiptcdata0 znc perl
libcurses perl libxcb keysyms1 linux headers generic python2.6 dev rsync
vnc4server powermgmt base erlang public key libidl0 mpd libneon27 gnutls
libxapian15 liba52 0.7.4 ffmpeg libglitz1 xserver xorg video s3 xserver xorg
libao2 mono 2.0 gac qtcreator doc libdjvulibre21 libglade2 0
libxine1 console liberb ruby lesstif2 policykit 1 gnome libcanberra gtk0
xserver xorg video nv libvorbisfile3 xfonts 100dpi libspeechd2 libffado2
esound common xserver xorg video voodoo xserver xorg video fbdev
module assistant xserver xorg input wacom libmmap ruby1.8 rdoc1.8
lxmenu data xmms2 plugin alsa libflac8 im switch libxpm dev ppp
libxfce4util common libservlet2.5 java libglib perl xdg utils libwildmidi0
liberror perl xinit libzzip 0 13 libjs cropper liborc 0.4 0 squid langpack
gstreamer0.10 pulseaudio libshout3 xserver xorg video nouveau libdv4
libdvdnav4 libhtml format perl libatasmart4 libmono sharpzip2.84 cil
librpmbuild0 xfce4 power manager data libxmmsclient6 r cran boot
polkit kde 1 thunar data libfs6 libdvdread4 ssh gstreamer0.10 x libgdata6
libdaemons ruby1.8 libblas3gf xserver xorg video neomagic fglrx modaliases
libtotem plparser17 libgs8 nvidia 96 modaliases tcl8.4 tcl8.5
libqt4 assistant ure libkate1 pinyin database libplasma3 libcdaudio1
libmimic0 xserver xorg input mouse erlang inets libgtop2 7 xmms2 core squid
ntfsprogs libkadm5clnt mit7 libvisual 0.4 plugins ttf dejavu emacsen common
libxine1 misc plugins ttf arphic bsmi00lp libusbmuxd1 libappindicator0
libm17n 0 libdecoration0 libpciaccess0 liblircclient0 kdepimlibs5
libgnomeui common libxfce4util4 libxxf86misc1 m17n contrib libroot5.18
littler libwebkit 1.0 2 libgupnp igd 1.0 2 libgnome keyring0 libsocket6 perl
psutils libsidplay1 libsidplay2 kdelibs bin qtcreator bcrelay usbutils
smartdimmer libxvmc1 language pack zh hans base gnome desktop data
opencryptoki python3.1 minimal libkadm5srv mit7 libc ares2 libldb0
jackd firewire apparmor libtorrent11 libupower glib1 libphonon dev liborbit2
libpackagekit glib2 12 tk8.4 tk8.5 libxml simple ruby liblua5.1 0 libanthy0
libtag1c2a libcamel1.2 14 cvsservice librsvg2 2 tomcat6 common
libsoundtouch1c2 libgmpxx4ldbl libwnck common app install data
xmms2 plugin vorbis libxfce4util bin libxmmsclient glib1 sgml data
media player info libmad0 rubygems1.8 libdb4.7 libxml xpath perl xorg
kompare libfile mimeinfo perl puppet common ttf arphic gbsn00lp fortunes min
libgfortran3 xfonts mathml libgpgme11 libart 2.0 2
evolution data server common git core protobuf compiler
liblaunchpad integration1 libid3tag0 libpcre3 dev ca certificates java
libopencore amrnb0 libcdio cdda0 imagemagick libtorrent rasterbar5
libhtml tagset perl radeontool vlc data libzephyr4 xserver xorg video sisusb
docbook defguide r cran codetools erlang ssl libgraphite3 libgvfscommon0
libmusicbrainz4c2a libpulse0 libwpg 0.1 1 libaiksaurus 1.2 0c2a
kdebase runtime oinkmaster libtar libkdb5 4 hal info r base html
libruby1.8 extras libqt3 mt miscfiles libprelude2 gvfs qt4 dev tools
libdesktopcouch glib 1.0 2 openoffice.org common kdelibs data xvfb
samba common bin libgnome menu2 libcelt0 0 language pack zh hans
libdirac encoder0 language pack zh hant libwww perl streamripper
libxmlrpc c3 xserver xorg video tseng xserver xorg video radeon
common lisp controller vzquota liblua50 libebackend1.2 0 xfconf
krb5 multidev scrollkeeper dvd+rw tools libexif12 libqt4 scripttools jackd
libglu1 mesa bridge utils libdjvulibre text libpaper utils libavahi gobject0
libsox1a libcupsmime1 libnet libidn perl libroot minuit5.18 libmocha ruby
libnice0 root plugin proof compiz core libimlib2 libopenssl ruby1.8
libxcb shape0 libgssglue1 libvala0 tinymce xserver xorg video cirrus
gstreamer0.10 nice libreadline ruby1.8 cl asdf libbonoboui2 common
libloudmouth1 0 libssh 4 libjs jquery perlmagick libxcb shm0 libvlccore2
kdebase runtime data min12xxw libevtlog0 libxv1 znc extra
libio socket ssl perl libjson glib 1.0 0 qt4 doc html libxmlrpc core c3
nvidia 173 modaliases p7zip full mscompress openjdk 6 jre libproxychains3
libossp uuid16 libprotoc5 libmpcdec3 libpam gnome keyring libgdata1.2 1
libopencore amrwb0 openbsd inetd libjline java bcmwl modaliases
gnome icon theme r cran matrix xmms2 icon indicator application libnet1
libnss3 1d gstreamer0.10 plugins base dpatch xmms2 client cli keyutils
adium theme ubuntu libsndfile1 xserver xorg input synaptics libxml twig perl
libdigest hmac perl dmidecode libgssdp 1.0 2 root system common
xmms2 client nycli libsqlite3 ruby regina3 dvb apps libxine1 bin
libtidy 0.99 0 xserver xorg video rendition pulseaudio utils libofa0
libmpeg2 4 libedataserver1.2 11 qt4 designer libxkbfile1
libgnomecanvas2 common libbz2 dev xserver xorg video i128 libmms0 libpaper1
ri1.8 libltdl7 quanta data telepathy mission control 5 xpdf common
notify osd icons unhide libasound2 plugins thunderbird locale pt
libjs mootools libxine1 ffmpeg libpisync1 libvdeplug2 erlang base
libsort naturally perl libsoup2.4 1 libboost filesystem1.40.0
libio socket inet6 perl libgphoto2 2 wdiff libebook1.2 9
libgdome2 cpp smart0c2a libgtksourceview2.0 common libfaad2 qemu common
libtag1 vanilla libxine1 libaudiofile0 libsmpeg0 libreadline dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
debhelper libatk1.0 dev libcairo2 dev libdirectfb dev libdirectfb extra
libexpat1 dev libfontconfig1 dev libglib2.0 dev libpango1.0 dev libxft dev
pkg config
Suggested packages:
dh make libcairo2 doc libglib2.0 doc python subunit libgtk2.0 doc
libpango1.0 doc
The following NEW packages will be installed:
debhelper libatk1.0 dev libcairo2 dev libdirectfb dev libdirectfb extra
libexpat1 dev libfontconfig1 dev libglib2.0 dev libgtk2.0 dev
libpango1.0 dev libxft dev pkg config
0 upgraded, 12 newly installed, 0 to remove and 1 not upgraded.
Need to get 8590kB/9106kB of archives.
After this operation, 38.5MB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libglib2.0 dev 2.24.1 0ubuntu2 [1286kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libatk1.0 dev 1.30.0 0ubuntu2.1 [116kB]
Get:3 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libexpat1 dev 2.0.1 7ubuntu1.1 [222kB]
Get:4 http://old releases.ubuntu.com/ubuntu/ lucid/main libfontconfig1 dev 2.8.0 2ubuntu1 [657kB]
Get:5 http://old releases.ubuntu.com/ubuntu/ lucid/main libdirectfb extra 1.2.8 5ubuntu2 [36.8kB]
Get:6 http://old releases.ubuntu.com/ubuntu/ lucid/main libdirectfb dev 1.2.8 5ubuntu2 [924kB]
Get:7 http://old releases.ubuntu.com/ubuntu/ lucid/main libcairo2 dev 1.8.10 2ubuntu1 [632kB]
Get:8 http://old releases.ubuntu.com/ubuntu/ lucid/main libxft dev 2.1.14 1ubuntu1 [72.1kB]
Get:9 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libpango1.0 dev 1.28.0 0ubuntu2.2 [466kB]
Get:10 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libgtk2.0 dev 2.20.1 0ubuntu2.1 [4178kB]
Fetched 8590kB in 2s (3017kB/s)
Selecting previously deselected package debhelper.
(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 ... 235254 files and directories currently installed.)
Unpacking debhelper (from .../debhelper_7.4.15ubuntu1_all.deb) ...
Selecting previously deselected package pkg config.
Unpacking pkg config (from .../pkg config_0.22 1build2_amd64.deb) ...
Selecting previously deselected package libglib2.0 dev.
Unpacking libglib2.0 dev (from .../libglib2.0 dev_2.24.1 0ubuntu2_amd64.deb) ...
Selecting previously deselected package libatk1.0 dev.
Unpacking libatk1.0 dev (from .../libatk1.0 dev_1.30.0 0ubuntu2.1_amd64.deb) ...
Selecting previously deselected package libexpat1 dev.
Unpacking libexpat1 dev (from .../libexpat1 dev_2.0.1 7ubuntu1.1_amd64.deb) ...
Selecting previously deselected package libfontconfig1 dev.
Unpacking libfontconfig1 dev (from .../libfontconfig1 dev_2.8.0 2ubuntu1_amd64.deb) ...
Selecting previously deselected package libdirectfb extra.
Unpacking libdirectfb extra (from .../libdirectfb extra_1.2.8 5ubuntu2_amd64.deb) ...
Selecting previously deselected package libdirectfb dev.
Unpacking libdirectfb dev (from .../libdirectfb dev_1.2.8 5ubuntu2_amd64.deb) ...
Selecting previously deselected package libcairo2 dev.
Unpacking libcairo2 dev (from .../libcairo2 dev_1.8.10 2ubuntu1_amd64.deb) ...
Selecting previously deselected package libxft dev.
Unpacking libxft dev (from .../libxft dev_2.1.14 1ubuntu1_amd64.deb) ...
Selecting previously deselected package libpango1.0 dev.
Unpacking libpango1.0 dev (from .../libpango1.0 dev_1.28.0 0ubuntu2.2_amd64.deb) ...
Selecting previously deselected package libgtk2.0 dev.
Unpacking libgtk2.0 dev (from .../libgtk2.0 dev_2.20.1 0ubuntu2.1_amd64.deb) ...
Processing triggers for man db ...
Processing triggers for doc base ...
Processing 2 added doc base file(s)...
Registering documents with scrollkeeper...
Setting up debhelper (7.4.15ubuntu1) ...
Setting up pkg config (0.22 1build2) ...
Setting up libglib2.0 dev (2.24.1 0ubuntu2) ...
Setting up libatk1.0 dev (1.30.0 0ubuntu2.1) ...
Setting up libexpat1 dev (2.0.1 7ubuntu1.1) ...
Setting up libfontconfig1 dev (2.8.0 2ubuntu1) ...
Setting up libdirectfb extra (1.2.8 5ubuntu2) ...
Setting up libdirectfb dev (1.2.8 5ubuntu2) ...
Setting up libcairo2 dev (1.8.10 2ubuntu1) ...
Setting up libxft dev (2.1.14 1ubuntu1) ...
Setting up libpango1.0 dev (1.28.0 0ubuntu2.2) ...
Setting up libgtk2.0 dev (2.20.1 0ubuntu2.1) ...
root@hiox:~