How To Install slides-doc on Ubuntu 18.04

In this tutorial we learn how to install slides-doc on Ubuntu 18.04. slides-doc is Python-based Slide Maker – documentation

Introduction

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

What is slides-doc

slides-doc is:

Slides is an LGPL slides generator, unique in that you write a Python program in order to create your presentation. That is, you write a program that when run generates the slides for your presentation, currently in HTML.

This package contains example usages of slides.

There are three methods to install slides-doc 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 slides-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install slides-doc

Install slides-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install slides-doc

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

sudo aptitude -y install slides-doc

How To Uninstall slides-doc on Ubuntu 18.04

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

sudo apt-get remove slides-doc

Uninstall slides-doc And Its Dependencies

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

sudo apt-get -y autoremove slides-doc

Remove slides-doc Configurations and Data

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

sudo apt-get -y purge slides-doc

Remove slides-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge slides-doc

References

Summary

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