How to Uninstall and Install slurp Ubuntu 22.04

Updated: October 10, 2022

slurp is a command-line utility to select a region from Wayland compositors which support the layer-shell protocol. It lets the user hold the pointer to select, or click to cancel the selection. In this guide, I will show you ways to install slurp Ubuntu 22.04.

Software Requirement

  • OS: slurp needs Ubuntu 22.04 to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install slurp on Ubuntu 22.04

Install slurp Ubuntu 22.04

slurp is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install slurp using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get slurp on your Ubuntu 22.04.

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. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install slurp Ubuntu by executing this command in the terminal.

sudo apt install slurp

Install slurp using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt install aptitude

Then, you can now install slurp, just following these steps:

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

sudo apt -y update

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

sudo aptitude -y install slurp

Uninstall slurp on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed slurp using APT or Aptitude, you could uninstall slurp on Ubuntu by running this command

sudo apt remove --auto-remove slurp

To uninstall slurp and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge slurp

Summary

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