How To Install python3-h5py-dbg on Ubuntu 20.04

In this tutorial we learn how to install python3-h5py-dbg on Ubuntu 20.04. python3-h5py-dbg is debug extensions for h5py (Python 3)

Introduction

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

What is python3-h5py-dbg

python3-h5py-dbg is:

HDF5 for Python (h5py) is a general-purpose Python interface to the Hierarchical Data Format library, version 5. HDF5 is a versatile, mature scientific software library designed for the fast, flexible storage of enormous amounts of data.

From a Python programmer’s perspective, HDF5 provides a robust way to store data, organized by name in a tree-like fashion. You can create datasets (arrays on disk) hundreds of gigabytes in size, and perform random-access I/O on desired sections. Datasets are organized in a filesystem-like hierarchy using containers called “groups”, and accessed using the tradional POSIX /path/to/resource syntax.

H5py provides a simple, robust read/write interface to HDF5 data from Python. Existing Python and Numpy concepts are used for the interface; for example, datasets on disk are represented by a proxy class that supports slicing, and has dtype and shape attributes. HDF5 groups are presented using a dictionary metaphor, indexed by name.

This package provides the debug extensions for Python 3. Build-Ids: 13a5c01d934daecb8d216ffa0d2ded04fcce3fcc 2165dc40641caca08e67ee9c86c2d1ad6fc6b3ff 2a0616fa6f20fb0371eeb870e16ef346c899d676 2fcb57f7bbac4413c56db88759402ff2f08d44ad 3a05a5cea9c8453d66e2f878afdb98cf35071edf 4cb2d8570423b1095dc32388e0d984a7441d5bc2 5257305ac7da588c161f42688945caae7f109cba 5c410a260977db054f5286b89749987f8d6bdb29 72831fe77d43280c18fd1b19570be0dff58e985c 72c3728103625b86bd9ef68049a270ed48302b26 7a26812b3f1481ae3b5e648686005c06953c5491 80298958fb33820b140e99756e6f630df14e5e2d 83ed3035175a104a81963008f85f8037bfe84789 8d96932bb8eb78bd60636de8628fbf3d521dc7a1 9dd9fb530dfa3bcccc336930345bb9a0b7595f77 add701aa42c8554a8a51cf75d77512c2a7cd9e24 b06379f207bec58be57e740328abc16ab9c4781c b5e69011c38e57bdc7103eba95f13e06db77f736 b753d2682dd32299d1d8a35bbba8d163a561c88a b85818ffe66c200a94b66ff7a549cf64b6608a8e e5a0882577f3362c081407c65690771cd1adbaa8 ed84f77d1b072c9260845d416471e29e29c3795e eff2434156acfb82da60e4181c9479d5f24dcb60

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

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

Install python3-h5py-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-h5py-dbg

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

sudo aptitude -y install python3-h5py-dbg

How To Uninstall python3-h5py-dbg on Ubuntu 20.04

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

sudo apt-get remove python3-h5py-dbg

Uninstall python3-h5py-dbg And Its Dependencies

To uninstall python3-h5py-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-h5py-dbg

Remove python3-h5py-dbg Configurations and Data

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

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

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

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

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

References

Summary

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