How To Install trac-wikiprint on Debian 10

Learn how to install trac-wikiprint on Debian 10 with this tutorial. trac-wikiprint is Make Trac wiki pages printable, exporting to PDF or printable HTML

Introduction

In this tutorial we learn how to install trac-wikiprint on Debian 10.

What is trac-wikiprint

trac-wikiprint is:

This Trac plugin allows export of one or multiple wiki pages in PDF or HTML format. It features:

  • Fully customizable header/footers for PDF
  • Syntax highlighting in exported format, using pygments
  • Customizable front page for PDF book format
  • Automatic creation of Table of Contents if [[PageOutline]] Macro is used The style of the resulting PDF or HTML can be fully customized using CSS files.

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

Install trac-wikiprint Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install trac-wikiprint

Install trac-wikiprint Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install trac-wikiprint

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

sudo aptitude -y install trac-wikiprint

How To Uninstall trac-wikiprint on Debian 10

To uninstall only the trac-wikiprint package we can use the following command:

sudo apt-get remove trac-wikiprint

Uninstall trac-wikiprint And Its Dependencies

To uninstall trac-wikiprint and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove trac-wikiprint

Remove trac-wikiprint Configurations and Data

To remove trac-wikiprint configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge trac-wikiprint

Remove trac-wikiprint configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge trac-wikiprint

Dependencies

trac-wikiprint have the following dependencies:

References

Summary

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