How to find the Ubuntu version using the command line terminal.

The lsb_release -a command will print the Ubuntu version to the terminal. This is how you find out information about your Ubuntu installation.

[email protected]:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty

Use this command to view the support status for your distribution.

[email protected]:~$ ubuntu-support-status
Support status summary of 'ip-172-31-20-16':
You have 443 packages (97.1%) supported until May 2019 (5y)
You have 7 packages (1.5%) supported until February 2015 (9m)
You have 3 packages (0.7%) supported until November 2015 (9m)
You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 3 packages (0.7%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details

Use the --show-all parameter to show more information.

[email protected]:~$ ubuntu-support-status --show-all
Support status summary of 'ip-172-31-20-16':
You have 3 packages (0.7%) supported until November 2015 (9m)
You have 443 packages (97.1%) supported until May 2019 (5y)
You have 7 packages (1.5%) supported until February 2015 (9m)
You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 3 packages (0.7%) that are unsupported
No longer downloadable:
dos2unix mc mc-data
Supported until November 2015 (9m):
linux-headers-3.13.0-44 linux-headers-3.13.0-44-generic
Supported until May 2019 (5y):
accountsservice acpid adduser apparmor apport apport-symptoms apt
apt-transport-https apt-utils apt-xapian-index aptitude
aptitude-common at base-files base-passwd bash bash-completion bc
bind9-host bsdmainutils bsdutils busybox-initramfs busybox-static
byobu bzip2 ca-certificates cloud-guest-utils cloud-init
command-not-found command-not-found-data console-setup coreutils cpio
cron cryptsetup cryptsetup-bin curl dash dbus debconf debconf-i18n
debianutils dh-python diffutils dmidecode dmsetup dnsutils dosfstools
dpkg e2fslibs e2fsprogs eatmydata ed eject ethtool file findutils
fonts-ubuntu-font-family-console friendly-recovery ftp fuse gawk
gcc-4.8-base gcc-4.9-base gdisk geoip-database gettext-base
gir1.2-glib-2.0 gnupg gpgv grep groff-base grub-common
grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common gzip hdparm
hostname ifupdown info init-system-helpers initramfs-tools
initramfs-tools-bin initscripts insserv install-info iproute2
iptables iputils-ping iputils-tracepath irqbalance isc-dhcp-client
isc-dhcp-common iso-codes kbd keyboard-configuration klibc-utils kmod
krb5-locales landscape-client landscape-common
language-selector-common laptop-detect less libaccountsservice0
libacl1 libapparmor-perl libapparmor1 libapt-inst1.5 libapt-pkg4.12
libarchive-extract-perl libasn1-8-heimdal libasprintf0c2 libattr1
libaudit-common libaudit1 libbind9-90 libblkid1
libboost-iostreams1.54.0 libbsd0 libbz2-1.0 libc-bin libc6 libcap-ng0
libcap2 libcap2-bin libcgmanager0 libck-connector0
libclass-accessor-perl libcomerr2 libcryptsetup4 libcurl3
libcurl3-gnutls libcwidget3 libdb5.3 libdbus-1-3 libdbus-glib-1-2
libdebconfclient0 libdevmapper1.02.1 libdns100 libdrm2 libdumbnet1
libedit2 libelf1 libept1.4.12 libestr0 libevent-2.0-5 libexpat1
libffi6 libfreetype6 libfribidi0 libfuse2 libgc1c2 libgcc1 libgck-1-0
libgcr-3-common libgcr-base-3-1 libgcrypt11 libgdbm3 libgeoip1
libgirepository-1.0-1 libglib2.0-0 libglib2.0-data
libgnutls-openssl27 libgnutls26 libgpg-error0 libgpm2
libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal
libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu52
libidn11 libio-string-perl libisc95 libisccc90 libisccfg90 libjson-c2
libjson0 libk5crypto3 libkeyutils1 libklibc libkmod2
libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2
liblocale-gettext-perl liblockfile-bin liblockfile1
liblog-message-simple-perl liblwres90 liblzma5 liblzo2-2 libmagic1
libmodule-pluggable-perl libmount1 libmpdec2 libncurses5 libncursesw5
libnewt0.52 libnfnetlink0 libnih-dbus1 libnih1 libnuma1 libp11-kit0
libpam-cap libpam-modules libpam-modules-bin libpam-runtime
libpam-systemd libpam0g libparse-debianchangelog-perl
libparted0debian1 libpcap0.8 libpci3 libpcre3 libpipeline1
libpkcs11-helper1 libplymouth2 libpng12-0 libpod-latex-perl
libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0
libpopt0 libprocps3 libpython-stdlib libpython2.7
libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib
libpython3.4-minimal libpython3.4-stdlib libreadline6
libroken18-heimdal librtmp0 libsasl2-2 libsasl2-modules
libsasl2-modules-db libselinux1 libsemanage-common libsemanage1
libsepol1 libsigc++-2.0-0c2a libsigsegv2 libslang2 libsqlite3-0
libss2 libssl1.0.0 libstdc++6 libsub-name-perl libsystemd-daemon0
libsystemd-login0 libtasn1-6 libterm-ui-perl libtext-charwidth-perl
libtext-iconv-perl libtext-soundex-perl libtext-wrapi18n-perl
libtimedate-perl libtinfo5 libudev1 libusb-0.1-4 libusb-1.0-0
libustr-1.0-1 libuuid1 libwind0-heimdal libwrap0 libx11-6 libx11-data
libxapian22 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxmuu1
libxtables10 libyaml-0-2 linux-headers-generic linux-headers-virtual
linux-image-virtual linux-virtual locales lockfile-progs login
logrotate lsb-base lsb-release lshw lsof ltrace makedev man-db
manpages mawk mime-support mlocate module-init-tools mount mountall
mtr-tiny multiarch-support nano ncurses-base ncurses-bin ncurses-term
net-tools netbase netcat-openbsd ntfs-3g ntpdate open-vm-tools
openssh-client openssh-server openssh-sftp-server openssl openvpn
os-prober parted passwd patch pciutils perl perl-base perl-modules
plymouth plymouth-theme-ubuntu-text policykit-1 popularity-contest
powermgmt-base ppp pppconfig pppoeconf procps psmisc python
python-apt python-apt-common python-chardet python-cheetah
python-configobj python-debian python-gdbm python-json-pointer
python-jsonpatch python-minimal python-oauth python-openssl
python-pam python-pkg-resources python-prettytable python-pycurl
python-requests python-serial python-six python-twisted-bin
python-twisted-core python-twisted-names python-twisted-web
python-urllib3 python-xapian python-yaml python-zope.interface
python2.7 python2.7-minimal python3 python3-apport python3-apt
python3-commandnotfound python3-dbus python3-distupgrade python3-gdbm
python3-gi python3-minimal python3-newt python3-problem-report
python3-pycurl python3-software-properties python3-update-manager
python3.4 python3.4-minimal readline-common resolvconf rsync rsyslog
run-one screen sed sensible-utils sgml-base shared-mime-info
software-properties-common ssh-import-id strace sudo systemd-services
systemd-shim sysv-rc sysvinit-utils tar tasksel tasksel-data tcpd
tcpdump telnet time tmux tzdata ubuntu-keyring ubuntu-minimal
ubuntu-release-upgrader-core ubuntu-standard ucf udev ufw
unattended-upgrades unzip update-manager-core update-notifier-common
upstart ureadahead usbutils util-linux uuid-runtime vim vim-common
vim-runtime vim-tiny w3m wget whiptail xauth xkb-data xml-core
xz-utils zerofree zlib1g
Supported until February 2015 (9m):
grub-legacy-ec2 lib32gcc1 lib32stdc++6 libc6-i386 libssh2-1
overlayroot pollinate

With these useful commands you may easily keep track of the status of your Ubuntu installation.

No comments have been made. Use this form to start the conversation :)

Leave a Reply