How To Install icicles on Debian 9

In this tutorial we learn how to install icicles on Debian 9. icicles is emacs library that enhances minibuffer/input completion

Introduction

In this tutorial we learn how to install icicles on Debian 9.

What is icicles

icicles is:

Icicles lets you do the following:

  • cycle through completion candidates that match your current input.
  • use a pattern to match completion candidates, including:
    • regexp matching (including substring).
    • fuzzy matching.
    • prefix matching (as in vanilla Emacs).
    • command abbreviation matching.
  • use multiple regexps to match candidates, chaining these filters together like piped ‘grep’ commands.
  • see all possible complete inputs (pertinent commands, variables, and so on) that match your partial or regexp input: the list is updated dynamically (incrementally) if you change your input.
  • see all previous inputs that match your partial or regexp input, and selectively reuse them.
  • match input against completion candidates that do not match a given regexp; that is, complement the set of matches and use the result for subsequent matching.
  • use multiple regexps to search (and replace) text across multiple buffers, files, or regions.
  • search areas of text that have a certain text property, such as a face.
  • browse Imenu or tags entries that match your partial or regexp input.
  • create and use multiple-choice menus; that is, menus where you can choose multiple entries any number of times.
  • create and use multi-commands so you can perform an action on any number of candidate inputs any number of times.
  • perform set operations (intersection, union, etc) on the fly, using sets of completion candidates or other strings.
  • persistently save and later reuse sets of completion candidates (e.g. project file names).
  • complete input piecewise, against multiple completion candidates, in parallel.
  • complete key sequences, and navigate the key-binding hierarchy (this includes the menu bar menu hierarchy) (see also LaCarte)
  • sort completion candidates on the fly, in multiple, context-dependent ways.

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

Install icicles Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install icicles

Install icicles Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install icicles

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

sudo aptitude -y install icicles

How To Uninstall icicles on Debian 9

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

sudo apt-get remove icicles

Uninstall icicles And Its Dependencies

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

sudo apt-get -y autoremove icicles

Remove icicles Configurations and Data

To remove icicles configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge icicles

Remove icicles configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge icicles

Dependencies

icicles have the following dependencies:

References

Summary

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