[Linux] Install Python 3 without administrator privileges

When I tried to install the Python module on the school server, I couldn't, so I installed the entire Python locally.

    1. Create and move a directory (here src) to your home directory. [cd / home directory / src]
  1. Download Python with the wget command.  [ wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz ]

    1. Defrost.   [ tar xvzf Python-3.6.3.tgz ]

Four. make. Specify the installation location with configure (here / home directory / local /).   [ cd Python-3.6.3 ] [./configure --prefix = / home directory / local / python]  [ make ]  [ make install]

Five. Pass through.  [ vi ~/.bash_profile ]

Add the following sentence. [export PATH = $ PATH: / home directory / local / python / bin]

Command mode with vi open Enter "A" to enter edit mode (added to the end of the current line) After inputting, press "esc" to enter command mode Enter ": wq" to save & exit

Installation is complete at this point!

〇 How to use [/ Home directory / local / python / bin / python3 filename]

〇Installation of library [/ Home directory / local / python / bin / pip3 install package] The main ones should be included from the beginning. However, pip needed an update.

Recommended Posts

[Linux] Install Python 3 without administrator privileges
How to install MeCab (v0.996) and libraries for Python without administrator privileges
Install CaboCha without root privileges.
Install Python Pillow on Amazon Linux
Installation from python, numpy, scipy sources without root privileges on Linux
Install scipy on Linux without internet connection
Install Python 3.8, Pip 3.8 on EC2 (Amazon Linux 2)
Install Python locally
Install NAOqi python
Install the python module with pip on a server without root privileges
Install Python Control
CentOS8 --Install --Python3
Stray build Python-3.8.5 on CentOS without root privileges
Install python on WSL
How to install Python
Install Python on Pidora.
Install Scrapy on python3
[Node] [npm] Install npm packeage on MacOS / Linux without sudo
Install Python on Mac
How to install python
Install Python 3 on Mac
Install python from source
Install Python3.4 on CentOS 6.6
Install Python Jupyter lab
Install python external library
Install python (pyenv, pyenv-virtualenv)
Install Voluptuous with Python 2.5
Install python on windows
Compile and install MySQL-python for python2.7 on amazon linux
Python PyTorch install tips
Install Python 2.7.3 on CentOS 5.4
Install python with pyenv
Install Python 3.3 on Ubuntu 12.04
Install Python 3.4 on Mac
Install openblas (without apt-get)
Install Python 3.6 on Docker
Install Python (for Windows)
Install Minecraft on Arch Linux
[2020.8 latest] How to install Python
How to install Python [Windows]
Install Python 3.8 on RHEL 8 (AppStream)
Install Linux on your Chromebox
Install watchdog on Windows + Python 3.3
Install Python and Flask (Windows 10)
Install Python environment with Anaconda
Install pygame on python3.4 on mac
Windows10: Install python dlib library
Install Python 3.8 on CentOS 7 (SCL)
Install the JDK on Linux
Install external libraries with Python
[Linux] [Initial Settings] Install & Uninstall
Install multiple versions of Python
Install pandas 0.14 on python3.4 [on Mac]
Install Python 3.7 and Django 3.0 (CentOS)
Install OpenCV on Ubuntu + python
Python --Install MySQLDB on EC2
Install tomcat 5.5 on Amazon Linux.
Install pyenv from Homebrew, install Python from pyenv
Install Python 3.8 on CentOS 8 (AppStream)
Install Homebrew on Amazon Linux 2
Install strongSwan 5.9.1 on Amazon Linux 2