Problem in devops pre-requisite course Linux basics package management labs

While in a labs I was asked to install an ftp that was downloaded in /opt/ directory. I didn’t know how to open opt directory . I knew how to run the command but it wasn’t working as I was just typing ftp without all the digits. When I checked the hint I just used what was there but I still don’t know what those numbers are and how I would have known them as they were not spoken about in the lesson.

So the task asks you to install a rpm. A rpm is just a package that provides all the files required to run a program (application). It could be a simple utility or document, or something more complicated.

The exact filename is:
ftp-0.17-67.el7.x86_64.rpm

You don’t need to know the exact numbers. It begins with ftp (the name of the package) and ends with .rpm (you know now this a Red Hat Package Manager file). The numbers in the middle are the version and can be broken down into three parts:
0.17-67 - the version of the file
el7 - the target operating system
x86_64 - the architecture, that is the CPU that is needed to run the package.

1 Like