How To Install c-sig on Debian 9

In this tutorial we learn how to install c-sig on Debian 9. c-sig is signature tool for GNU Emacs

Introduction

In this tutorial we learn how to install c-sig on Debian 9.

What is c-sig

c-sig is:

C-sig is a signature insertion tool for GNU Emacs. Features in c-sig include:

  • registering signatures interactively
  • learning facility
  • expanding signatures dynamically
  • modifying signatures through elisp functions

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

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

sudo apt-get update

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

sudo apt-get -y install c-sig

Install c-sig Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install c-sig

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

sudo aptitude -y install c-sig

How To Uninstall c-sig on Debian 9

To uninstall only the c-sig package we can use the following command:

sudo apt-get remove c-sig

Uninstall c-sig And Its Dependencies

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

sudo apt-get -y autoremove c-sig

Remove c-sig Configurations and Data

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

sudo apt-get -y purge c-sig

Remove c-sig configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge c-sig

Dependencies

c-sig have the following dependencies:

References

Summary

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