Explain the following command: rpm –qf/bin/ls
RPM command is used for installing, uninstalling, upgrading, querying, listing, and checking RPM packages on your Linux system. 2.
Discuss the purpose of a software repository as it relates to YUM. -
The yum system does not require any routine maintenance. It is useful to disable or remove repository definitions that are no longer required, as each repository that is defined and enabled is checked for every operation. You may also wish to periodically remove files relating to unwanted packages, in order to save disk space 3.
How can one ensure a download tar ball is legitimate and hasn’t been tampered with? -
Run a checksum test
List and explain at least 3 switches available with the tar command that can be useful in extracting and installing a tarball -
List and explain at least 3 switches associated with the rpm command that can be leveraged to verify, list and install rpm packages? tar zxvf makefile.tar.gz
cd make file
What security countermeasure can you enable to verify the integrity of download application or tar balls before you perform the installation? -
used Ark to extract the tar ball
Explain what hashing is and how does this differ from encryption? -
Hashing is just line of code and it not encrypted
If you wanted to know which package a certain program belonged to, what command would you run? -
tar xvzf PACKAGENAME.tar.gz
Once you have downloaded an RPM package, what command would you run if you want to extract the files to a directory of your choice -
tar xzvf file.tar.gz
Where would you find checksum hashes for all install program in a Fedora Core Linux Server? -
Verification code called a hash computed from the original ISO files.
Please join StudyMode to read the full document