Install Lynis on Linux Mint 21


Lynis is a very powerful security auditing tool that is specially designed for Linux and UNIX environments. It helps the system and network administrators by scanning your system and all the current security measures and ultimately, helps in hardening your system against security breaches. In this guide, we will learn to install the Lynis tool on a Linux Mint 21 system.

How to install Lynis on Linux Mint 21?

To install the Lynis tool on a Linux Mint 21 system, you have to perform the following steps:

Step # 1: Perform a Quick Update:

First, you need to perform a quick update on your system by running the command shown below:

$ sudo apt update

Install-Lynis-Linux-Mint-21

Step # 2: Install Lynis on Linux Mint 21:

Now, to install Lynis on your system, you need to run the command that follows:

$ sudo apt install lynis

Install-Lynis-Linux-Mint-21

Step # 3: Confirm the Lynis Installation:

After the installation of Lynis on your system, you can confirm it by running the command shown below:

$ lynis --version

Install-Lynis-Linux-Mint-21

If the Lynis tool would have been installed successfully on your Linux Mint 21 system, then its version will appear on the terminal as shown in the following image:

Install-Lynis-Linux-Mint-21

Step # 4: Get Started with Lynis on Linux Mint 21:

Now, to get started with the Lynis tool, you can run the command shown below:

$ lynis

install-Lynis-Linux-Mint-21

With the help of its output, you will be able to know about all the different tasks that you can perform with the help of the Lynis tool as shown in the following image:

Install-Lynis-Linux-Mint-21

Removing Lynis from Linux Mint 21:

To remove the Lynis tool from your Linux Mint 21 system, you can execute the command shown below:

$ sudo apt-get purge --autoremove lynis

Install-Lynis-Linux-Mint-21

Conclusion:

This tutorial guided you on the installation of the Lynis tool on a Linux Mint 21 system. After having this stool installed, you can easily ensure the security of your Linux Mint 21 system.

Print Friendly, PDF & Email
Categories