---
# System prepended metadata

title: Python Installation on Ubuntu

---

Python Installation on Ubuntu
==============================
Miniconda
---------
### Install Miniconda on Ubuntu
https://gist.github.com/arose13/fcc1d2d5ad67503ba9842ea64f6bac35
Install miniconda in home directory to prevent permission issues

1. **Download the miniconda shell script to miniconda.sh to /opt**
**(Both commands are equivalent)**
```
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
```

2. **Executing the shell script**
```
bash ~/miniconda.sh -b -p ~/miniconda
```
3. **Delete the shell script**
```
rm ~/miniconda.sh
```
54. **Add the path to the installed miniconda directory**
```
export PATH=~/miniconda/bin:$PATH
```

### Miniconda Versions (including latest version)
https://repo.continuum.io/miniconda/

### Official Miniconda Documentation
https://conda.io/en/latest/miniconda.html

Sublime Installation on Ubuntu
========================
https://linuxize.com/post/how-to-install-sublime-text-3-on-ubuntu-18-04/

1. Update the apt package list and install the dependencies necessary to fetch packages from https sources:
```
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
```

2. Import the repository’s GPG key using the following curl command:
```
curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
```
Add the Sublime Text  APT repository to your system’s software repository list by typing:
```
sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"
```
3. Once the repository is enabled, update apt sources and install Sublime Text 3 with the following commands:
```
sudo apt update
sudo apt install sublime-text
```