What version of Raspberry Pi OS am I using?
To troubleshoot an issue, you will sometimes need to provide basic information about the Raspberry Pi OS you are running :
- version of Raspberry Pi OS;
- Linux kernel version;
- libcamera version (for camera-related issues).
To do that, you will need to open a terminal window and run a few commands as suggested below.
Finding the version of Raspberry Pi OS
Run the following command:
cat /etc/os-release | grep PRETTY_NAME
Example result:
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
Finding the Linux kernel version
Run the following command:
uname -a
Example result:
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Finding the libcamera version
Run the following command:
libcamera-hello --version
Example result:
libcamera-apps build: 54a781dffdd1 01-03-2023 (17:47:32) libcamera build: v0.0.4+22-923f5d70