Linoxide published a tutorial about how to install and run Lynis on Ubuntu Linux.
How to Install and Run Lynis on Ubuntu Linux
Learn how to install Lynis on Ubuntu 20.04. It is an open-source and trusted security auditing tool designed for Linux, macOS, and UNIX derivatives such as FreeBSD and OpenBSD.