How to Install pip on linuxmint 18.3

To Install pip on LinuxMint 18.3

Pip is a package management system used to install and manage software packages written in Python which can be found in the Python Package Index (PyPI). It is so simple to install pip on Linux Mint, and this tutorial will guide you on the same process. 

Installation

Let' s start with updating the system repository 

linuxhelp ~ # apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease                                                          
Ign:3 http://packages.linuxmint.com sylvia InRelease                                           
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                     
Get:5 http://packages.linuxmint.com sylvia Release [24.2 kB]                   
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:7 http://packages.linuxmint.com sylvia Release.gpg [819 B]                   
.
.
Get:23 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,624 B]                                                     
Get:24 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [6,616 B]                                                      
Fetched 5,306 kB in 8s (600 kB/s)                                                                                                              
Reading package lists... Done

The installation of Pip is very simple. The only thing you need to do is to run the following command

linuxhelp ~ # apt-get install python-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python-pip-whl
Recommended packages:
  build-essential python-all-dev python-setuptools python-wheel
The following NEW packages will be installed:
  python-pip python-pip-whl
.
.
Processing triggers for man-db (2.7.5-1) ...
Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
Setting up python-pip (8.1.1-2ubuntu0.4) ...

After that, you can Verify the installation using the following command

linuxhelp ~ # pip  -V
pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)

Let' s upgrade the pip version 

linuxhelp ~ # pip install --upgrade pip
Collecting pip
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 548kB/s 
Installing collected packages: pip
  Found existing installation: pip 8.1.1
    Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
Successfully installed pip-9.0.1

Now we are going to search for a package and install it.  Let' s take that we want to search for vlc 

linuxhelp ~ # pip search vlc
The directory ' /home/user/.cache/pip/http'  or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo' s -H flag.
beamstreamer (1.2.2)                        - Watch Beam streams in VLC!
plover-vlc-commands (0.6.5)                 - VLC commands for Plover
vlc-ctrl (1.0.8)                            - A command line utility to control a running vlc player instance.
vlcp-event-cython (0.1.5)                   - Cython replacement of vlcp.event
vlcp-docker-plugin (0.2.6)                  - Docker network plugin for VLCP
.
.
VLCtagExporter (0.2)                        - 
VLCTagging (0.2)                            - 
VLCTVStation (1.0)                          - Wanna build a tv station in your village? But pay nothing for software, which costs huge money, and nobody cares you have only 5 viewers, well, welcome to vlctvstation then.
youtubevlc (1.0)                            - Script to import latest videos into VLC media player.

To install a package from output results use the following command

linuxhelp ~ # pip install vlcplaylister
Collecting vlcplaylister
  Downloading vlcplaylister-17.9.3-py2.py3-none-any.whl (2.3MB)
    100% |████████████████████████████████| 2.3MB 368kB/s 
Installing collected packages: vlcplaylister
Successfully installed vlcplaylister-17.9.3

Now VLC  playlister has been installed using pip command. With this, the method to  Install pip on LinuxMint 18.3 comes to an end

Tag : Linux Mint pip
FAQ
Q
how to check the version of PIP in linux mint?
A
use the below command to check the version
# pip -V
Q
what is the command to install PIP on ubuntu?
A
use the following command to install PIP on ubuntu
# apt-get install python-pip
Q
Where is my data stored
A
Your data will be securely stored and encrypted on your mobile device and on our HIPAA compliant cloud server
Q
what is the purpose of installing PIP in linuxmint?
A
Pip is a package management system used to install and manage software packages written in Python which can be found in the Python Package Index (PyPI). It is so simple to install pip on Linux Mint
Q
where to refer the idea about python?
A
Pip is a package management system used to install and manage software packages written in Python which can be found in the Python Package Index (PyPI).