How to Install XnView MP on Ubuntu 22.04 and Linux Mint 20 | 2 Easy Methods

XnView MP is an open-source tool for image management used to edit, convert and organize the images; and if we talk about the format supported by XnView MP, then you will be glad to hear that it supports all major image formats, including JPEG, NEF, and PNG.

You can edit the pictures using XnView to resize your image, metadata editing and color adjusting. Moreover, the interface of XnView is user-friendly, so it is easy to understand and use by the new users.

XnView MP is available to install on mobiles as well on desktops, and in this guide, we will learn the method to install XnView on Ubuntu.

How to install XnView on Ubuntu 22.04 and LinuxMint 20

We will discuss two installation methods of XnView on Ubuntu, following the same methods, you can install the XnView MP on the Linux Mint operating system.

  • Install XnView MP using the Debian package
  • Install XnView MP using the flathub

Method 1: How to install XnView MP on Ubuntu 22.04 and LinuxMint 20 using the Debian package

To download the Debian package of XnView from its official website, we will open the web browser, go to the official website of XnView, and then click on the “Linux DEB.64 bit”:

When the package is being downloaded, navigate to the Downloads directory and list down all the contents of a directory:

$ cd Downloads && ls

Now we will install the Debian package by using the dpkg package manager:

$ sudo dpkg -i XnViewMP-linux-x64.deb

To launch the application, use the command:

$ xnview

To uninstall the XnView MP, we will use the command:

$ sudo apt purge xnview -y

Method 2: How to install XnView MP on Ubuntu 22.04 and LinuxMint 20 using the flathub

Flathub is the Linux applications store from where we can download and install different applications with the flatpak utility, so first, we have to install the flatpak utility using the command:

$ sudo apt install flatpak -y

To download and install XnView MP from the Flathub, use the command:

$ flatpak install flathub com.xnview.XnViewMP

To remove the package of XnView using the flatpak utility, use the command:

$ flatpak uninstall flathub com.xnview.XnViewMP


To edit photos in Linux, XnView is the recommended tool as it can support all the major formats of images, moreover, it comes with all the major editing tools needed to edit images. In this write-up, we have installed XnView MP on Ubuntu by using two different methods, one from the Debian package and the second from the flathub.