How To Install python-slides on Ubuntu 18.04

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

Introduction

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

What is python-slides

python-slides 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.

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

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

sudo apt-get update

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

sudo apt-get -y install python-slides

Install python-slides Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-slides

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

sudo aptitude -y install python-slides

How To Uninstall python-slides on Ubuntu 18.04

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

sudo apt-get remove python-slides

Uninstall python-slides And Its Dependencies

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

sudo apt-get -y autoremove python-slides

Remove python-slides Configurations and Data

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

sudo apt-get -y purge python-slides

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

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

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

References

Summary

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