How To Install python3-numpy-dbg on Ubuntu 20.04

In this tutorial we learn how to install python3-numpy-dbg on Ubuntu 20.04. python3-numpy-dbg is Fast array facility to the Python 3 language (debug extension)

Introduction

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

What is python3-numpy-dbg

python3-numpy-dbg is:

Numpy contains a powerful N-dimensional array object, sophisticated (broadcasting) functions, tools for integrating C/C++ and Fortran code, and useful linear algebra, Fourier transform, and random number capabilities.

Numpy replaces the python-numeric and python-numarray modules which are now deprecated and shouldn’t be used except to support older software.

This package contains the extension built for the Python 3 debug interpreter. Build-Ids: 04b8a320f2b21986f7b9a5a96e32c8ed51ebeb0f 1d83907070f8129013fd7be7fa75d92bb13bdf33 1ead9e5c6586c7ac91cf6fa39aeb10ea5bd8d6bc 217855d72fc0ae5c8cb7d3bcd313653d76196ae9 2435c5fc8b390a419d4ad9565bf5ccecee14fd4a 2b23c6d3d5bd860b2de258ef4dda5a1a9c5cb6ca 2ccabb5fbe0374c716846dd42334eab1d3b6f119 426f48cf65d0aad4b25058039dd6f047cc154e35 46715b3d166d80a3ad38b2a728676ec70917873d 49a137cd9cce9abe9f67372f7af2b85953812074 59d57e2d37cc3fa07df2ed30f3a55389242162b5 5a8d828ecc72495dcafe2438cf20315138e4b7e3 5b8837a3766a3d1baa9bd53eb3324da4b4268312 5d9330860b7c625ee3732f5889183bda99e7eab7 64570d7baeca719ee515d5c30274f953097be33a 6856eaef01e0a17c1b545796c3497d9dd43eed23 7dfcc70d89111aac30e6d8c208c2649c473f096f 7eee5c3496d5364861015560eed44d0cda3eccb6 7f717abb5fd02dfbfd13e0f86415ea7fe639b694 82009e85ac6edb181f2a0c4e78832debb73f2b3c 8c3bffc15171fdec8dab24b913ddeedab691ba2b a4aaebbac102c48827a1200a7223551d32f145fd b6b42e8145bfb3a187fe2e77cbc760a45882838b b966b7b432755ceee2ca752f89a3e411a407233b c130794790e3c69260224734dfb604c4ffbad37e c5950aa7be7e0966e56d23d6017fe919c9768a26 d33f3dbc42223098dad384dfe404c73f6a47cc00 d592e462d1a3c3576d94cea38734a4808e0ed4dd d6cb81d885977645d752cac8c25259174d708a45 da945e4d56fa3afc7fa022efde2c6f507c53c9d6 dbf3e2a61ff7a74a0fdbc31386c1dab6ac6df84d de9f1fe677bee2903e0dce394c1c8a9be8d103cf e0bcf8010603b5dda9c7449f43bdd46900c30ab0 e10ea5f4fdba24f453e7c993c90087bf3059b9ff f06f55378b7189e0f9420936758f5e3cc6f66f75 f8558e17c26b952e3c0f8c42afea28392b64abc2 f8f1422a3d5bb65511c0799c80eab4b550de4ff9 ff8774ab08284953af237a42485694ea5a3306f3

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

sudo apt-get -y install python3-numpy-dbg

Install python3-numpy-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-numpy-dbg

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

sudo aptitude -y install python3-numpy-dbg

How To Uninstall python3-numpy-dbg on Ubuntu 20.04

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

sudo apt-get remove python3-numpy-dbg

Uninstall python3-numpy-dbg And Its Dependencies

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

sudo apt-get -y autoremove python3-numpy-dbg

Remove python3-numpy-dbg Configurations and Data

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

sudo apt-get -y purge python3-numpy-dbg

Remove python3-numpy-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-numpy-dbg

References

Summary

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