Skip ke Konten

How to install spesific python version

18 Januari 2024 oleh
How to install spesific python version
Aris Khumaini
| Belum ada komentar

Cara melakukan instalasi spesifik python versi
1. Buka halaman official Python source code webpage dan pilih versi yang akan diinstall, copy link untuk versi Gzipped source tarball:
3. Gunakan wget command dan link di atas untuk mendownload Python terbaru
wget https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tgz
Step 4: Extract file
Pada step ini, extract the tgz file Jalankan perintah
tar -xf Python-3.12.1.tgz


Step 5: Test System and Optimize Python
Sebelum install pastikan melakukan testing dan optimasi python
./configure --enable-optimizations
.
Step 6: Install Python
Setelah selesai, jalan perintah berikut untuk instalasi
sudo make install
Note: If you already have Python 3, but want to create a second Python installation on top of that one, run the following command:
sudo make altinstall
Allow the process to complete.
Step 7: Verify Python Version
Check if the installation completed correctly by running:
python3 --version
The command should show the program version you installed.

di dalam Travel
How to install spesific python version
Aris Khumaini 18 Januari 2024
Share post ini
Label
Arsip
Masuk untuk meninggalkan komentar