以下の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からアップグレード)することが可能かどうかを知りたいです。