How To Install python-nwsclient on Ubuntu 18.04

In this tutorial we learn how to install python-nwsclient on Ubuntu 18.04. python-nwsclient is NetWorkSpaces client for distributed Python applications

Introduction

In this tutorial we learn how to install python-nwsclient on Ubuntu 18.04.

What is python-nwsclient

python-nwsclient is:

This Debian package provides the NetWorkSpaces client which makes it easy to use computing clusters from within Python.

See http://www.ddj.com/web-development/200001971 for a recent overview article on NetWorkSpaces.

The python-nwsserver package provides the corresponding server.

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

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

sudo apt-get update

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

sudo apt-get -y install python-nwsclient

Install python-nwsclient Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-nwsclient

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

sudo aptitude -y install python-nwsclient

How To Uninstall python-nwsclient on Ubuntu 18.04

To uninstall only the python-nwsclient package we can use the following command:

sudo apt-get remove python-nwsclient

Uninstall python-nwsclient And Its Dependencies

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

sudo apt-get -y autoremove python-nwsclient

Remove python-nwsclient Configurations and Data

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

sudo apt-get -y purge python-nwsclient

Remove python-nwsclient configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-nwsclient

References

Summary

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