How To Install ruby-gitlab-sidekiq-fetcher on Kali Linux
Introduction
In this tutorial we learn how to install ruby-gitlab-sidekiq-fetcher on Kali Linux.
What is ruby-gitlab-sidekiq-fetcher
ruby-gitlab-sidekiq-fetcher is:
This library is an extension to Sidekiq that adds support for reliable fetches from Redis. It’s based on sidekiq-reliable-fetch.
There are two strategies implemented: Reliable fetch using rpoplpush command
and semi-reliable fetch that uses regular brpop and lpush to pick the job
and put it to working queue. The main benefit of “Reliable” strategy is that
rpoplpush is atomic, eliminating a race condition in which jobs can be lost.
This package includes gitlab’s fork of sidekiq-reliable-push.
There are three methods to install ruby-gitlab-sidekiq-fetcher 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 ruby-gitlab-sidekiq-fetcher Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-gitlab-sidekiq-fetcher using apt-get by running the following command:
sudo apt-get -y install ruby-gitlab-sidekiq-fetcherInstall ruby-gitlab-sidekiq-fetcher Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-gitlab-sidekiq-fetcher using apt by running the following command:
sudo apt -y install ruby-gitlab-sidekiq-fetcherInstall ruby-gitlab-sidekiq-fetcher 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 updateAfter updating apt database, We can install ruby-gitlab-sidekiq-fetcher using aptitude by running the following command:
sudo aptitude -y install ruby-gitlab-sidekiq-fetcherHow To Uninstall ruby-gitlab-sidekiq-fetcher on Kali Linux
To uninstall only the ruby-gitlab-sidekiq-fetcher package we can use the following command:
sudo apt-get remove ruby-gitlab-sidekiq-fetcherUninstall ruby-gitlab-sidekiq-fetcher And Its Dependencies
To uninstall ruby-gitlab-sidekiq-fetcher and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-gitlab-sidekiq-fetcherRemove ruby-gitlab-sidekiq-fetcher Configurations and Data
To remove ruby-gitlab-sidekiq-fetcher configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-gitlab-sidekiq-fetcherRemove ruby-gitlab-sidekiq-fetcher configuration, data, and all of its dependencies
We can use the following command to remove ruby-gitlab-sidekiq-fetcher configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-gitlab-sidekiq-fetcherDependencies
ruby-gitlab-sidekiq-fetcher have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-gitlab-sidekiq-fetcher package on Kali Linux using different package management tools: apt, apt-get and aptitude.