How To Install pypibrowser on Ubuntu 18.04

In this tutorial we learn how to install pypibrowser on Ubuntu 18.04. pypibrowser is graphical interface for browsing the Python Package Index

Introduction

In this tutorial we learn how to install pypibrowser on Ubuntu 18.04.

What is pypibrowser

pypibrowser is:

PyPI Browser is a graphical user interface (GUI) tool for browsing the contents of the Python Package Index (PyPI). It queries the online Package Index server to retrieve information about the available packages.

It aims to make it easier for users to find and download useful Python software from a central repository. It provides facilities for searching the package index, can display information about individual packages, allows packages to be marked so that they can be downloaded together, and records information about existing packages so that new ones can be highlighted.

Be warned that the preferred way of installing Python modules in the Debian distribution is from the official python-* packages.

There are three methods to install pypibrowser on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install pypibrowser Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install pypibrowser using apt-get by running the following command:

sudo apt-get -y install pypibrowser

Install pypibrowser Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pypibrowser using apt by running the following command:

sudo apt -y install pypibrowser

Install pypibrowser Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install pypibrowser using aptitude by running the following command:

sudo aptitude -y install pypibrowser

How To Uninstall pypibrowser on Ubuntu 18.04

To uninstall only the pypibrowser package we can use the following command:

sudo apt-get remove pypibrowser

Uninstall pypibrowser And Its Dependencies

To uninstall pypibrowser and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove pypibrowser

Remove pypibrowser Configurations and Data

To remove pypibrowser configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pypibrowser

Remove pypibrowser configuration, data, and all of its dependencies

We can use the following command to remove pypibrowser configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pypibrowser

References

Summary

In this tutorial we learn how to install pypibrowser package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.