Technoracle
    Facebook Twitter Instagram
    Facebook Twitter Instagram
    TechnoracleTechnoracle
    • Home
    • AWS
      • EC2
      • Lightsail
      • RDS
      • S3
    • Ubuntu
      • Ubuntu 20.04
      • Ubuntu 22.04
    • AI Tools
    • Web Hosting
    • WordPress
    • Tech News
    Technoracle
    Home - How to Install Pip on Ubuntu 20.04
    Uncategorized

    How to Install Pip on Ubuntu 20.04

    Rajesh ShivamBy Rajesh ShivamMay 20, 2021Updated:May 20, 2021No Comments2 Mins Read
    Install Pip on Ubuntu
    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 Reddit
    Previous ArticleHow to Install phpMyAdmin on Ubuntu 20.04
    Next Article How to Manage Bitnami Services Easily | Bitnami Restart Apache
    Rajesh Shivam
    • LinkedIn

    Rajesh Shivam is a seasoned professional with expertise in AWS and Linux System Administration. With over 10 years of freelancing experience, he brings a wealth of knowledge to the table. Rajesh has a strong passion for technology and stays connected with the latest happenings in the field. His dedication and expertise make him a trusted resource for all things tech-related.

    Related Posts

    Install PHP on Ubuntu 22.04
    Ubuntu

    How to Install PHP on Ubuntu 22.04 [Simple Guide]

    Read More
    Uncategorized

    How to Get your First Order On Fiverr in 2023 – 5 Proven tricks

    Read More
    Install Microsoft Teams on Ubuntu 22.04
    Ubuntu

    How to Install Microsoft Teams on Ubuntu 22.04 (Easy Steps)

    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Install Google Chrome on Ubuntu 22.04

    How to Install Google Chrome on Ubuntu 22.04(Easy Guide)

    August 29, 2023
    Enable PHP BCMath Extension in cPanel

    How to Enable PHP BCMath Extension in cPanel (3 Easy Quick Steps)

    August 25, 2023
    install PHP GD on Ubuntu

    How to Install PHP GD on Ubuntu 22.04 [Easy Guide]

    May 2, 2023
    Install PHP on Ubuntu 22.04

    How to Install PHP on Ubuntu 22.04 [Simple Guide]

    April 26, 2023

    Subscribe to Blog

    Enter your email address to subscribe to
    this blog and receive notifications of new posts by email.

    Facebook Twitter Instagram Pinterest
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    © 2023 Technoracle

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

    Click to Copy
    Go to mobile version