Pip (Pip Install Packages) is a command line utility tool used to install and manage software packages written in Python. Like apt and yum, it is a package management system and mainly used to download and install packages from the Python Package Index (PyPI). Pip does not get installed by default in Ubuntu 18.04. However, the installation of Python Pip using the apt package manager is very simple.
Pip (Pip安装软件包)是一个命令行实用工具,用于安装和管理以Python编写的软件包。 与apt和yum一样,它是一个程序包管理系统,主要用于从Python程序包索引( PyPI )下载和安装程序包。 在Ubuntu 18.04中默认不安装Pip。 但是,使用apt包管理器安装Python Pip非常简单。
This tutorial will show you how to install python Pip in your Ubuntu 18.04 system using apt. Thereafter, we will also check a few essential usages of Python Pip.
本教程将向您展示如何使用apt在Ubuntu 18.04系统中安装python Pip。 此后,我们还将检查Python Pip的一些基本用法。
先决条件 (Prerequisite)
- You can open a SSH session in your Ubuntu 18.04 system using
root
or asudo
enabled user. 您可以使用root
或启用sudo
用户在Ubuntu 18.04系统中打开SSH会话。