How To Install homesick on Debian 9

In this tutorial we learn how to install homesick on Debian 9. homesick is keep your dotfiles (configs) in git

Introduction

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

What is homesick

homesick is:

homesick allows one to keep some set of files from home directory in separate git repository. User can have several repositories attached to your home directory with several sets of configs: one repository for console tools, another for GUI, third for some development utilities.

homesick is similar to vsch, another tool for managing config files.

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

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

sudo apt-get update

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

sudo apt-get -y install homesick

Install homesick Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install homesick

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

sudo aptitude -y install homesick

How To Uninstall homesick on Debian 9

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

sudo apt-get remove homesick

Uninstall homesick And Its Dependencies

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

sudo apt-get -y autoremove homesick

Remove homesick Configurations and Data

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

sudo apt-get -y purge homesick

Remove homesick configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge homesick

Dependencies

homesick have the following dependencies:

References

Summary

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