How To Install docbook-slides-demo on Ubuntu 18.04

In this tutorial we learn how to install docbook-slides-demo on Ubuntu 18.04. docbook-slides-demo is Demo presentation slides for the docbook-slides package

Introduction

In this tutorial we learn how to install docbook-slides-demo on Ubuntu 18.04.

What is docbook-slides-demo

docbook-slides-demo is:

This package provides 12 formatting and display options available for the docbook-slides package.

If you plan to use docbook-slides for developing presentations, these demos will provide you with examples of the many different output options that are available with the docbook-slides package.

There are three methods to install docbook-slides-demo on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install docbook-slides-demo Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install docbook-slides-demo

Install docbook-slides-demo Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install docbook-slides-demo using apt by running the following command:

sudo apt -y install docbook-slides-demo

Install docbook-slides-demo 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install docbook-slides-demo using aptitude by running the following command:

sudo aptitude -y install docbook-slides-demo

How To Uninstall docbook-slides-demo on Ubuntu 18.04

To uninstall only the docbook-slides-demo package we can use the following command:

sudo apt-get remove docbook-slides-demo

Uninstall docbook-slides-demo And Its Dependencies

To uninstall docbook-slides-demo and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove docbook-slides-demo

Remove docbook-slides-demo Configurations and Data

To remove docbook-slides-demo configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge docbook-slides-demo

Remove docbook-slides-demo configuration, data, and all of its dependencies

We can use the following command to remove docbook-slides-demo configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge docbook-slides-demo

References

Summary

In this tutorial we learn how to install docbook-slides-demo package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.