Is it necessary to create YUM REPOSITORY to use YU...

Discussion in 'Other IT Security Management' started by VIJIT DESHMUKH, Aug 31, 2016.

  1. VIJIT DESHMUKH

    Joined:
    Jul 29, 2016
    Messages:
    3
    Likes Received:
    0
    Is it necessary to create YUM REPOSITORY to use YUM command????
     
    #1
  2. Nikhil_887

    Nikhil_887 Well-Known Member

    Joined:
    Mar 28, 2016
    Messages:
    56
    Likes Received:
    0
    The Answer for the query is YES. As the if the repository is enabled /installed, It helps to refine the packages and throws the output.
     
    #2
  3. Kavitha MV

    Kavitha MV Learning Consulant
    Simplilearn Support

    Joined:
    Aug 18, 2015
    Messages:
    110
    Likes Received:
    13

    HI,
    The configuration information for yum and related utilities is located at /etc/yum.conf. This file contains one mandatory [main] section, which enables you to set yum options that have global effect, and can also contain one or more [repository] sections, which allow you to set repository-specific options. However, it is recommended to define individual repositories in new or existing .repofiles in the /etc/yum.repos.d/ directory. The values you define in individual [repository]sections of the /etc/yum.conf file override values set in the [main] section.
    This section shows you how to:
    • set global yum options by editing the [main] section of the /etc/yum.conf configuration file;
    • set options for individual repositories by editing the [repository] sections in /etc/yum.conf and .repo files in the /etc/yum.repos.d/ directory;
    • use yum variables in /etc/yum.conf and files in the /etc/yum.repos.d/ directory so that dynamic version and architecture values are handled correctly;
    • add, enable, and disable yum repositories on the command line; and
    • set up your own custom yum repository.
     
    #3

Share This Page