Install Python on Ubuntu
1. Download Python
Firstly, you have to access to the address below to download Python:
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092697-vi.webp)
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092698-vi.webp)
After having downloaded, you get 1 file:
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092704-vi.webp)
2. Installing Python
Firstly, you need to extract the file that you have already downloaded above.
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092718-vi.webp)
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092719-vi.webp)
Open "Terminal" and CD in the directory that you get after extracting above.
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092725-vi.webp)
Log in with the ADMIN rights:
sudo su
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092732-vi.webp)
Install
./configure
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092739-vi.webp)
The "./configure" statement has been already executed.
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092745-vi.webp)
Execute the next statement "make" to create files.
make
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092752-vi.webp)
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092753-vi.webp)
OK, now you have already Python installed, you need to re-check. Run the statement "python" to work with Python:
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092759-vi.webp)
Execute some Python scripts:
print ("Hello Python");
1 + 2
![](https://s1.o7planning.com/web-rs/web-image/en/arf-1092766-vi.webp)
Python Programming Tutorials
- Lookup Python documentation
- Branching statements in Python
- Python Function Tutorial with Examples
- Class and Object in Python
- Inheritance and polymorphism in Python
- Python Dictionary Tutorial with Examples
- Python Lists Tutorial with Examples
- Python Tuples Tutorial with Examples
- Python Date Time Tutorial with Examples
- Connect to MySQL Database in Python using PyMySQL
- Python exception handling Tutorial with Examples
- Python String Tutorial with Examples
- Introduction to Python
- Install Python on Windows
- Install Python on Ubuntu
- Install PyDev for Eclipse
- Conventions and Grammar versions in Python
- Python Tutorial for Beginners
- Python Loops Tutorial with Examples
Show More