How To Install nomacs on Ubuntu 22.04

In this tutorial we learn how to install nomacs on Ubuntu 22.04. nomacs is image viewer with capability of syncing multiple instances

Introduction

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

What is nomacs

nomacs is:

nomacs is a free image viewer for Windows and Linux systems, which is licensed under the GNU General Public License v3. nomacs is small, fast and able to handle the most common image formats. Additionally it is possible to synchronize multiple viewers. A synchronization of viewers running on the same computer or via LAN is possible. It allows one to compare images and spot the differences (e.g. schemes of architects to show the progress).

There are three methods to install nomacs 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 nomacs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nomacs

Install nomacs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nomacs

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

sudo aptitude -y install nomacs

How To Uninstall nomacs on Ubuntu 22.04

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

sudo apt-get remove nomacs

Uninstall nomacs And Its Dependencies

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

sudo apt-get -y autoremove nomacs

Remove nomacs Configurations and Data

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

sudo apt-get -y purge nomacs

Remove nomacs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nomacs

References

Summary

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