How To Install shedskin on Debian 9

In this tutorial we learn how to install shedskin on Debian 9. shedskin is Python-to-C++ compiler designed to speed up Python programs

Introduction

In this tutorial we learn how to install shedskin on Debian 9.

What is shedskin

shedskin is:

Shed Skin converts programs written in a static subset of Python to C++. The C++ code can be compiled to executable code, which can be run either as a standalone program or as a module imported from Python.

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

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

sudo apt-get update

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

sudo apt-get -y install shedskin

Install shedskin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install shedskin using apt by running the following command:

sudo apt -y install shedskin

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

sudo aptitude -y install shedskin

How To Uninstall shedskin on Debian 9

To uninstall only the shedskin package we can use the following command:

sudo apt-get remove shedskin

Uninstall shedskin And Its Dependencies

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

sudo apt-get -y autoremove shedskin

Remove shedskin Configurations and Data

To remove shedskin configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge shedskin

Remove shedskin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge shedskin

Dependencies

shedskin have the following dependencies:

References

Summary

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