How To Install porg on Kali Linux

In this tutorial we learn how to install porg on Kali Linux. porg is Package manager/organizer for software installed from source

Introduction

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

What is porg

porg is:

Porg (formerly known as paco), is a program to aid management of software packages installed from source code.

After the installation of such packages, one is usually left with having no idea of what it was installed and where it all went, making it difficult to uninstall the package in the future. Porg was written to solve this problem in a quite simple fashion.

When installing a package from sources, porg wraps the install command (e.g. “make install”), and saves installation information into a its own flat-file text database.

This package is a complete replacement for the deprecated ‘paco’ package.

There are three methods to install porg 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 porg Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install porg

Install porg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install porg

Install porg 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 porg using aptitude by running the following command:

sudo aptitude -y install porg

How To Uninstall porg on Kali Linux

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

sudo apt-get remove porg

Uninstall porg And Its Dependencies

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

sudo apt-get -y autoremove porg

Remove porg Configurations and Data

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

sudo apt-get -y purge porg

Remove porg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge porg

Dependencies

porg have the following dependencies:

References

Summary

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