How To Install python-feed on Debian 9

In this tutorial we learn how to install python-feed on Debian 9. python-feed is set of Python modules for working with syndication feeds

Introduction

In this tutorial we learn how to install python-feed on Debian 9.

What is python-feed

python-feed is:

PyFeed is a set of module packages for Python, that contain tools for working with syndication feeds. The provided modules are:

  • feed.date.tools, to work with Python time float values.
  • feed.date.rfc3339, for converting timestamp strings in RFC 3339 format (used by Atom) to Python time float values, and vice versa.
  • feed.date.rfc822, for converting timestamp strings in extended RFC 822 format (used by RSS 2.0) to Python time float values, and vice versa.
  • feed.atom, to work with an Atom syndication feed.
  • feed.rss, to work with an RSS 2.0 syndication feed.
  • feed.opml1 and feed.opml, to work with OPML data 1.0 and 2.0.
  • feed.tools, useful to generate a syndication feed.

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

sudo apt-get -y install python-feed

Install python-feed Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-feed

Install python-feed 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install python-feed

How To Uninstall python-feed on Debian 9

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

sudo apt-get remove python-feed

Uninstall python-feed And Its Dependencies

To uninstall python-feed and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-feed

Remove python-feed Configurations and Data

To remove python-feed configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-feed

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

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

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

Dependencies

python-feed have the following dependencies:

References

Summary

In this tutorial we learn how to install python-feed package on Debian 9 using different package management tools: apt, apt-get and aptitude.