How To Install python3-sabyenc on Debian 12

Learn how to install python3-sabyenc on Debian 12 with this tutorial. python3-sabyenc is yEnc extension for Python, optimized for Usenet

Introduction

In this tutorial we learn how to install python3-sabyenc on Debian 12.

What is python3-sabyenc

python3-sabyenc is:

Modified version of the original python-yenc module by Alessandro Duca, optimized for use within SABnzbd. The module was extended to do header parsing and full yEnc decoding from a Python list of chunks, the way in which data is retrieved from usenet.

This is particularly beneficial when SSL is enabled, which limits the size of each chunk to 16K. Parsing these chunks in Python is much more costly. Additionally, this module releases Python’s GIL during decoding, greatly increasing performance of the overall download process.

Further improved by using yencode from animetosho, which utilizes x86 and ARM SIMD optimised routines if such CPU features are available.

There are three methods to install python3-sabyenc on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-sabyenc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python3-sabyenc

Install python3-sabyenc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-sabyenc

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

sudo aptitude -y install python3-sabyenc

How To Uninstall python3-sabyenc on Debian 12

To uninstall only the python3-sabyenc package we can use the following command:

sudo apt-get remove python3-sabyenc

Uninstall python3-sabyenc And Its Dependencies

To uninstall python3-sabyenc and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove python3-sabyenc

Remove python3-sabyenc Configurations and Data

To remove python3-sabyenc configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge python3-sabyenc

Remove python3-sabyenc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-sabyenc

Dependencies

python3-sabyenc have the following dependencies:

References

Summary

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