How To Install caja-gksu on Debian 9

In this tutorial we learn how to install caja-gksu on Debian 9. caja-gksu is privilege granting extension for Caja using gksu

Introduction

In this tutorial we learn how to install caja-gksu on Debian 9.

What is caja-gksu

caja-gksu is:

Caja is the official file manager for the MATE desktop. This package adds extended functionality to the Caja file manager.

The gksu extension for Caja allows you to open files with administration privileges using the context menu when browsing your files with Caja.

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

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

sudo apt-get update

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

sudo apt-get -y install caja-gksu

Install caja-gksu Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install caja-gksu

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

sudo aptitude -y install caja-gksu

How To Uninstall caja-gksu on Debian 9

To uninstall only the caja-gksu package we can use the following command:

sudo apt-get remove caja-gksu

Uninstall caja-gksu And Its Dependencies

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

sudo apt-get -y autoremove caja-gksu

Remove caja-gksu Configurations and Data

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

sudo apt-get -y purge caja-gksu

Remove caja-gksu configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge caja-gksu

Dependencies

caja-gksu have the following dependencies:

References

Summary

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