How To Install cython-dbg on Ubuntu 20.04

In this tutorial we learn how to install cython-dbg on Ubuntu 20.04. cython-dbg is C-Extensions for Python - debug build

Introduction

In this tutorial we learn how to install cython-dbg on Ubuntu 20.04.

What is cython-dbg

cython-dbg is:

This package contains Cython libraries built against versions of Python configured with –pydebug. Build-Ids: 2f34ffefc709e6872142d4688941fec40c69ece4 3cee3be1078a64352f48b824d01cb143c0642366 505d6dde572ed3da2a58f83bfa27c28ff6ea1ee4 5b4367b59c2344281908f279862ea7bc0252fd5e 8b2946350a8f8ae2edc784a33c0b55df1635cdb9 ed42dbae72cd6c2c1b7ebd4eb6c583c4b6e8162a f7e210b59b2be196efc62bd818eb8fec0722105e fbd064d80452536ba0b6e7b61bede23782ad53bf

There are three methods to install cython-dbg on Ubuntu 20.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 cython-dbg Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cython-dbg

Install cython-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cython-dbg

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

sudo aptitude -y install cython-dbg

How To Uninstall cython-dbg on Ubuntu 20.04

To uninstall only the cython-dbg package we can use the following command:

sudo apt-get remove cython-dbg

Uninstall cython-dbg And Its Dependencies

To uninstall cython-dbg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove cython-dbg

Remove cython-dbg Configurations and Data

To remove cython-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge cython-dbg

Remove cython-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cython-dbg

References

Summary

In this tutorial we learn how to install cython-dbg package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.