Ways to Install or Uninstall uruk Ubuntu 22.04

Updated: September 23, 2022

Uruk is a wrapper for Linux ip[6]tables. A very simple shell script, but useful if you need similar (but not the same) packet filtering configurations on lots of hosts. It uses a template file, which gets sourced as a shell script, to get lists of source addresses, allowed to use specific network services. Listing these groups of allowed hosts and allowed services is all what’s needed to configure your box. I will show you how to install uruk on Ubuntu 22.04 in this guide.

Requirements to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install uruk on Ubuntu 22.04

Install uruk Ubuntu 22.04

uruk 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 uruk using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these instructions to get uruk on your Ubuntu.

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

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install uruk Ubuntu by executing this command in the terminal.

sudo apt-get -y install uruk

Install uruk using Aptitude

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

sudo apt-get -y install aptitude

After that, you can now install uruk by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install uruk Ubuntu by executing this command in the terminal.

sudo aptitude install uruk

Uninstall uruk on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a uruk.

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

sudo apt remove --auto-remove uruk

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

sudo apt autoremove --purge uruk

Summary

In this tutorial, I showed you ways to install uruk on Ubuntu 22.04 and ways to uninstall uruk too. Please contact me if you require any assistance. I’d be delighted to respond.