How To Install chase on Ubuntu 22.04

In this tutorial we learn how to install chase on Ubuntu 22.04. chase is Follow a symlink and print out its target file

Introduction

In this tutorial we learn how to install chase on Ubuntu 22.04.

What is chase

chase is:

Chase is a small utility for tracking down the actual file that a symbolic link points to - chasing the symlink, if you will. The result of a successful run is guaranteed to be an existing file which is not a symbolic link.

There are three methods to install chase on Ubuntu 22.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 chase Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install chase

Install chase Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install chase

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

sudo aptitude -y install chase

How To Uninstall chase on Ubuntu 22.04

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

sudo apt-get remove chase

Uninstall chase And Its Dependencies

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

sudo apt-get -y autoremove chase

Remove chase Configurations and Data

To remove chase configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge chase

Remove chase configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge chase

References

Summary

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