With one repository I did it like this (as root):
# cd /etc/yum.repos
# wget https://some.repo.example.org/foo/bar/Fedora_14/foo_bar.repo
# grep enabled foo_bar.repo
enabled=1
Is this the recommended way to add a package repository under Fedora (>= 14)?
Is there some policy/standard which specifies that each proper Fedora package repository should (or must) contain such a config file (i.e. such a .repo
file)?
(basically just for the reason that a user or some tool can copy it to the local /etc/yum.repos
directory?)
#
because you said you ran the commands as root. That's the convention, and that's what root prompt looks like. – tshepang Feb 04 '11 at 08:43#
convention. – maxschlepzig Dec 17 '11 at 18:27