What version of Ubuntu am I using?

To find out which version of Ubuntu you are running, run the following in terminal:

lsb_release -a

The lsb_release command prints certain LSB (Linux Standard Base) and Distribution information.

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial

lsb_release is part of a software package called the LSB core, which is not necessarily installed on your system by default.

To install it, run the command below

sudo apt-get update && sudo apt-get install lsb-core

The Linux Standard Base is a common runtime environment for third-party packages. The goal of the LSB is to make it easy to create binary packages that will run on any Linux distribution.

Let me know in the comments if this helped. Follow me @DevAnswers or buy me a beer 🍺


Your email address will not be published. Required fields are marked *

We use Markdown to style comments, like on Github and Reddit.
To do a line break, type two spaces after the sentence.
You can add inline code by wrapping it in backticks: `code here`

    To do an entire block of code  
    type four spaces before the line
    and it will appear in a block like this.
    <-- four empty spaces