101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 29


SIMULATION -

In which directory must definition files be placed to add additional repositories to yum?

Show Answer
Correct Answer:

To add additional repositories to yum, definition files must be placed in the /etc/yum.repos.d/ directory. This is the standard location for storing repository configuration files in YUM-based package management systems. Placing the .repo files in this directory allows yum to recognize and use the additional repositories for package management.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclair
Oct 21, 2023

To add additional repositories to `yum`, you should place the repository definition files in the **`/etc/yum.repos.d/`** directory. This is the standard location for storing repository configuration files in YUM-based package management systems. Each repository definition file typically has a `.repo` extension and contains information about the repository's name, URL, GPG key, and other configuration settings.