How To Install usemod-wiki on Debian 12

Learn how to install usemod-wiki on Debian 12 with this tutorial. usemod-wiki is Perl-based Wiki clone

Introduction

In this tutorial we learn how to install usemod-wiki on Debian 12.

What is usemod-wiki

usemod-wiki is:

UseMod is a reimplementation/clone of the original Wiki concept created by Ward Cunningham. A “wiki” is a website that is collaboratively edited by its users, including the ability to alter text written by other users.

UseMod provides common wiki features as well as unique features: recent changes, conflict resolution, difference links, subpages, interwiki links, full text searching, free links (for free-form wiki names), administrative features.

There are three methods to install usemod-wiki on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install usemod-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 usemod-wiki using apt-get by running the following command:

sudo apt-get -y install usemod-wiki

Install usemod-wiki Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install usemod-wiki

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

sudo aptitude -y install usemod-wiki

How To Uninstall usemod-wiki on Debian 12

To uninstall only the usemod-wiki package we can use the following command:

sudo apt-get remove usemod-wiki

Uninstall usemod-wiki And Its Dependencies

To uninstall usemod-wiki and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove usemod-wiki

Remove usemod-wiki Configurations and Data

To remove usemod-wiki configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge usemod-wiki

Remove usemod-wiki configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge usemod-wiki

Dependencies

usemod-wiki have the following dependencies:

References

Summary

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