How To Install slack on Debian 9

In this tutorial we learn how to install slack on Debian 9. slack is configuration management program for lazy admins

Introduction

In this tutorial we learn how to install slack on Debian 9.

What is slack

slack is:

slack tries to allow centralized configuration management with a bare minimum of effort. Usually, just putting a file in the right place will cause the right thing to be done. It uses rsync to copy files around, so can use any sort of source (NFS directory, remote server over SSH, remote server over rsync) that rsync supports.

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

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

sudo apt-get update

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

sudo apt-get -y install slack

Install slack Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install slack

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

sudo aptitude -y install slack

How To Uninstall slack on Debian 9

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

sudo apt-get remove slack

Uninstall slack And Its Dependencies

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

sudo apt-get -y autoremove slack

Remove slack Configurations and Data

To remove slack configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge slack

Remove slack configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge slack

Dependencies

slack have the following dependencies:

References

Summary

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