# Debian

![](https://3110874736-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzGbxzgz4fNAgn3zi0F%2F-M2ENvhVz_PB3SxXmwK6%2F-M2EUVF8FyxrD-_TNpfs%2Fdeb_banner.png?alt=media\&token=a8d89d14-862b-499e-9e54-788bb0602547)

## Essential Information

Debian 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** - 75 MB

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

## How to Install?

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

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

* The first three options will install Debian with the mentioned [Desktop Environment](https://en.wikipedia.org/wiki/Desktop_environment). The **Non-DE** variant installs Debian without any Desktop Environment and is recommended for using the distro only with a *Command Line Interface*.The first three options will install Debian with the mentioned [Window Manager](https://en.wikipedia.org/wiki/Window_manager).&#x20;

{% 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%2Fcf9c7e4b334de98d982d474a4b99c1ad62d83cbf.png?generation=1599396273512165\&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.&#x20;
* Type the following command to start the distro *\*\**&#x61;nd press enter.

```
./start-debian.sh
```

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

### 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](https://andronix-app.gitbook.io/andronix-app/vnc/vnc-basics)
{% endcontent-ref %}
