Question

I hope this is not off-topic, but I need to get these folders: etc/yum and

etc/yum.repos.d

enter image description here

from a CentOS6.

Can anyone help me out here?


EDIT:

@ilent2: I'm Sorry, I didn't express myself right. I meant, I allready have yum installed on a RHEL6 system, but want the yum configuration from CentOS6. Is there any way, where I can download these files and folders??

Was it helpful?

Solution

I've never used RHEL, but from what I understand CentOS offers a complete replacement of packages/binaries. Just installing the CentOS repositories onto your RHEL system and installing CentOS and RHEL packages would, as I understand, cause conflicts and possibly an unusable system (as long as you don't install the same binary from both repos, you should be right, perhaps disable the centos repo by default and only enable when you want to install a particular package).

That said, the following link might be useful, the author seems to want to achieve a similar task to you:

http://cotdp.com/2012/07/installing-centos-packages-on-red-hat-enterprise-linux/

The information in the first comment of the above link might be most useful to you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top