0

Hi everyone :)
I have a Cent OS 5
without grafical user interface
I want to install a program of flash memory
how to change the CentOS-Media.repo in etc/yum.repo.d without editor?
I want to change enable = 0 to 1 in CentOS-Media.repo
and want that baseurl = file:///media
but did not know how to do it.?
plz help me
tnx

2
Contributors
2
Replies
22
Views
3 Years
Discussion Span
Last Post by ITPT
1

how to change the CentOS-Media.repo in etc/yum.repo.d without editor?

Why not just use an editor? Use Vi/Vim (vi is availible on all unix systems), nano, or Emacs, etc...

0

thank u
:D
I can change my CentOS-Media but yet can not install software with flash memory
when I write :
#yum --disablerepo=\* --enablerepo=c5-media install mysoft

I see an error :
Error : cannot retrieve repository metadata (repomd.xml) for repository:c5-media .please verify its path and try again

:(

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.