How To Install pyneighborhood on Ubuntu 18.04

In this tutorial we learn how to install pyneighborhood on Ubuntu 18.04. pyneighborhood is PyGTK2 SAMBA browser

Introduction

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

What is pyneighborhood

pyneighborhood is:

pyNeighborhood is GTK2 Python rewrite of a well-known gtk1 tool “LinNeighborhood”. It features group browser, favourite hosts manager and mounts monitor.

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

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

sudo apt-get update

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

sudo apt-get -y install pyneighborhood

Install pyneighborhood Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pyneighborhood

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

sudo aptitude -y install pyneighborhood

How To Uninstall pyneighborhood on Ubuntu 18.04

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

sudo apt-get remove pyneighborhood

Uninstall pyneighborhood And Its Dependencies

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

sudo apt-get -y autoremove pyneighborhood

Remove pyneighborhood Configurations and Data

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

sudo apt-get -y purge pyneighborhood

Remove pyneighborhood configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pyneighborhood

References

Summary

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