Bird
0
0

If you run dnf install httpd on Fedora, what will happen?

medium📝 Command Output Q5 of 15
Linux CLI - Linux Basics and Terminal
If you run dnf install httpd on Fedora, what will happen?
AIt shows a syntax error
BIt removes the httpd package
CIt installs the Apache web server
DIt updates the system packages
Step-by-Step Solution
Solution:
  1. Step 1: Understand dnf command on Fedora

    dnf is Fedora's package manager; 'install httpd' installs Apache web server.
  2. Step 2: Check other options

    Remove needs 'remove' keyword, update is different command, no syntax error here.
  3. Final Answer:

    It installs the Apache web server -> Option C
  4. Quick Check:

    dnf install httpd = installs Apache [OK]
Quick Trick: dnf install package installs it on Fedora [OK]
Common Mistakes:
  • Thinking it removes package
  • Confusing install with update
  • Expecting syntax error

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes