search
HomeComputer TutorialsComputer KnowledgeUbuntu16.04 upgrade python3.7.1 tutorial

Ubuntu16.04 upgrade python3.7.1 tutorial

Feb 19, 2024 am 10:42 AM
pythondev

Ubuntu16.04 upgrade python3.7.1 tutorial

To upgrade to Python 3.7.1 on Ubuntu 16.04, you can follow these steps:

  1. Make sure the system has been updated:

    Execute the following command in the terminal to update the system package:

    sudo apt update
    sudo apt upgrade
  2. Install build tools and dependencies:

    Execute the following command in the terminal to install the tools and dependencies required to build Python:

    sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
  3. Download Python 3.7.1 source code:

    Execute the following command in the terminal to download the source code of Python 3.7.1:

    cd ~wget 
  4. Decompress the source code:

    Execute the following command to decompress the downloaded source code:

    tar -xf Python-3.7.1.tgz
  5. Compile and install Python 3.7.1:

    Enter the decompressed source code directory and execute the following commands to compile and install Python 3.7.1:

    cd Python-3.7.1./configure --enable-optimizationsmake -j 4sudo make altinstall
  6. Verify installation:

    Execute the following command to verify whether Python 3.7.1 is successfully installed:

    python3.7 --version

    If version information similar to "Python 3.7.1" is displayed, the installation is successful.

You have successfully upgraded Python to version 3.7.1, please note that this operation only applies to Ubuntu 16.04. If you use another Ubuntu version or a different operating system, please refer to the corresponding documentation or guide.

The above is the detailed content of Ubuntu16.04 upgrade python3.7.1 tutorial. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:每日运维. If there is any infringement, please contact admin@php.cn delete
Universal Ways to Enable File Explorer Tabs on Windows 10Universal Ways to Enable File Explorer Tabs on Windows 10Apr 10, 2025 am 10:17 AM

The tabs feature in File Explorer is a highly convenient function for Windows users, yet it is not available on Windows 10. Nevertheless, you can enable tabs in File Explorer on Windows using third-party apps like Files. In this post, php.cn Software

Is Auto-Hide Taskbar Not Working on Windows 11? Here Are Fixes!Is Auto-Hide Taskbar Not Working on Windows 11? Here Are Fixes!Apr 10, 2025 am 10:16 AM

Windows provides an option to hide the taskbar automatically when you’re not using it. However, some users report that they meet the “auto-hide taskbar not working in Windows 11” issue. This post from php.cn provides solutions.

Top Fixes for Install Realtek Audio Driver Failure Error Code 0001Top Fixes for Install Realtek Audio Driver Failure Error Code 0001Apr 10, 2025 am 10:15 AM

Have you ever encountered the error message saying “install Realtek audio driver failure error code 0001” while trying to install a Realtek audio driver? If yes, you’ve come to the right place. This post on php.cn Software explains how to get this pr

How to Turn off Windows Firewall Notifications (3 Ways)How to Turn off Windows Firewall Notifications (3 Ways)Apr 10, 2025 am 10:14 AM

Windows Firewall notification keeps popping up? How to turn off Windows Firewall notifications? Now, you can get three proven ways from this post on php.cn to prevent Firewall notifications from popping up.

Guide: How to Permanently Delete Files From External Hard DriveGuide: How to Permanently Delete Files From External Hard DriveApr 10, 2025 am 10:13 AM

Want to sell or throw away your external drive but worried about data leakage? Deleted external hard drive files keep reappearing? How to permanently delete files from external hard drive? This post on php.cn shows you secure ways to delete external

How to Fix Network List Service High CPU? Four Solutions HereHow to Fix Network List Service High CPU? Four Solutions HereApr 10, 2025 am 10:12 AM

Computer users may encounter high CPU usage problems even if they don’t run too many programs on computers. Sometimes this problem can be fixed automatically, however, in some cases, you need to fix the problem manually, such as Network List Service

USB Files Turned into EXE Files? Recover Files & Remove VirusUSB Files Turned into EXE Files? Recover Files & Remove VirusApr 10, 2025 am 10:11 AM

A USB flash drive works as the most commonly used data storage device nowadays. However, it is easy to be infected by various viruses because you connect it to different devices to transfer files. When you find your USB files turned into EXE files, y

A Full Guide - Windows 11 Desktop Background Keeps ChangingA Full Guide - Windows 11 Desktop Background Keeps ChangingApr 10, 2025 am 10:10 AM

Windows 11 desktop background keeps changing and whenever you customize the wallpaper settings, Windows 11 will revert the changes. That is annoying and this article on the php.cn Website will present some methods that have been proven to be useful f

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use