How To Install pick on Debian 11

In this tutorial we learn how to install pick on Debian 11. pick is utility to choose one option from a set of choices

Introduction

In this tutorial we learn how to install pick on Debian 11.

What is pick

pick is:

The pick utility allows users to choose one option from a set of choices using an interface with fuzzy search functionality. pick reads a list of choices on stdin and outputs the selected choice on stdout. Therefore it is easily used both in pipelines and subshells.

There are three methods to install pick on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install pick Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pick

Install pick Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pick

Install pick 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install pick

How To Uninstall pick on Debian 11

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

sudo apt-get remove pick

Uninstall pick And Its Dependencies

To uninstall pick and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove pick

Remove pick Configurations and Data

To remove pick configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge pick

Remove pick configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pick

Dependencies

pick have the following dependencies:

References

Summary

In this tutorial we learn how to install pick package on Debian 11 using different package management tools: apt, apt-get and aptitude.