Skip to content

Instantly share code, notes, and snippets.

@Adron
Created July 11, 2017 15:10
Show Gist options
  • Save Adron/37519aa6cf086ec15b640b660cd0deaf to your computer and use it in GitHub Desktop.
Save Adron/37519aa6cf086ec15b640b660cd0deaf to your computer and use it in GitHub Desktop.
Ubuntu Linux - Install Python Essentials
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install build-essential checkinstall libffi-dev python-dev
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
// https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py
// https://pip.pypa.io/en/stable/installing/#using-linux-package-managers
@brunohubner
Copy link

brunohubner commented Feb 27, 2024

Some packages are out of date, now the complete script may be this one:

sudo apt-get update
sudo apt-get -y upgrade

sudo apt-get install build-essential checkinstall libffi-dev python2-dev python2 python-dev-is-python3 -y
sudo apt-get install libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment