How To Install python-sireader on Ubuntu 18.04

In this tutorial we learn how to install python-sireader on Ubuntu 18.04. python-sireader is Python module to communicate with SportIdent main stations (Python 2)

Introduction

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

What is python-sireader

python-sireader is:

Sireader is a Python module to communicate with a SportIdent main station to read out SportIdent cards. SportIdent is an electronic punching system mainly used for orienteering events.

Sireader supports two major operation modes. It can be used for complete card readout or in control station mode to send punches from a control. The first mode is typically used for card readout after the finish line to read the card data into an event software. The second mode is used to get live result from an intermediate control.

This package contains the python2.x version of the library.

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

sudo apt-get -y install python-sireader

Install python-sireader Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-sireader

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

sudo aptitude -y install python-sireader

How To Uninstall python-sireader on Ubuntu 18.04

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

sudo apt-get remove python-sireader

Uninstall python-sireader And Its Dependencies

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

sudo apt-get -y autoremove python-sireader

Remove python-sireader Configurations and Data

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

sudo apt-get -y purge python-sireader

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

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

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

References

Summary

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