How To Install pypump-shell on Ubuntu 18.04

In this tutorial we learn how to install pypump-shell on Ubuntu 18.04. pypump-shell is interface to the pump.io APIs (pypump-shell program)

Introduction

In this tutorial we learn how to install pypump-shell on Ubuntu 18.04.

What is pypump-shell

pypump-shell is:

PyPump provides an interface to the pump.io APIs. The aim is to provide very natural pythonic representations of Notes, Images, People, etc… allowing you to painlessly interact with them.

This package provides the pypump-shell program, which sets up an environment and oauth tokens and allows for interactive testing.

There are three methods to install pypump-shell 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 pypump-shell Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pypump-shell

Install pypump-shell Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pypump-shell

Install pypump-shell 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 pypump-shell using aptitude by running the following command:

sudo aptitude -y install pypump-shell

How To Uninstall pypump-shell on Ubuntu 18.04

To uninstall only the pypump-shell package we can use the following command:

sudo apt-get remove pypump-shell

Uninstall pypump-shell And Its Dependencies

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

sudo apt-get -y autoremove pypump-shell

Remove pypump-shell Configurations and Data

To remove pypump-shell configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pypump-shell

Remove pypump-shell configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pypump-shell

References

Summary

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