How To Install golang-github-dgraph-io-ristretto-dev on Kali Linux

In this tutorial we learn how to install golang-github-dgraph-io-ristretto-dev on Kali Linux. golang-github-dgraph-io-ristretto-dev is high performance memory-bound Go cache

Introduction

In this tutorial we learn how to install golang-github-dgraph-io-ristretto-dev on Kali Linux.

What is golang-github-dgraph-io-ristretto-dev

golang-github-dgraph-io-ristretto-dev is:

Ristretto is a fast, concurrent cache library built with a focus on performance and correctness.

The motivation to build Ristretto comes from the need for a contention-free cache in Dgraph (https://github.com/dgraph-io/dgraph).

Features:

  • High Hit Ratios - with our unique admission/eviction policy pairing, Ristretto’s performance is best in class.
  • Eviction: SampledLFU - on par with exact LRU and better performance on Search and Database traces.
  • Admission: TinyLFU - extra performance with little memory overhead (12 bits per counter).
  • Fast Throughput - we use a variety of techniques for managing contention and the result is excellent throughput.
  • Cost-Based Eviction - any large new item deemed valuable can evict multiple smaller items (cost could be anything).
  • Fully Concurrent - you can use as many goroutines as you want with little throughput degradation.
  • Metrics - optional performance metrics for throughput, hit ratios, and other stats.
  • Simple API - just figure out your ideal Config values and you’re off and running.Status Ristretto is usable but still under active development. We expect it to be production ready in the near future.

There are three methods to install golang-github-dgraph-io-ristretto-dev on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install golang-github-dgraph-io-ristretto-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install golang-github-dgraph-io-ristretto-dev using apt-get by running the following command:

sudo apt-get -y install golang-github-dgraph-io-ristretto-dev

Install golang-github-dgraph-io-ristretto-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-github-dgraph-io-ristretto-dev using apt by running the following command:

sudo apt -y install golang-github-dgraph-io-ristretto-dev

Install golang-github-dgraph-io-ristretto-dev Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install golang-github-dgraph-io-ristretto-dev using aptitude by running the following command:

sudo aptitude -y install golang-github-dgraph-io-ristretto-dev

How To Uninstall golang-github-dgraph-io-ristretto-dev on Kali Linux

To uninstall only the golang-github-dgraph-io-ristretto-dev package we can use the following command:

sudo apt-get remove golang-github-dgraph-io-ristretto-dev

Uninstall golang-github-dgraph-io-ristretto-dev And Its Dependencies

To uninstall golang-github-dgraph-io-ristretto-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove golang-github-dgraph-io-ristretto-dev

Remove golang-github-dgraph-io-ristretto-dev Configurations and Data

To remove golang-github-dgraph-io-ristretto-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge golang-github-dgraph-io-ristretto-dev

Remove golang-github-dgraph-io-ristretto-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-github-dgraph-io-ristretto-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-github-dgraph-io-ristretto-dev

Dependencies

golang-github-dgraph-io-ristretto-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install golang-github-dgraph-io-ristretto-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.