How To Install nautilus-admin on Debian 9

In this tutorial we learn how to install nautilus-admin on Debian 9. nautilus-admin is Extension for Nautilus to do administrative operations

Introduction

In this tutorial we learn how to install nautilus-admin on Debian 9.

What is nautilus-admin

nautilus-admin is:

Nautilus Admin is a simple Python extension for the Nautilus file manager that adds some administrative actions to the right-click menu:

  • Open as Administrator: opens a folder in a new Nautilus window running with administrator (root) privileges.
  • Edit as Administrator: opens a file in a Gedit window running with administrator (root) privileges.
  • Run as Administrator: runs an executable file with administrator (root) privileges inside a GNOME Terminal.

There are three methods to install nautilus-admin on Debian 9. 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-admin 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-admin using apt-get by running the following command:

sudo apt-get -y install nautilus-admin

Install nautilus-admin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nautilus-admin

Install nautilus-admin 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install nautilus-admin

How To Uninstall nautilus-admin on Debian 9

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

sudo apt-get remove nautilus-admin

Uninstall nautilus-admin And Its Dependencies

To uninstall nautilus-admin and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove nautilus-admin

Remove nautilus-admin Configurations and Data

To remove nautilus-admin configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge nautilus-admin

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

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

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

Dependencies

nautilus-admin have the following dependencies:

References

Summary

In this tutorial we learn how to install nautilus-admin package on Debian 9 using different package management tools: apt, apt-get and aptitude.