How To Install nautilus-hide on Ubuntu 18.04

In this tutorial we learn how to install nautilus-hide on Ubuntu 18.04. nautilus-hide is Extension for Nautilus to hide files without renaming them

Introduction

In this tutorial we learn how to install nautilus-hide on Ubuntu 18.04.

What is nautilus-hide

nautilus-hide is:

Nautilus Hide is a simple Python extension for the Nautilus file manager that adds options to the right-click menu to hide or unhide files.

The extension hides the files without renaming them (i.e. without prefixing a dot (’.’) or suffixing a tilde (’~’)). It does that by adding their names to the folder’s ‘.hidden’ file, which Nautilus reads to hide the listed files the next time you open or refresh the folder.

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

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

sudo apt-get update

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

sudo apt-get -y install nautilus-hide

Install nautilus-hide Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nautilus-hide

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

sudo aptitude -y install nautilus-hide

How To Uninstall nautilus-hide on Ubuntu 18.04

To uninstall only the nautilus-hide package we can use the following command:

sudo apt-get remove nautilus-hide

Uninstall nautilus-hide And Its Dependencies

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

sudo apt-get -y autoremove nautilus-hide

Remove nautilus-hide Configurations and Data

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

sudo apt-get -y purge nautilus-hide

Remove nautilus-hide configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nautilus-hide

References

Summary

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