How To Install onesixtyone on Ubuntu 22.04

In this tutorial we learn how to install onesixtyone on Ubuntu 22.04. onesixtyone is fast and simple SNMP scanner

Introduction

In this tutorial we learn how to install onesixtyone on Ubuntu 22.04.

What is onesixtyone

onesixtyone is:

onesixtyone is a simple SNMP scanner which sends SNMP requests for the sysDescr value asynchronously with user-adjustable sending times and then logs the responses which gives the description of the software running on the device.

Running onesixtyone on a class B network (switched 100Mbs with 1Gbs backbone) with -w 10 gives a performance of 3 seconds per class C, with no dropped packets, and all 65536 IP addresses were scanned in less than 13 minutes.

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

Install onesixtyone Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install onesixtyone

Install onesixtyone Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install onesixtyone

Install onesixtyone Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install onesixtyone

How To Uninstall onesixtyone on Ubuntu 22.04

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

sudo apt-get remove onesixtyone

Uninstall onesixtyone And Its Dependencies

To uninstall onesixtyone and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove onesixtyone

Remove onesixtyone Configurations and Data

To remove onesixtyone configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge onesixtyone

Remove onesixtyone configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge onesixtyone

References

Summary

In this tutorial we learn how to install onesixtyone package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.