1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ubuntu20.04 LTSにBlueZ 5.60をインストールする

Posted at

#はじめに

*以前書いた記事を参考にしつつ最新版をインストールする。
https://qiita.com/masahiros/items/e3867fba3064419046f5

*apt-get build-depでエラーが出たときの対処
https://qiita.com/masahiros/items/74efd1c55859d2afe84c

#ビルド
BlueZのサイトに行って最新版を確認する。
http://www.bluez.org/

現時点での最新版である5.60をインストールする。
http://www.kernel.org/pub/linux/bluetooth/bluez-5.60.tar.xz

BlueZを取得。

$ wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.60.tar.xz
$ tar xvJf bluez-5.60.tar.xz

READMEドキュメントを確認。

$ cd bluez-5.60
$ less README

READMEに従いビルド&インストール。

$ sudo apt-get build-dep bluez
$ ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var
<中略>
checking for rst2man... no
checking for rst2man.py... no
configure: error: rst2man is required

エラーを確認。
以下のサイトを参考にしpython-docutilsをインストール。
https://command-not-found.com/rst2man

$ sudo apt-get install python-docutils
$ ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var
-> 今度は成功。
$ make
$ sudo make install
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?