How To Install uruk on Kali Linux

In this tutorial we learn how to install uruk on Kali Linux. uruk is Very small firewall script, for configuring iptables

Introduction

In this tutorial we learn how to install uruk on Kali Linux.

What is uruk

uruk is:

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.

Main difference with other firewall setup tools: uruk is just a very small (just 14K!) shell script, no gui, no interactive setup, no default configuration. You’ll like this if you’d rather not have lots of (probably buggy) code between you and your filtering rules.

There are three methods to install uruk on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install uruk Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install uruk using apt-get by running the following command:

sudo apt-get -y install uruk

Install uruk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install uruk using apt by running the following command:

sudo apt -y install uruk

Install uruk Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install uruk using aptitude by running the following command:

sudo aptitude -y install uruk

How To Uninstall uruk on Kali Linux

To uninstall only the uruk package we can use the following command:

sudo apt-get remove uruk

Uninstall uruk And Its Dependencies

To uninstall uruk and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove uruk

Remove uruk Configurations and Data

To remove uruk configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge uruk

Remove uruk configuration, data, and all of its dependencies

We can use the following command to remove uruk configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge uruk

Dependencies

uruk have the following dependencies:

References

Summary

In this tutorial we learn how to install uruk package on Kali Linux using different package management tools: apt, apt-get and aptitude.