Ways to Uninstall or Install rofi-dev Ubuntu 22.04

Updated: October 29, 2022

This package provides headers to allow development of plugins for rofi. In this tutorial, I will show you how to install rofi-dev on Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install rofi-dev on Ubuntu 22.04

Install rofi-dev Ubuntu 22.04

rofi-dev 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 rofi-dev using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these instructions to install rofi-dev 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. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

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

sudo apt -y install rofi-dev

Install rofi-dev using Aptitude

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

sudo apt-get install aptitude

Then, you can now install rofi-dev, 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 download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

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

sudo aptitude install rofi-dev

Uninstall rofi-dev on Ubuntu 22.04

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

You can uninstall rofi-dev Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove rofi-dev

You can also execute this command if you want to uninstall rofi-dev and remove its data and dependencies:

sudo apt autoremove --purge rofi-dev

Conclusion

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