So sudo dnf list and without
any arguments, that's showing all.
Well, I think the best way to figure out if an FTP server has been installed is
grab FTP, because there's no guarantee that the name of the package is starting with FTP.
And there we can see that there is a vsftpd arc. But hey,
there is one thing that we are overlooking here. Does that mean that
the VSFTPD has been installed? Well, let's analyze by doing a RPM QA
which is querying all packages, pipe grep, vsftpd and that's showing no vsftpd.
You know what the problem is? The problem is that in sudo dnf
list there is packages that are listed as installed packages right here.
And there are packages that are not listed as installed packages.
And that is the case for this vsftpd.
And it's not even easy to see that it's not currently installed.
But hey, there is sudo dnf list installed that is only showing installed packages. If
you want to know if it's installed, grab on that for for FTP and there
you can see no FTP has currently been installed. So that is really something to
be aware of if you are using sudo dnf list and the result is a
large list of packages. Make the difference between installed and uninstalled.
Now next we need to use a software manager to install the package that contains nmap. Now
I don't want to do that. I want to do DNF install minus YVS ftpd because we
already installed MMAP earlier. Feel free to install a different utility if you want to as well.
And that is what we needed to do for this lab.