How to Install Ristretto on Ubuntu 22.04 LTS

Imagine being able to scroll through your favorite images and watch them come alive on screen or view a slideshow of all the best moments in life. Ristretto is an innovative image viewer that allows you to scroll through images and view them in a slide show. You can also open multiple files with other applications like your computer’s built-in photo editor or use it as wallpaper on its own!

In the following tutorial, you will learn how to install Ristretto on Ubuntu 22.04 LTS Jammy Jellyfish using the Ubuntu default repository or alternative flatpak installation manager for those that require the latest released version as Ubuntu’s releases can be behind due to stability factors in what long term releases are meant for.

Update Ubuntu

Before going into the tutorial, the first step is to run an apt update, which ensures your system is up-to-date to avoid any conflicts.

sudo apt update && sudo apt upgrade -y

Install Ristretto – APT Method

The first option is to install Ristretto using the apt command from Ubuntu 22.04 repository. For most users, this is the most recommended way to install it.

In your terminal, use the following command to install the application.

sudo apt install ristretto -y

Install Ristretto – Flatpak Method

The second option is to use the Flatpak package manager, which is not installed on Ubuntu distributions, given Snap, which is Flatpak’s rival, is owned by Canonical and Ubuntu. However, Flatpak is still available to install from Ubuntu’s default repository.

The extra benefit of using Flatpak installations is that you will always have the most up-to-date version compared to Ubuntu which focuses on stability with older versions that only see updates for security issues or serve bugs.

First, install the Flatpak manager; this can be skipped if you already have it installed.

sudo apt install flatpak -y

Next, you need to enable Flatpack using the following command in your terminal:

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues arising, such as paths not being generated for icons.

reboot

SKIP THE REBOOT IF FLATPAK IS INSTALLED.

Now install using the following flatpak command.

flatpak install flathub org.xfce.ristretto -y

How to Launch Ristretto

Now that you have the software installed, launching can be done in two ways.

In your terminal type.

ristretto

If you want to launch and use the terminal, send the process to the background to continue using the terminal.

ristretto &

Alternatively, Flatpak users will need to launch using the command below from a terminal instance:

flatpak run org.xfce.ristretto

However, this isn’t practical, and you would use the following path on your desktop to open with the path.

Activities > Show Applications > Ristretto

Example:

How to Install Ristretto on Ubuntu 22.04 LTS

Once open, you can begin using your Ristretto to organize your media into slideshows. The GUI is straight forward easy, making you able to organize your media without much fuss at any skill level.

Example:

How to Install Ristretto on Ubuntu 22.04 LTS

How to Update/Upgrade Ristretto

Depending on the method of installation used, the following commands can be used to update the software and any system packages. Ideally, the terminal update command should be used even with auto-updates in your desktop GUI to ensure everything is updating correctly.

APT Update Method

sudo apt upgrade && sudo apt upgrade

Flatpak Update Method

flatpak update

How to Remove (Uninstall) Ristretto

Use one of the following commands to suit the original installation method for users who no longer require the application.

APT Remove Method

sudo apt autoremove ristretto --purge -y

Flatpak Remove Method

flatpak uninstall --delete-data org.xfce.ristretto -y

Next, run the following command for any leftover clean-up.

flatpak remove --unused

Comments and Conclusion

In the tutorial, you have learned how to install Ristretto on Ubuntu 22.04 LTS desktop.

If you’re in the market for a versatile and easy-to-use image viewer, Ristretto is an excellent option. The application has a small footprint, making it quick to load and easy to navigate. It also includes some handy features like the ability to scroll through images quickly or open them with other applications. So if you’re looking for an uncomplicated way to view your photos and graphics files, be sure to check out Ristretto!



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!