How To Install hfsutils-tcltk on Ubuntu 18.04

In this tutorial we learn how to install hfsutils-tcltk on Ubuntu 18.04. hfsutils-tcltk is Tcl/Tk interfaces for reading and writing Macintosh volumes

Introduction

In this tutorial we learn how to install hfsutils-tcltk on Ubuntu 18.04.

What is hfsutils-tcltk

hfsutils-tcltk is:

HFS is the native Macintosh filesystem format.

This package contains xhfs, a Tk-based X windows interface, and hfssh, a Tcl-based shell.

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

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

sudo apt-get update

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

sudo apt-get -y install hfsutils-tcltk

Install hfsutils-tcltk Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install hfsutils-tcltk

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

sudo aptitude -y install hfsutils-tcltk

How To Uninstall hfsutils-tcltk on Ubuntu 18.04

To uninstall only the hfsutils-tcltk package we can use the following command:

sudo apt-get remove hfsutils-tcltk

Uninstall hfsutils-tcltk And Its Dependencies

To uninstall hfsutils-tcltk and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove hfsutils-tcltk

Remove hfsutils-tcltk Configurations and Data

To remove hfsutils-tcltk configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge hfsutils-tcltk

Remove hfsutils-tcltk configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge hfsutils-tcltk

References

Summary

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