Skip to content

Instantly share code, notes, and snippets.

@alberthdev
Created October 29, 2016 17:01
Show Gist options
  • Save alberthdev/1833bdcf8546dc62af6674af8fcddec0 to your computer and use it in GitHub Desktop.
Save alberthdev/1833bdcf8546dc62af6674af8fcddec0 to your computer and use it in GitHub Desktop.
Pyenv Prep
#!/bin/bash
# In order to use Pyenv, you do need a few dependencies to get things going.
# Otherwise, building will not occur and/or your favorite (necessary) modules
# won't be built!
# Install the basics (gcc, g++, make, etc.)
sudo apt-get install build-essential
# Python 3.5.2 build dependencies
# (Source from: http://mirrors.bloomu.edu/debian/pool/main/p/python3.5/python3.5_3.5.2-6.dsc)
sudo apt-get install autoconf lsb-release sharutils libreadline-dev \
libncursesw5-dev zlib1g-dev libbz2-dev liblzma-dev libgdbm-dev \
libdb-dev tk-dev blt-dev libssl-dev libexpat1-dev libmpdec-dev \
libbluetooth-dev locales libsqlite3-dev libffi-dev libgpm2 \
mime-support netbase bzip2 time python3:any net-tools xvfb xauth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment