# Install Pyhton 3.8 on Ubuntu

### What is Python

[Python](https://www.python.org/) is a general-purpose coding language—which means that, unlike HTML, CSS, and JavaScript, it can be used for other types of programming and software development besides web development.

> Can be used for things like

* Back end (or server-side) web and mobile app development
* Desktop apps and software development
* Processing big data and performing mathematical computations
* Writing system scripts (creating instructions that tell a computer system to “do” something)

### What is Ubuntu

Ubuntu is a free and open-source Linux distribution based on Debian. Ubuntu is officially released in three editions: Desktop, Server, and Core for the internet of things devices and robots. All the editions can run on the computer alone, or in a virtual machine.

### Install Python3.8 on Ubuntu

```bash
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get update
$ sudo apt-get install python3.8
$ sudo apt-get install python3.8-venv
```

> Optionally, we can add the `disutils`

```bash
$ sudo apt install python3.8-distutils
```

> Test the creation of a Virtual Environment

```bash
$ python3.8 -m venv env
$
$ # Activate the VENV (Unix based systems)
$ source env/bin/activate
$
$ # Activate the VENV (Windows systems)
$ .\env\Scripts\activate
```

> In case of any issues, access the [support](https://appseed.us/support) page or talk with us on [Discord](https://discord.gg/fZC6hup).

#### Links

* [Python 3 Installation & Setup Guide](https://realpython.com/installing-python/) - article published on RealPython
* [How to install Python](https://realpython.com/installing-python/) - a complete guide for many OS: Fedora, MacOS, Ubuntu


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://appseed.gitbook.io/docs/content/how-to/install-python38-ubuntu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
