Question

If possible, please answer all 4 questions. Thanks! :) 2. Which of the following can be...

If possible, please answer all 4 questions. Thanks! :)

2. Which of the following can be used to automatically obtain software packages from Internet software repositories? (Choose all that apply.)

a. yum

b. get

c. apt-get

d. yast -i

3. What command can you use to rebuild the RPM database?

4. You have downloaded the source code for a program that you wish to compile. Which command must you first run in the source code directory?

a. ./configure

b. make

c. make file

d. make install

10. After creating a new user account, what must you do to allow the user to log in to the system?

Homework Answers

Answer #1

3. What command can you use to rebuild the RPM database?

Solution :

use the --rebuilddb option to tell the rpm command to rebuild database.

rpm --rebuilddb

This command rebuilds the RPM database from the installed packages, the file named Packages in the /var/lib/rpm directory. Only the Packages file is required. All the other files can be recreated from the Packages file. If your database is OK, this command won't do much, other than shrink the size of your RPM database by removing unused entries. This command will take some time to execute.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions