---
title: Ubuntu
weight: 1
---

<http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29>

## Releases

| Ubuntu release | Debian release |
|----------------|----------------|
| 15.10 wily     | jessie / sid   |
| 15.04 vivid    | jessie / sid   |
| 14.10 utopic   | jessie / sid   |
| 14.04 trusty   | jessie / sid   |
| 13.10 saucy    | wheezy / sid   |
| 13.04 raring   | wheezy / sid   |
| 12.10 quantal  | wheezy / sid   |
| 12.04 precise  | wheezy / sid   |
| 11.10 oneiric  | wheezy / sid   |
| 11.04 natty    | squeeze / sid  |
| 10.10 maverick | squeeze / sid  |
| 10.04 lucid    | squeeze / sid  |

## Bug Reports

### Submitted Bug Reports

- [\#1155695 mq_overview(7) fs.mqueue.queues_max](https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/1155695)

### Relevant Bug Reports

- [\#1217407 whoopsie spams the log with "online" messages](https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1217407)

## System Administration

### Creating a User Account

<https://help.ubuntu.com/14.04/serverguide/user-management.html#adding-deleting-users>

```text
$ sudo useradd -m -c "Arto Bendiken" -G staff,adm,sudo -s /bin/bash arto
$ sudo passwd arto
```

```text
$ sudo useradd -m -c "Buildbot slave" -r buildbot
```

## System Information

### Release Information

```text
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty
```

## System Configuration

### Disable Apport

```text
$ echo enabled=0 > /etc/default/apport
$ sudo service apport stop
```

### Firewall Configuration

- <https://help.ubuntu.com/13.10/serverguide/firewall.html>
- <https://wiki.ubuntu.com/UncomplicatedFirewall>
- <https://help.ubuntu.com/community/UFW>

```text
$ ufw disable
$ ufw allow ssh/tcp
$ ufw allow http/tcp
$ ufw allow https/tcp
$ ufw allow ...
$ ufw enable
$ ufw status verbose
```

```text
$ ufw deny from 1.2.3.4
$ ufw delete deny from 1.2.3.4
```

### Network File System (NFS)

- <https://help.ubuntu.com/14.04/serverguide/network-file-system.html>
- <https://help.ubuntu.com/community/NFSv4Howto>

#### Configure NFS client

```text
$ apt install nfs-common
# configure 'Domain =' in /etc/idmapd.conf
# configure mounts in /etc/fstab
```

### Post-Installation Tasks

#### Upgrade the kernel and system packages

```text
$ apt update
$ apt upgrade
$ reboot
```

#### Install some base packages

```text
$ apt install acpid     # on virtual machines
$ apt install git       # for revision control
$ apt install joe       # my preferred simple editor
$ apt install tree
```

#### Disable PulseAudio

This is only applicable to the Desktop edition:

```text
$ mkdir -p ~/.config/pulse
$ echo autospawn=no > ~/.config/pulse/client.conf
$ pulseaudio -k
```

#### Free disk space

```text
$ apt-get clean
```

## Software Development

### Toolchain Repositories

```text
$ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
$ sudo add-apt-repository -y "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5 main"
```

### Common Lisp Development Environment

```text
$ sudo apt install clisp         # GNU CLISP
$ sudo apt install ecl ecl-doc   # Embeddable Common Lisp (ECL)
$ sudo apt install gcl gcl-doc   # GNU Common Lisp (GCL)
$ sudo apt install sbcl sbcl-doc # Steel Bank Common Lisp (SBCL)
```

```text
$ sudo apt install cl-asdf
$ sudo apt install cl-launch --without-recommends
```

## Package Installation

### Core Utilities

```text
$ sudo pkg_add bash
$ sudo pkg_add curl
$ sudo pkg_add wget
$ sudo pkg_add rsync
$ sudo pkg_add tree
$ sudo pkg_add git
$ sudo pkg_add screen--
```

> **Note:** `sudo` and `tmux` are part of the base system.

```text
$ sudo apt install strace
```

### Text Editors

```text
$ sudo apt install joe
$ sudo apt install vim-nox
$ sudo apt install emacs24-nox
```

### Toolchain

```text
$ sudo apt install make autoconf automake libtool
$ sudo pkg_add g++-4.9.0p0
$ sudo apt install clang-3.5
```

> **Note:** `pkg-config` is part of the base system.

### Python

```text
$ sudo apt install python-pip
```

### GUI

```text
$ sudo apt install lxde xinit
```
