Problem

In this hands-on project, you use the rpm and yum commands to install, view, and remove...

In this hands-on project, you use the rpm and yum commands to install, view, and remove an RPM package on your system.

1. Switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of secret.

2. At the command prompt, type rpm –qa | less and press Enter to view the RPM packages installed on your computer. Are there many of them? Briefly scroll through the list and press q when finished to exit the less utility.

3. At the command prompt, type rpm –q tripwire and press Enter. Is Tripwire installed on your computer?

4. At the command prompt, type yum install tripwire and press Enter. What architecture is indicated in the filename for this RPM? Press y when prompted to continue the installation.

5. At the command prompt, type rpm –q tripwire and press Enter. Has the Tripwire package been installed successfully?

6. At the command prompt, type rpm –qi tripwire and press Enter to view the information about the Tripwire package. What does the Tripwire program do? What license does this package use?

7. At the command prompt, type rpm –ql tripwire and press Enter to view the locations of all files that belong to the Tripwire package. Which file is the executable program itself?

8. At the command prompt, type rpm –qc tripwire and press Enter to view the configuration files for the Tripwire package. How many configuration files does the Tripwire package have?

9. At the command prompt, type rpm –e tripwire and press Enter. What does this option to the rpm command do?

10. At the command prompt, type rpm –q tripwire and press Enter. Is Tripwire installed?

11. Type exit and press Enter to log out of your shell.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 11