---
description: >-
  This tutorial will guide you through the installation of Ubuntu 18 and Ubuntu
  20.
---

# Ubuntu

![](https://github.com/AndronixApp/docs/raw/0f6e87f7433bb0a412a4ddf71ac99121c85ff5e7/.gitbook/assets/ubuntu_banner.png)

### Essential Information

Ubuntu provided by Andronix is open source including all the scripts needed for installing it. You can take a look at it [here](https://github.com/AndronixApp/AndronixOrigin).

**Download size** - 45 MB

{% hint style="warning" %}
above is not the size after installing Ubuntu but it's just the tar size that Andronix downloads. **This doesn't include a desktop environment for the GUI**.
{% endhint %}

## How to Install?

### Ubuntu 18

* Open the[ Andronix App](https://andronix.app/) and click on the Ubuntu card.
* Click the **Install** button.

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2Fsync%2Fc9774f28a692f4e68cbbb88217e6063e7cbbcba5.png?generation=1599396271078631\&alt=media)

* Select the version you want to install, namely 18.04

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2Fsync%2Fd7ae821dbeb58028f29c4b21f58b0aaaebf9133d.png?generation=1599396272601172\&alt=media)

* The first three options will install Ubuntu with the mentioned [Desktop Environment](https://en.wikipedia.org/wiki/Desktop_environment). The **Non-DE** variant installs Ubuntu 18 without any Desktop Environment and is recommended for using the distro only with a _Command Line Interface_. The last three options will install Ubuntu with the mentioned [Windows manager](https://en.wikipedia.org/wiki/Window_manager).

{% hint style="success" %}
We recommend to choose **XFCE variant** as it is the most stable, smooth, advanced and customizable Desktop Environment present at the moment
{% endhint %}

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2Fsync%2Fedb543e8f3ecc6167714edc1f51efbd37bbecff7.png?generation=1599396274264892\&alt=media)

* Use the command below to update your termux packages so that you're running the updated versions of the required packages.

```
pkg update
```

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2Fsync%2Fd83e37dab305337d14333ee1eee92181a12bdbf7.png?generation=1599396272171387\&alt=media)

* Tap & hold anywhere on the screen and press **Paste**.
* Press **Enter** and wait till the installation completes.
* Type the following command to start the distro and press enter.

```
./start-ubuntu.sh
```

* Now if you see `root@localhost` in Termux then you have successfully started Ubuntu.

### Ubuntu 20

* Open the[ Andronix App](https://andronix.app/) and click on the Ubuntu card.
* Click the **Install** button.

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2Fsync%2Fc9774f28a692f4e68cbbb88217e6063e7cbbcba5.png?generation=1599396271078631\&alt=media)

* Select the version you want to install, namely 20.04

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2Fsync%2Fd7ae821dbeb58028f29c4b21f58b0aaaebf9133d.png?generation=1599396272601172\&alt=media)

* The first three options will install Ubuntu 20 with the mentioned [Desktop Environment](https://en.wikipedia.org/wiki/Desktop_environment). The **Non-DE** variant installs Ubuntu without any Desktop Environment and is recommended for using the distro only with a _Command Line Interface_. The last three options will install Ubuntu 20 with the mentioned [Windows manager](https://en.wikipedia.org/wiki/Window_manager).

{% hint style="success" %}
We recommend to choose **XFCE variant** as it is the most stable, smooth, advanced and customizable Desktop Environment present at the moment
{% endhint %}

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2Fsync%2F66e7f62b8d30a5f63d46c85d1cfada3026c8c3ef.png?generation=1599396275715807\&alt=media)

* Use the command below to update your termux packages so that you're running the updated versions of the required packages.

```
pkg update
```

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2Fsync%2Fd83e37dab305337d14333ee1eee92181a12bdbf7.png?generation=1599396272171387\&alt=media)

* Tap & hold anywhere on the screen and press **Paste**.
* Press **Enter** and wait till the installation completes.
* Type the following command to start the distro and press enter.

```
./start-ubuntu20.sh
```

* Now if you see `root@localhost` in Termux then you have successfully started Ubuntu.

### Exiting VNC

Exiting and stopping the VNC server gracefully is important to avoid any ghost process to be running and rendering the server almost useless. Read about how to exit the VNC server in this article.

{% content-ref url="../../vnc/vnc-basics" %}
[vnc-basics](../../vnc/vnc-basics)
{% endcontent-ref %}
