I need to install the bluez utilities. On this site there are listed six utilities in a table, so I downloaded the latest bluez package bluez-5.33.tar.xz and extracted it. But how can I install these utilities now?

I also found the file bluez-utils-3.36-i686-2_dvl.tgz on: http://www.develia.org/tarballs.php?p=networking

Do I need this file, or is it too old?

  • Which distribution are you using? You'll probably find an appropriate package there... – Stephen Kitt Aug 5 '15 at 8:00
  • I am using Linux version 2.6.32-44-generic - Ubuntu 10.04.4 LTS – Black Aug 5 '15 at 8:02
  • Oh that's old... Try sudo apt-get install bluez anyway, that should work. – Stephen Kitt Aug 5 '15 at 8:06
  • I can't use that command, it is a very special developer device where it is not possible. I can only install files. So is it only possible to install these utilities by installing the whole package? – Black Aug 5 '15 at 8:09

To build and install bluez without using system packages, you need to extract the tarball somewhere and then use the standard three-step build dance:

tar xf bluez-5.33.tar.xz
cd bluez-5.33
./configure && make
sudo make install

You may need to add options to ./configure, in particular --prefix if you want to install it somewhere other than the default /usr/local. ./configure --help will list the available options. The README file lists the requirements for building the software.

| improve this answer | |
  • Thank you, but how can i install the utilities only like instructed by the website in my first link? – Black Aug 5 '15 at 8:24
  • 1
    Linux Unwired is rather outdated, at least as far as build instructions are concerned. You can either follow the instructions provided in the tarball you downloaded, or find a version of bluez contemporaneous with the book (2004). I strongly recommend the former! – Stephen Kitt Aug 5 '15 at 8:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.