|
|
@@ -10,17 +10,17 @@ Ubuntu 24.04 does not include Python 2.7 by default, as it has reached its end o
|
|
|
```
|
|
|
2. **Install required dependencies:**
|
|
|
```bash
|
|
|
- sudo apt install -y build-essential checkinstall libncurses-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev libreadline-dev libdb-dev
|
|
|
+ sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libsqlite3-dev libffi-dev
|
|
|
```
|
|
|
-3. **Download Python 2.7.18 source code:**
|
|
|
+3. **Download Python 2.7.3 source code:**
|
|
|
```bash
|
|
|
cd /usr/src
|
|
|
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
|
|
|
```
|
|
|
4. **Extract the downloaded file:**
|
|
|
```bash
|
|
|
- tar xzf Python-2.7.18.tgz
|
|
|
- cd Python-2.7.18
|
|
|
+ tar -xzf Python-2.7.3.tgz
|
|
|
+ cd Python-2.7.3
|
|
|
```
|
|
|
5. **Configure and compile Python 2.7:**
|
|
|
When configuring the build, you have two options for the compilation:
|