User Tools

Site Tools


buildsw:reference:ubuntu

Ubuntu Reference

System Information

Finding the kernel version:

$ uname -mrs
Linux 4.2.0-27-generic x86_64

In more detail:

$ uname -a
Linux yocto-build-01 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Determining installed memory

$ head -1 /proc/meminfo
MemTotal:        8176028 kB

Determining the Ubuntu release

whitemag@hpnsw3515:/ws/whitemag/halon$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty

Updates and Upgrades

To update package information:

sudo apt-get update

Upgrading the current release, see http://askubuntu.com/questions/194651/why-use-apt-get-upgrade-instead-of-apt-get-dist-upgrade

$ sudo apt-get update

Or:

$ sudo apt-get dist-upgrade

Upgrading to a new release:

$ sudo do-release-upgrade

Upgrading the kernel

$ sudo apt-get install --install-recommends linux-generic-lts-wily

Additional Topics

buildsw/reference/ubuntu.txt · Last modified: 2016/08/27 09:55 by gwhiteman