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

Recommended Answers

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...

Jump to Post

All 2 Replies

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...

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

:(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.