How To Install cdargs on Ubuntu 20.04

In this tutorial we learn how to install cdargs on Ubuntu 20.04. cdargs is bookmarks and browsing for the cd command

Introduction

In this tutorial we learn how to install cdargs on Ubuntu 20.04.

What is cdargs

cdargs is:

CDargs is a tool which enhances the navigation of the common unix file-system inside the shell. It plugs into the shell built-in cd-command (via a shell function or an alias) and adds bookmarks and a browser to it.

It enables you to move to a very distant place in the file-system with just a few keystrokes.

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

Install cdargs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cdargs

Install cdargs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cdargs

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

sudo aptitude update

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

sudo aptitude -y install cdargs

How To Uninstall cdargs on Ubuntu 20.04

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

sudo apt-get remove cdargs

Uninstall cdargs And Its Dependencies

To uninstall cdargs and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove cdargs

Remove cdargs Configurations and Data

To remove cdargs configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge cdargs

Remove cdargs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cdargs

References

Summary

In this tutorial we learn how to install cdargs package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.