How To Install libjudydebian1 on Ubuntu 18.04

In this tutorial we learn how to install libjudydebian1 on Ubuntu 18.04. libjudydebian1 is C library for creating and accessing dynamic arrays

Introduction

In this tutorial we learn how to install libjudydebian1 on Ubuntu 18.04.

What is libjudydebian1

libjudydebian1 is:

Judy is a C library that implements a dynamic array. Empty Judy arrays are declared with null pointers. A Judy array consumes memory only when populated yet can grow to take advantage of all available memory. Judy’s key benefits are: scalability, performance, memory efficiency, and ease of use. Judy arrays are designed to grow without tuning into the peta-element range, scaling near O(log-base-256).

Judy arrays are accessed with insert, retrieve, and delete calls for number or string indexes. Configuration and tuning are not required – in fact not possible. Judy offers sorting, counting, and neighbor/empty searching. Indexes can be sequential, clustered, periodic, or random – it doesn’t matter to the algorithm. Judy arrays can be arranged hierarchically to handle any bit patterns – large indexes, sets of keys, etc.

Judy is often an improvement over common data structures such as: arrays, sparse arrays, hash tables, B-trees, binary trees, linear lists, skiplists, other sort and search algorithms, and counting functions.

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

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

sudo apt-get update

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

sudo apt-get -y install libjudydebian1

Install libjudydebian1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjudydebian1 using apt by running the following command:

sudo apt -y install libjudydebian1

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

sudo aptitude -y install libjudydebian1

How To Uninstall libjudydebian1 on Ubuntu 18.04

To uninstall only the libjudydebian1 package we can use the following command:

sudo apt-get remove libjudydebian1

Uninstall libjudydebian1 And Its Dependencies

To uninstall libjudydebian1 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libjudydebian1

Remove libjudydebian1 Configurations and Data

To remove libjudydebian1 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjudydebian1

Remove libjudydebian1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjudydebian1

References

Summary

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