Skip to content

Instantly share code, notes, and snippets.

@dansayo
Last active October 30, 2019 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dansayo/9bc13f2c5a369664e5e31b6342c5e66c to your computer and use it in GitHub Desktop.
Save dansayo/9bc13f2c5a369664e5e31b6342c5e66c to your computer and use it in GitHub Desktop.
Installing pyenv on MX Linux

Installing pyenv - on MX Linux 19

  1. Basic installation

Note: update the bashrc not bash_profile

  1. Other packages needed
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
  1. Change terminal prompt by inserting this line at the end of bashrc. This is a good reference on changing prompts.
PS1="\[\e[33m\]\w\[\e[m\] \\$ "

A simple prompt showing current directory with $ at the end, like in Mac OS shell.

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