erpomata
Posts: 14
Joined: Thu Jul 19, 2012 11:38 am

raspbian version

Thu Jul 26, 2012 3:53 am

How can I check the installed version of raspbian?


thanks
greetings

User avatar
mpthompson
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
Contact: Website

Re: raspbian version

Fri Jul 27, 2012 11:02 pm

Raspbian doesn't really have a version in the traditional sense. Rather, Raspbian is a rebuild of the Debian Wheezy armhf repository and the 1000's of packages that comprise the repository are updated from time to time. The more pertinent question is whether your install of Raspbian (or rather the packages that comprise your install of Raspbian) is up to date. The best way of keeping Raspbian up to date with the latest packages is to periodically run the following commands:

sudo apt-get update
sudo apt-get upgrade

Different Raspbian images in the past are created against whatever packages were in the repository at that time. Running the two commands above will upgrade all installations of Raspbian to the latest packages no matter what image the original install was done from.

ndoren
Posts: 17
Joined: Sat Jul 21, 2012 4:09 pm
Location: Albuquerque, New Mexico, USA

Re: raspbian version

Sat Jul 28, 2012 1:28 am

Newbie question here, based on the response above. What is the purpose of rpi-update, and does this utility yield a different result than apt-get update/upgrade? Thanks. Neall

Nr90
Posts: 216
Joined: Sat Nov 26, 2011 12:39 pm

Re: raspbian version

Sat Jul 28, 2012 1:36 am

Rpi-update gets the very latest firmware from github.
This is somewhat untested and if your firmware works well, one of the few reasons to use it is to help testing.

sheriff076
Posts: 34
Joined: Sat May 19, 2012 5:33 pm

Re: raspbian version

Sat Jul 28, 2012 10:06 pm

Does that mean the apt-get update and upgrade commands don't actually update the firmware, just packages? You still need to run rpi-update on Raspbian to get firmware releases?
Regards,

Steve

Nr90
Posts: 216
Joined: Sat Nov 26, 2011 12:39 pm

Re: raspbian version

Sun Jul 29, 2012 2:16 am

They do, but only the firmware available in the repositories you're using.
This depends on when the maintainers put it in there.
Generally they seem to wait a couple of weeks to get some testing done.
If you want the very latest firmware you could run RPi-update or use a new rep with the latest firmware, search the forum if you want this.

jdbennet
Posts: 96
Joined: Sun Jul 22, 2012 2:25 pm

Re: raspbian version

Sun Jul 29, 2012 3:21 pm

Newer kernels sometimes need newer firmware, so its wise to do an rpi-update before a dist-upgrade

coolaj86
Posts: 3
Joined: Sat Jun 09, 2012 6:54 am

Re: raspbian version

Tue Jun 23, 2015 10:34 pm

Here's a few ways to do it:

Code: Select all

sudo apt-get update
sudo apt-get install -y lsb-release
lsb_release -sri
Debian
7.8

Code: Select all

cat /etc/issue
Raspbian GNU/Linux 7 \n \l

Code: Select all

cat /etc/debian_version
7.8

DarthBeta
Posts: 1
Joined: Sun Oct 25, 2015 10:48 pm

Re: raspbian version

Tue Jan 26, 2016 12:26 am

For some reason sudo apt-get update && sudo apt-get upgrade didn't seem to work but rpi-update did.

User avatar
Taxicletter
Posts: 218
Joined: Sat Mar 05, 2016 4:25 pm
Location: Antwerp, Belgium
Contact: Website

Re: raspbian version

Sun Apr 24, 2016 9:35 am

And what does

Code: Select all

 sudo BRANCH=next rpi-update
do?
I used it because someone adviced it because the openGL driver wasn't working anymore. But what the difference between that and the normal sudo rpi-update?

(Now I do sudo apt-get update, and then the sudo apt-get upgrade, but if I understand above well, it is better to do the sudo rpi-update before the upgrade?)
--::--::- 3 x Raspberry Pi 3 - Raspbian Lite 9 - RuneAudio - one broke (wifi) - not in use -::--::--

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: raspbian version

Sun Apr 24, 2016 12:43 pm

Taxicletter wrote:And what does

Code: Select all

 sudo BRANCH=next rpi-update
do?
I used it because someone adviced it because the openGL driver wasn't working anymore. But what the difference between that and the normal sudo rpi-update?

(Now I do sudo apt-get update, and then the sudo apt-get upgrade, but if I understand above well, it is better to do the sudo rpi-update before the upgrade?)
It is best never to do rpi-update because it gets unstable firmware which can easily crash your Pi. BRANCH=next means to go more unstable or go to the next branch. It should never be done willy nilly.
There are 10 types of people: those who understand binary and those who don't.

User avatar
Taxicletter
Posts: 218
Joined: Sat Mar 05, 2016 4:25 pm
Location: Antwerp, Belgium
Contact: Website

Re: raspbian version

Sun Apr 24, 2016 1:09 pm

Thank you!
--::--::- 3 x Raspberry Pi 3 - Raspbian Lite 9 - RuneAudio - one broke (wifi) - not in use -::--::--

Return to “Raspbian”