Skip to content

Instantly share code, notes, and snippets.

View PouletteMC's full-sized avatar
🐥
LilNug dropping fire

Poulette PouletteMC

🐥
LilNug dropping fire
View GitHub Profile
@sumanthratna
sumanthratna / install-python.bash
Created October 5, 2020 13:46
How to install Python 3 on Linux without sudo access.
# adapted from https://web.archive.org/save/https://randomwalk.in/python/2019/10/27/Install-Python-copy.html
wget https://www.python.org/ftp/python/3.6.10/Python-3.6.10.tgz
tar zxfv Python-3.6.10.tgz
rm Python-3.6.10.tgz
find ./Python-3.6.10/Python -type d | xargs chmod 0755
cd Python-3.6.10
./configure --prefix=$PWD/Python-3.6.10/Python
make
make install
export PATH=$CWD:$PATH # adds python3.6 to PATH