Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Python3.8 on deepin system

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install Python3.8 in deepin system, which is very detailed and has certain reference value. Friends who are interested must finish it!

First, system introduction (source Baidu):

Deepin, formerly known as Linux Deepin, deepin os, Deep system, Deep operating system, was renamed Deepin in April 2014. The deepin team developed a new deep desktop environment (DDE) based on Qt/C++ (for the front end) and Go (for the back end), as well as a series of features such as music players, video players, software centers, and so on.

Deepin operating system is a Linux distribution developed by Wuhan Shenzhidu Technology Co., Ltd. Deepin operating system is a Linux operating system based on Debian, which focuses on the extreme operation experience of daily office, study, life and entertainment, and is suitable for notebooks, desktop computers and all-in-one computers. It contains all the applications you need, web browsers, slide shows, document editing, spreadsheets, entertainment, sound and image processing software, instant messaging software, and so on. The history of deepin can be traced back to 2004. Its predecessor, Hiweed Linux, is the first localized derivative version based on Debian in China, and provides lightweight available LiveCD, aiming to create a new simple, easy-to-use, beautiful Linux distribution.

Second, install Python3.8.0 version

Although the depth system comes with versions 2.7 and 3.5, in order to experience the installation of the system, I did a little bit of installation testing: the steps are as follows

Shortcut key Ctrl+Alt+t or mouse click to open the terminal

1. Install git (to facilitate downloading the source code in the future)

Sudo apt install git

2. Tools for grabbing source code packets

Sudo apt install wget

3. Install the dependent environment package

Sudo apt install yum

4. Install pip

Sudo apt install pip

5. Update and install dependency packages

Sudo apt update sudo apt install-y make build-essential libssl-dev zlib1g-devsudo apt install-y libbz2-dev libreadline-dev libsqlite3-dev wget curl llvmsudo apt install-y libncurses5-dev libncursesw5-dev xz-utils tk-dev

6. Download Python-3.8 and compile and install it

Run the following command in the terminal to download the source package:

Wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz/

Decompression

Tar xvf Python-3.8.0.tgz

Enter the 3.8.0 directory

Cd Python-3.8.0

Configuration file:

. / configure-- enable-optimizations

Pay attention to a little "." Symbol

7. Run the command and compile python-3.8.0

Sudo make altinstallsudo make clean

8. Shut down the terminal and restart and enter python3.8

9. Open a Python file

To the edited py file directory, open the terminal and execute the Python3.8 filename. Py

For example:

The above is all the contents of the article "how to install Python3.8 in deepin system". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report