How To Install peony-admin on Debian 10

Learn how to install peony-admin on Debian 10 with this tutorial. peony-admin is Add administrative actions to Peonys right-click menu

Introduction

In this tutorial we learn how to install peony-admin on Debian 10.

What is peony-admin

peony-admin is:

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

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

There are three methods to install peony-admin on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install peony-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 peony-admin using apt-get by running the following command:

sudo apt-get -y install peony-admin

Install peony-admin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install peony-admin

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

sudo aptitude -y install peony-admin

How To Uninstall peony-admin on Debian 10

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

sudo apt-get remove peony-admin

Uninstall peony-admin And Its Dependencies

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

sudo apt-get -y autoremove peony-admin

Remove peony-admin Configurations and Data

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

sudo apt-get -y purge peony-admin

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

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

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

Dependencies

peony-admin have the following dependencies:

References

Summary

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