How to install pip on openSUSE server
Steps to install pip on openSUSE server with zypper
1. Log into your openSUSE server as ‘root’ user
2. Check the version of Python installed on your server
Python 2.7.17
3. Install pip using zypper install command
Loading repository data…
Reading installed packages…
Resolving package dependencies…
The following 6 NEW packages are going to be installed:
python3-appdirs python3-packaging python3-pip python3-pyparsing python3-setuptools python3-six
6 new packages to install.
Overall download size: 2.5 MiB. Already cached: 0 B. After the operation, additional 14.3 MiB will
be used.
Continue? [y/n/v/…? shows all options] (y): y
Loading repository data…
Reading installed packages…
‘python-pip’ not found in package names. Trying capabilities.
Resolving package dependencies…
The following 7 NEW packages are going to be installed:
python-xml python2-appdirs python2-packaging python2-pip python2-pyparsing python2-setuptools
python2-six
7 new packages to install.
Overall download size: 2.6 MiB. Already cached: 0 B. After the operation, additional 13.5 MiB will
be used.
Continue? [y/n/v/…? shows all options] (y):y
4. Type ‘y’ and press enter key to confirm that you want to continue with the installation
5. Run the command ‘pip –version’ to check the version of pip
pip 19.3.1
Steps to install pip with get-pip.py
1. Log into your opensuse server as ‘root’
2. Download get-pip.py
3. Execute get-pip.py
Collecting pip
Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
|################################| 1.4MB 879kB/s
Collecting wheel
Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Installing collected packages: pip, wheel
Successfully installed pip wheel