Project 6: First time using Linux in a virtual lab environment
- Ben Lee
- Jun 2, 2023
- 2 min read
Updated: Jul 10, 2023
As part of Google's cybersecurity course, I'll be using linux in a virtual lab provided by Qwiklabs.
In this virtual lab, I'll be using Advanced Package Tool (APT) and sudo to install and uninstall applications in a Linux Bash shell.
This is the scenario I was given:
Your role as a security analyst requires that you have the Suricata and tcpdump network security applications installed on your system.
In this scenario, you have to install, uninstall, and reinstall these applications on your Linux Bash shell. You also need to confirm that you’ve installed them correctly.
Here’s how you'll do this:
First, you’ll confirm that APT is installed on your Linux Bash shell.
Next, you’ll use APT to install the Suricata application and confirm that it is installed.
Then, you’ll uninstall the Suricata application and confirm this as well.
Next, you’ll install the tcpdump application and list the applications currently installed.
Finally, you’ll reinstall the Suricata application and confirm that both applications are installed.
Step 1:
I confirmed that the APT package manager is installed in my Linux environment. To do this, I typed 'apt' in the CLI

Step 2:
I used the APT package manager to install the Suricata application.
To do this, I typed 'sudo apt install suricata'

Then, I verified that Suricata is installed by running the newly installed application.
I typed 'suricata' after the command-line prompt.

Then, I typed 'sudo apt remove suricata' to uninstall the app

After that, I verified if the suricata is installed by typing 'suricata'.

Step 3:
I used the APT package manager to install tcpdump.
To do this, I typed 'sudo apt install tcpdump'

Step 4:
Next, I needed to confirm that I've installed the required applications.
To achieve this, I typed 'apt list --installed' and searched for tcpdump as highlighted below.

Step 5:
Next, I re-installed suritica, by typing 'sudo apt install suricata' then I verified the installation by typing ''apt list --installed' and searched for suritica as highlighted below.

This has been a very exciting project for me and a big milestone for my journey in cybersecurity.
I always knew being familar with Linux was a very important skillset to have, and it's a relief to finally get my feet wet. I'll be slowly and steadily getting more familiar with this OS.
Comments