Ways to Install or Uninstall ristretto Ubuntu 22.04

Updated: October 10, 2022

Ristretto is a fast and lightweight picture-viewer for the Xfce desktop environment. I will show you how to install ristretto on Ubuntu 22.04 in this guide.

Software Requirement

  • OS: Ubuntu 22.04 is needed for ristretto to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install ristretto on Ubuntu 22.04

Install ristretto Ubuntu 22.04

ristretto is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install ristretto using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get ristretto on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install ristretto Ubuntu by executing this command in the terminal.

sudo apt -y install ristretto

Install ristretto using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get -y install aptitude

After installing it, you can now install ristretto, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install ristretto Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude -y install ristretto

Uninstall ristretto on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just ristretto.

If you installed ristretto using APT or Aptitude, you could uninstall ristretto on Ubuntu by executing this command

sudo apt remove --auto-remove ristretto

If you want to uninstall ristretto and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge ristretto

Summary

In this guide, I showed you ways to install ristretto on Ubuntu 22.04 and some ways to uninstall ristretto too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.