unison-gtk command not found

In this troubleshooting guide we learn how to fix unison-gtk command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

unison-gtk: command not found

or when using sudo you get the following error message

sudo: unison-gtk: command not found

Solutions to unison-gtk: command not found

How To Fix unison-gtk: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu unison-gtk is provided by unison-gtk package.

unison-gtk is:

Unison is a file-synchronization tool for Unix and Windows, written in OCaml. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.

Unison offers several advantages over various synchronization methods such as CVS, Coda, rsync, Intellisync, etc. Unison can run on and synchronize between Windows and many UNIX platforms. Unison requires no root privileges, system access or kernel changes to function. Unison can synchronize changes to files and directories in both directions, on the same machine, or across a network using ssh or a direct socket connection.

Transfers are optimised using a version of the rsync protocol, making it ideal for slower links. Unison has a clear and precise specification, and is resilient to failure due to its careful handling of the replicas and its private structures.

This package adds the optional GTK+ interface.

To fix this problem, we can install more using the command below.

sudo apt-get -y install unison-gtk

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install unison-gtk.

sudo apt -y install unison-gtk

Or if you have aptitude installed you can use the following command.

sudo aptitude install unison-gtk

Summary

In this tutorial we learn how to fix unison-gtk command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.