How To Install python3-sep on Debian 12

Learn how to install python3-sep on Debian 12 with this tutorial. python3-sep is Python library for source extraction and photometry

Introduction

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

What is python3-sep

python3-sep is:

SEP makes the core algorithms of Source Extractor available as a library of stand-alone functions and classes. These operate directly on in-memory arrays (no FITS files or configuration files). The code is derived from the Source Extractor code base (written in C) and aims to produce results compatible with Source Extractor whenever possible.

This Python module that wraps the C library in a Pythonic API. The Python wrapper operates on NumPy arrays.

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

sudo apt-get -y install python3-sep

Install python3-sep Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-sep

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

sudo aptitude -y install python3-sep

How To Uninstall python3-sep on Debian 12

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

sudo apt-get remove python3-sep

Uninstall python3-sep And Its Dependencies

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

sudo apt-get -y autoremove python3-sep

Remove python3-sep Configurations and Data

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

sudo apt-get -y purge python3-sep

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

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

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

Dependencies

python3-sep have the following dependencies:

References

Summary

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