How To Install python-subliminal on Ubuntu 18.04

In this tutorial we learn how to install python-subliminal on Ubuntu 18.04. python-subliminal is Python library to search and download subtitles (python2 version)

Introduction

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

What is python-subliminal

python-subliminal is:

It comes with an easy to use CLI (command-line interface) suitable for direct use or cron jobs.

Subliminal uses multiple providers to give users a vast choice and have a better chance to find the best matching subtitles. Providers are extensible through a dedicated entry point.

This package contains only the python2 version.

There are three methods to install python-subliminal 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-subliminal 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-subliminal using apt-get by running the following command:

sudo apt-get -y install python-subliminal

Install python-subliminal Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-subliminal

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

sudo aptitude -y install python-subliminal

How To Uninstall python-subliminal on Ubuntu 18.04

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

sudo apt-get remove python-subliminal

Uninstall python-subliminal And Its Dependencies

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

sudo apt-get -y autoremove python-subliminal

Remove python-subliminal Configurations and Data

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

sudo apt-get -y purge python-subliminal

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

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

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

References

Summary

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