How To Install ddgr on Debian 12

Learn how to install ddgr on Debian 12 with this tutorial. ddgr is DuckDuckGo from the terminal

Introduction

In this tutorial we learn how to install ddgr on Debian 12.

What is ddgr

ddgr is:

Features

  • Fast and clean (no ads, stray URLs or clutter), custom color
  • Navigate result pages from omniprompt, open URLs in browser
  • Search and option completion scripts for Bash, Zsh and Fish
  • DuckDuckGo Bang support (along with completion)
  • Open the first result directly in browser (as in I’m Feeling Ducky)
  • Non-stop searches: fire new searches at omniprompt without exiting
  • Keywords (e.g. filetype:mime, site:somesite.com) support
  • Specify region, disable safe search
  • HTTPS proxy support, Do Not Track set, optionally disable User Agent
  • Support custom url handler script or cmdline utility
  • Comprehensive documentation, man page with handy usage examples
  • Minimal dependencies

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

Install ddgr Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ddgr

Install ddgr Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ddgr

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

sudo aptitude -y install ddgr

How To Uninstall ddgr on Debian 12

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

sudo apt-get remove ddgr

Uninstall ddgr And Its Dependencies

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

sudo apt-get -y autoremove ddgr

Remove ddgr Configurations and Data

To remove ddgr configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge ddgr

Remove ddgr configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ddgr

Dependencies

ddgr have the following dependencies:

References

Summary

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