Technoracle
    Facebook Twitter Instagram
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    Facebook Twitter Instagram Pinterest Vimeo
    TechnoracleTechnoracle
    • Tutorials
      • Amazon Cloud
      • Google Cloud
    • How To
    • Blog
    • About
    Subscribe
    Technoracle
    Home»How To»How to Install Pip on Ubuntu 20.04
    How To

    How to Install Pip on Ubuntu 20.04

    Rajesh ShivamBy Rajesh ShivamMay 20, 2021Updated:May 20, 2021No Comments2 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Install Pip on Ubuntu
    Share
    Facebook Twitter LinkedIn Pinterest Email
    Install Pip on Ubuntu

    Pip is the Python packages installer. You can use pip to install packages from the Python Package Index(PPI). In this tutorial, I am going to explain step by step guide to install pip on Ubuntu 20.04.

    So let’s get started.

    Page Contents

    • Pip Installation on Ubuntu 20.04
        • 1. Precheck
        • 2. Pip installation on Ubuntu 20.04 using apt
        • 3. How to use Pip with basic commands example
          • 3.1 Install a package with pip
          • 3.2 Search for packages using pip
          • 3.3 How to remove packages installed via Pip
      • Conclusion

    Pip Installation on Ubuntu 20.04

    1. Precheck

    By default, Python3 comes with Ubuntu 20.04. Before installing pip, make sure that the Python is already installed. If not installed, check how to install Python3 on Ubuntu.

    To check the Python version use following command.

    $ python3 -V
    
    Output
    Python 3.8.5

    Python3 is already installed on the system.

    2. Pip installation on Ubuntu 20.04 using apt

    To install the Pip3 on Ubuntu, use following command:

    $ sudo apt install python3-pip

    After installation completed, check the installation by following command:

    $ pip3 --version
    
    Output should look like
    pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

    Hurray, you have successfully installed Pip3.

    3. How to use Pip with basic commands example

    Let’s discuss how to use pip with basic commands.

    3.1 Install a package with pip

    There are two ways to install pip packages. You can either install it for the currently logged in user or you can install system wide.

    $ pip3 install --user python_package_name

    If you remove the –user option, the package will be installed system wide and it will be available for all the users. You will need sudo access in this case.

    $ sudo pip3 install python_package_name
    3.2 Search for packages using pip

    To search packages in the Python Package Index, use following command.

    $ pip3 search search_string
    3.3 How to remove packages installed via Pip

    To remove the packages using pip, use following command.

    $ pip3 uninstall installed_package_name

    Conclusion

    In this article, you have learned to install Pip on Ubuntu. Follow this article thoroughly to install quickly. If you have any doubts feel free to contact me, I will definitely try to help you. Also, you can join our elite Facebook group to get direct help from me. If you like this tutorial, please share this article on your social media handle.

    ubuntu tips
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleHow to Install phpMyAdmin on Ubuntu 20.04
    Next Article How to Manage Bitnami Services Easily | Bitnami Restart Apache
    Rajesh Shivam

    Hello, everyone, I am Rajesh Shivam, I am a full-time freelancer with more than seven years plus experience in different freelancing platforms, in this blog, I am going to provide complete freelancing tips and tricks.

    Related Posts

    How To

    How to Install Microsoft Teams on Ubuntu 22.04 Easily

    February 22, 2023
    Read More
    How To

    What is Elastic IP and Its Pricing in AWS

    February 22, 2023
    Read More
    How To

    How to Convert PEM to PPK file [Step by Step Guide]

    February 22, 2023
    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Facebook Twitter Instagram Pinterest
    © 2023 Technoracle

    Type above and press Enter to search. Press Esc to cancel.

    Go to mobile version