패키지 관리자의 Debian 9용 Python 3.7

패키지 관리자의 Debian 9용 Python 3.7

아래 Python 3.7을 설치할 수있었습니다이 지시.

# Start by installing the packages necessary to build Python source:
$ sudo apt update
$ sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget

# Download the latest release’s source code from the Python download page using the following curl command:
$ curl -O https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz

# When download is complete, extract the tarball:
$ tar -xf Python-3.7.3.tar.xz

# Navigate to the Python source directory and run the configure script that will perform a number of checks to make sure all of the dependencies on your system are present:
$ cd Python-3.7.3
$ ./configure --enable-optimizations

# Run make to start the build process:
$ make -j 8

# Once the build is done install the Python binaries by running the following command as a user with sudo access:
$ sudo make altinstall

하지만 패키지 관리자를 사용하여 Python 3.7을 설치(또는 버전 3.5에서 업그레이드)하는 것이 가능한지 알고 싶습니다.

관련 정보