How To Install yaws-wiki on Debian 9
Introduction
In this tutorial we learn how to install yaws-wiki on Debian 9.
What is yaws-wiki
yaws-wiki is:
Yaws-wiki is a small wiki application, written in Erlang for Yaws webserver.
There are three methods to install yaws-wiki 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 yaws-wiki Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install yaws-wiki using apt-get by running the following command:
sudo apt-get -y install yaws-wiki
Install yaws-wiki Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install yaws-wiki using apt by running the following command:
sudo apt -y install yaws-wiki
Install yaws-wiki 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 yaws-wiki using aptitude by running the following command:
sudo aptitude -y install yaws-wiki
How To Uninstall yaws-wiki on Debian 9
To uninstall only the yaws-wiki package we can use the following command:
sudo apt-get remove yaws-wiki
Uninstall yaws-wiki And Its Dependencies
To uninstall yaws-wiki and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove yaws-wiki
Remove yaws-wiki Configurations and Data
To remove yaws-wiki configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge yaws-wiki
Remove yaws-wiki configuration, data, and all of its dependencies
We can use the following command to remove yaws-wiki configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge yaws-wiki
Dependencies
yaws-wiki have the following dependencies:
References
Summary
In this tutorial we learn how to install yaws-wiki package on Debian 9 using different package management tools: apt, apt-get and aptitude.