How To Install python-tvrage on Ubuntu 18.04
Introduction
In this tutorial we learn how to install python-tvrage
on Ubuntu 18.04.
What is python-tvrage
python-tvrage is:
python-tvrage is a python based object oriented client interface for tvrage.com’s XML based api feeds.
The tvrage package consists of three modules
- the tvrage.feeds module provides a wrapper function for each of tvrage’s XML-feeds
- the tvrage.api module provides an clean and object oriented interface on top of those services
- the tvrage.quickinfo module is a simple pythonic wrapper for tvrage’s quickinfo api. Values are returned as python dictionaries rather than dedicated objects for tv shows and episodes
The tvrage.feeds module provides very basic and low level access to the tvrage.com data feeds. For more complex use cases it is recomended to use the object oriented module tvrage.api. Note: All functions in the tvrage.feeds module return XML data as ElementTree objects.
There are three methods to install python-tvrage
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-tvrage 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-tvrage
using apt-get
by running the following command:
sudo apt-get -y install python-tvrage
Install python-tvrage Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-tvrage
using apt
by running the following command:
sudo apt -y install python-tvrage
Install python-tvrage 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-tvrage
using aptitude
by running the following command:
sudo aptitude -y install python-tvrage
How To Uninstall python-tvrage on Ubuntu 18.04
To uninstall only the python-tvrage
package we can use the following command:
sudo apt-get remove python-tvrage
Uninstall python-tvrage And Its Dependencies
To uninstall python-tvrage
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove python-tvrage
Remove python-tvrage Configurations and Data
To remove python-tvrage
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge python-tvrage
Remove python-tvrage configuration, data, and all of its dependencies
We can use the following command to remove python-tvrage
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-tvrage
References
Summary
In this tutorial we learn how to install python-tvrage
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.