Raspberry PiのOSを更新する方法
OSのバージョンを調べる
OSのバージョンはこうやって調べる。
pi@raspberrypi3:~ $ uname -a Linux raspberrypi3 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux pi@raspberrypi3:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
みたいな感じ。最初にOSをインストールしたのは確か去年(2020年)の夏ごろ。日付は2019年9月24日、バージョンは4.19.75-V7+なのか。
今は2021年の3月である。
OSのアップデート
$ sudo apt update $ sudo apt full-upgrade $ sudo apt clean
1時間くらいかけて終わった。そして、こうなった。
pi@raspberrypi3:~ $ uname -a Linux raspberrypi3 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux pi@raspberrypi3:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
日付は2021年1月28日、バージョンは5.10.11-v7+なのか。