How To Install caspar on Debian 9
Introduction
In this tutorial we learn how to install caspar
on Debian 9.
What is caspar
caspar is:
Caspar offers Makefile snippets for tasks like installing files you maintain using a version control system, or typesetting documents in some markup language.
If you need to maintain and distribute lots of files (system configuration files for Unix hosts using a version control system, e.g.), caspar is likely useful for you. It is comparable with other tools for Unix system administrators like puppet and cfengine. Main difference: the caspar code consists of less than 100 lines of GNU Make, so if puppet and cfengine are overkill for your needs, you’ll probably like the small and simple caspar tool.
If you write documents in a markup language like LaTeX, DocBook XML, DocBook SGML or POD, and want to automate the typesetting, you’ll like caspar. Install all suggested packages if you’d like to use this typesetting functionality (or pick the suitable ones from the list of suggested packages).
It’s not strictly necessary to know how to write Makefiles when using caspar.
There are three methods to install caspar
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 caspar Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install caspar
using apt-get
by running the following command:
sudo apt-get -y install caspar
Install caspar Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install caspar
using apt
by running the following command:
sudo apt -y install caspar
Install caspar 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 caspar
using aptitude
by running the following command:
sudo aptitude -y install caspar
How To Uninstall caspar on Debian 9
To uninstall only the caspar
package we can use the following command:
sudo apt-get remove caspar
Uninstall caspar And Its Dependencies
To uninstall caspar
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove caspar
Remove caspar Configurations and Data
To remove caspar
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge caspar
Remove caspar configuration, data, and all of its dependencies
We can use the following command to remove caspar
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge caspar
Dependencies
caspar have the following dependencies:
References
Summary
In this tutorial we learn how to install caspar
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.