How To Install super on Debian 12

Learn how to install super on Debian 12 with this tutorial. super is Execute commands setuid root

Introduction

In this tutorial we learn how to install super on Debian 12.

What is super

super is:

Super allows specified users to execute scripts (or other commands) as if they were root; or it can set the uid and/or gid on a per-command basis before executing the command. It is intended to be a secure alternative to making scripts setuid root.

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

Install super Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install super

Install super Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install super

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

sudo aptitude -y install super

How To Uninstall super on Debian 12

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

sudo apt-get remove super

Uninstall super And Its Dependencies

To uninstall super and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove super

Remove super Configurations and Data

To remove super configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge super

Remove super configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge super

Dependencies

super have the following dependencies:

References

Summary

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