How to Uninstall or Install nsis Ubuntu 22.04

Updated: September 16, 2022

NSIS is a tool for creating quick and user friendly installers for Microsoft Windows (Win32) operating systems. In this tutorial, I will show you ways to install nsis Ubuntu 22.04.

Prerequisites

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

Prerequisites to install nsis on Ubuntu 22.04

Install nsis Ubuntu 22.04

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

Install nsis 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 steps to install nsis on your Ubuntu.

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

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install nsis Ubuntu by executing this command in the terminal.

sudo apt install nsis

Install nsis using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

Then, you can now install nsis, 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 update

Step 2: Start the package installation on Ubuntu 22.04. You can now install nsis Ubuntu by executing this command in the terminal.

sudo aptitude -y install nsis

Uninstall nsis 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.

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

sudo apt remove --auto-remove nsis

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

sudo apt autoremove --purge nsis

Conclusion

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