Warning: Declaration of syntax_plugin_translation::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/www/readm3.org/lib/plugins/translation/syntax.php on line 0

Warning: Declaration of syntax_plugin_translation::render($format, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/www/readm3.org/lib/plugins/translation/syntax.php on line 0
os:ubuntu:get-installed-release - readm3.org - IT wiki

How to check which Ubuntu release is installed (including codename)

If you are not sure which Ubuntu version you are currently using or you need its codename, open a terminal and run the following command:

lsb_release -drc

This should give you something like

user@host.local:~$ lsb_release -drc
Description:	Ubuntu 9.10
Release:	9.10
Codename:	karmic

You may find the -s parameter useful if you need the pure codename or release number (e.g. for doing comparisons within a bash script). Examples:

user@host.local:~$ lsb_release -sc
karmic
user@host.local:~$ lsb_release -sr
9.10

Have a look at the lsb_release manpage to get a list of all available parameters.

Print/export
QR Code
QR Code os:ubuntu:get-installed-release (generated for current page)
Languages
Translations of this page: