How do you install bluez in Linux using apt-get command?
Here is a tutorial to learn how to install bluez using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install bluez -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of bluez if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install bluez -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
bzflag server libdbusmenu qt2 libopenal1 plasma widget kimpanel backend ibus
texlive common sane utils libproc processtable perl aspell en libxcb aux0
libdevel symdump perl libextlib ruby libsm dev libgd text perl python gnome2
menu syslinux libnet daemon perl libnumber compare perl libical0 libwpd8c2a
libsys cpuload perl nagios plugins basic gir1.0 glib 2.0 dnsmasq base bzip2
python notify pure ftpd common libnet ssleay perl libjson ruby1.8
libgsf 1 common update notifier common libgnomeprintui2.2 common
python cupshelpers libkonq5 templates libcrypt openssl rsa perl libqca2
xfonts 75dpi libndesk dbus1.0 cil python pyorbit libmtp8 rpm2cpio
libgutenprint2 gnome js common pure ftpd mysql libsilcclient 1.1 3
libxcb atom1 erlang crypto postgresql 8.4 libyaml tiny perl python debian
llvm libice dev lp solve libgail18 libwxbase2.8 0 realpath
libdigest sha1 perl btnx config libunique 1.0 0 fakeroot libfilesys df perl
unattended upgrades libcupsppdc1 ttf dejavu extra telepathy gabble
libhal storage1 libnet ip perl libdb4.7 java libopenid ruby xfonts scalable
libunshield0 libgnome2 0 libcompizconfig0 lib32gomp1 libwebkit 1.0 common
libatlas3gf base libpurple bin bind9 host libpolkit qt 1 0 python numpy
libproc process perl libconvert tnef perl gamin libgd graph3d perl
libio stringy perl python mako aspell libnet dns perl nvidia common
python avahi libbrasero media0 libxxf86dga1 libnet dbus perl libxine1 x
libcupscgi1 calibre bin libmeanwhile1 libgnomecanvas2 0 poppler utils
genisoimage libkpathsea5 hunspell en us erlang xmerl libreadonly perl
libdmraid1.0.0.rc16 libclone perl libpthread stubs0 libnunit2.4 cil
libpam unix2 esound clients smbclient libbonobo2 common libilmbase6
libcupsdriver1 libgd gd2 perl libindicate qt0 libqca2 plugin ossl
libfile chmod perl libotf0 gnome mime data libcfitsio3 bzflag data
libxml parser perl obexd client liburi perl libddccontrol0 re2c
libstomp ruby1.8 libsox fmt base libproj0 libotr2 libtie ixhash perl
libxml2 utils rrdtool desktop file utils libglpng python couchdb libspectre1
libgnomeui 0 libcairo perl mysql server gstreamer0.10 alsa
libhtml parser perl libossp uuid perl python reportlab libmixlib log ruby1.8
libbeagle1 libsane libplasma geolocation interface4 g++ 4.4 odbcinst1debian1
libqt4 test libsub name perl libhyphen0 erlang syntax tools cmake data
python louis libfile pushd perl libftgl2 liblouis data
libfile find rule perl libcompress bzip2 perl libreadonly xs perl
libgmime 2.0 2a libibus1 ddccontrol db libpst4 ghostscript cups
libparse debianchangelog perl libcrypt ssleay perl xterm python cheetah
libboost program options1.40.0 libnm util1 llvm dev libuuid perl
python imaging libmono cairo2.0 cil libxcb xv0 unshield bluez cups
libsox fmt alsa libbonobo2 0 libtdb1 libdbi perl libvte common
python egenix mxtools phonon libsctp1 libfile which perl libgnomevfs2 common
hpijs ncftp libndesk dbus glib1.0 cil docbook xml libgupnp 1.0 3 libqwt5 qt4
libjson xs perl libdevel stacktrace perl nvidia current modaliases
foomatic filters libmime tools perl libgl2ps0 libpcap0.8 screen
libstring shellquote perl libfont afm perl oxygen icon theme libpisock9 bc
libdns64 m4 liblog log4perl perl gconf2 libgdata google1.2 1 dbconfig common
librpmio0 libjson perl libogdi3.2 librpm0 libwps 0.1 1 libmagick++2
rpm common librrd4 libflac++6 ttf opensymbol language selector common
python gnomecanvas libdshconfig1 libipc sharelite perl libnspr4 0d libslp1
groff base python uniconvertor gettext base whois libdotconf1.0
libtimedate perl gdebi core python lxml libhtml template perl libavdevice52
libnotify1 libpoppler qt4 3 libstartup notification0 python twisted web
libjs prototype clamav base evolution common libexiv2 6 boinc manager
mysql server core 5.1 odbcinst apport g++ apturl common
libperl6 junction perl liblapack3gf libclamav6 libcanberra gtk module
libfcgi perl libcwidget3 libcanberra0 python cherrypy3 libmono addins0.2 cil
php5 snmp php5 gd python encutils libgadu3 xorg docs core x11proto kb dev
luatex libwavpack1 libqt4 opengl python renderpm chromium bsu data
libisccc60 network manager pptp libmono system runtime2.0 cil pptp linux
libgtkhtml editor common gcc 4.4 libdspam7 gstreamer0.10 plugins good
m17n db toshset libfile mmagic perl cpu checker libdatetime timezone perl
php mail mime libfile slurp perl libc6 i386 libid3 3.8.3c2a libopenssl ruby
libopagent1 k3b data libmail rfc822 address perl libgamin0 lib32gcc1
libqt4 xmlpatterns libpcrecpp0 libnova 0.12 2 apache2 libhdf5 openmpi 1.8.4
tcsh unixodbc erlang runtime tools libhtml tree perl librsvg2 common
procmail ssh import xtrans dev libindicate4 ruby1.8 libwnck22
php xml serializer libsolidcontrolifaces4 spamc libdevkit power gobject1
libsexy2 libalut0 libavahi core6 libxcb event1 libnet cidr perl libxcrypt1
samba common libiec61883 0 xinput libelf1 libforms1 libyaml 0 2 libxres1
libmailtools perl libcairomm 1.0 1 libgdata common libsdl image1.2 gettext
libqt4 help sbox dtc libgd graph perl libnss mysql bg python qt4 php pear
xbitmaps blt x11proto input dev python glade2 ruby libgp11 0 python brlapi
libgirepository1.0 0 uno libs3 libclucene0ldbl rtkit python tk
libpulse browse0 launchpad integration libsoap lite perl python clientform
libexempi3 libhpmud0 libxaw7 liblwres60 shared desktop ontologies ttf uralic
python sip schedtool libijs 0.35 libt1 5 gcc libgnome2 common libsilc 1.1 2
libparams util perl cvs libcurl3 bzflag client linux headers 2.6.32 74
libjs scriptaculous xfonts base libfli1 libchef ruby libfltk1.1
python xapian apt xapian index liberubis ruby1.8 dwm libesd0
libparams validate perl virtuoso nepomuk liblouis0 libept0
linux headers 2.6.32 74 generic libwxgtk2.8 0 libpam mysql libqimageblitz4
iputils arping libfile tail perl phonon backend xine x11 xfs utils
mysql client core 5.1 libenchant1c2a cups driver gutenprint libgnomevfs2 0
mlmmj libvtk5.2 libopenmpi1.3 libcolamd2.7.1 libnm glib2 libxt dev
kdepimlibs data libglc0 libsystemu ruby1.8 python django libjson ruby
xulrunner 1.9.2 libcroco3 modemmanager libgnomecups1.0 1 libhmac ruby1.8
libmixlib config ruby tzdata java apport symptoms libevent 1.4 2
python cairo libohai ruby python smbc system config printer udev libopenexr6
libpulse mainloop glib0 libglade2.0 cil icoutils libxerces c28 erlang mnesia
libgsf 1 114 libgtop2 common libpoppler5 librarian0 libspeexdsp1
libieee1284 3 rarian compat python telepathy libnet server perl libhdf4 0
wodim linux headers generic boinc client python2.6 dev libgeos c1
libart2.0 cil postgresql common erlang public key libdbd mysql perl
libgnomeprint2.2 data gir1.0 gstreamer 0.10 python mechanize manpages
libbind9 60 libneon27 gnutls libxapian15 libdatetime perl
liblog dispatch perl gir1.0 freedesktop kstars data libabstract ruby1.8 cups
libdjvulibre21 pax libglade2 0 proj data libxine1 console lesstif2
postfix mysql python boto libcanberra gtk0 postgresql libsys cpu perl
libio string perl libmixlib config ruby1.8 libstomp ruby xfonts 100dpi
libspeechd2 esound common postgresql client 8.4 libxpm4 libqt4 svg
libcompress raw zlib perl ppp libglib perl xdg utils netpbm liberror perl
xinit libdcmtk1 libdatetime locale perl webalizer gstreamer0.10 pulseaudio
libdv4 libhtml format perl libxau dev dpkg dev rpm python configobj
librpmbuild0 libtask weaken perl chromium bsu python django tagging
libphonon4 libcpan inject perl libmixlib log ruby libfs6 sox libzip1
libfreezethaw perl ssh gstreamer0.10 x libblas3gf libtext glob perl
fglrx modaliases libxss1 libtotem plparser17 libgd2 xpm mysql client
libhunspell 1.2 0 libkephal4 proj bin nvidia 96 modaliases update motd
libnuma1 libdata compare perl tcl8.4 tcl8.5 libindi0 libdc1394 22
libqt4 assistant ure erlang inets libming1 libgtop2 7 libgeos 3.1.0
ttf dejavu emacsen common libxine1 misc plugins libplrpc perl ksysguardd
dmz cursor theme libm17n 0 libdecoration0 libgeoip1 python twisted names
libgnomeui common xz utils libxxf86misc1 m17n contrib wwwconfig common
libibverbs1 libgupnp igd 1.0 2 php xml parser libstatgrab6 libsocket6 perl
mhonarc libisccfg60 libdbd pg perl usbutils smartdimmer libxvmc1
gnome desktop data python gdbm python cups clamav freshclam libc6 dev
libupower glib1 libattica0 tk8.4 tk8.5 libnautilus extension1
libmail dkim perl libanthy0 librsvg2 2 python m2crypto libbonoboui2 0
brasero common libwnck common app install data libconvert uulib perl
sgml data postgresql client common libdb4.6 libnetpbm10 libdb4.7
libxml xpath perl texlive doc base libpq5 libgfortran3 xfonts mathml
libgpgme11 libart 2.0 2 cloud utils evolution data server common
liblaunchpad integration1 libstreams0 libid3tag0 python pexpect
libqt4 webkit libio multiplex perl python yaml libepub0 imagemagick
libhtml tagset perl libzephyr4 erlang ssl libgraphite3 exiv2
libmusicbrainz4c2a libx11 dev libnetaddr ip perl kdelibs5 data libwpg 0.1 1
libgc1c2 quassel data euca2ools liblist moreutils perl hal info
libchef ruby1.8 libclass accessor perl linux libc dev libmixlib cli ruby
dictionaries common openoffice.org common libintl perl
libcpan checksums perl patch manpages dev kdebase data libmail spf perl
samba common bin libgnome menu2 libgcj common libwww perl
libcommon sense perl system config printer common netcat traditional
libruby1.8 scrollkeeper info dvd+rw tools libsieve2 1 libmixlib cli ruby1.8
libqt4 scripttools php crypt cbc gir1.0 atk 1.0 python xkit
libdjvulibre text libisc60 libavahi gobject0 dbus x11 libsox1a libcupsmime1
libc dev bin libnet libidn perl libnice0 libgtk2.0 cil compiz core
libhdf4 0 alt libxcb1 dev libopenssl ruby1.8 libxcb shape0
libconvert binhex perl libopenjpeg2 libbonoboui2 common libloudmouth1 0
libssh 4 python egenix mxdatetime perlmagick libxcb shm0 binutils
python beautifulsoup kdebase runtime data min12xxw libio socket ssl perl
nvidia 173 modaliases p7zip full mscompress libossp uuid16 python rdflib
php mail mimedecode libiodbc2 libsys hostname long perl libpam gnome keyring
libgdata1.2 1 ucspi tcp iptables python pypdf librsync1 openbsd inetd
bcmwl modaliases mysql server 5.1 gnome icon theme tex common
libclass singleton perl libnet1 libnss3 1d libohai ruby1.8 python dateutil
libmldbm perl ca certificates x11proto core dev python gtk2 freeglut3
python gconf python crypto libxml twig perl libaspell15 python cssutils
libdigest hmac perl libgssdp 1.0 2 libmsn0.3 gnome doc utils libxine1 bin
libxdmcp dev libpthread stubs0 dev libfcgi0ldbl pulseaudio utils libxkbfile1
libgnomecanvas2 common libunix syslog perl libminc2 1 oprofile
libcrypt openssl bignum perl spamassassin mysql client 5.1
telepathy mission control 5 libllvm2.7 libasound2 plugins libnids1.21
libpisync1 hplip data libextlib ruby1.8 erlang base libnetcdf4
libstreamanalyzer0 liberubis ruby libio socket inet6 perl libstdc++6 4.4 dev
python reportlab accel libopenid ruby1.8 libgtksourceview2.0 common
python opengl libxine1 libaudiofile0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
bluez
0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
Need to get 0B/446kB of archives.
After this operation, 1401kB of additional disk space will be used.
Selecting previously deselected package bluez.
(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 ... 132839 files and directories currently installed.)
Unpacking bluez (from .../bluez_4.60 0ubuntu8_amd64.deb) ...
Processing triggers for ureadahead ...
Setting up bluez (4.60 0ubuntu8) ...
root@hiox:~