install fedora 7 rpm in redhat EL 5 ?
hi,
is it ok to install fedora 7 rpm package on Redhat eL5 ? I need to install python-mysqldb on my machine and i couldn't find any rpm package for EL5. i found is few rpms for Fedora 7. is it same as that for EL5 ? Installing the module from source seems to be pretty complicated, it has dependency to other modules and i dont have it all installed in the system. any help on this is appreciated. thanks, RR |
Are you sure you're not looking for "MySQL-python"? That should be available in the RHEL repositories.
It's not a good idea to try to load RPM for one platform on another simply because the dependencies are usually going to look for other RPMs made for the original platform. You're much better off taking the source and compiling it yourself. For most source packages it really isn't that difficult. Just 4 steps usually: 1) Download the source package. 2) Run configure in the source directory. 3) Run make in the source directory. 4) Run make install in the source directory. Of course there are variations so you do want to read what they say (look for readme files especially after the download) before you start. |
I agree; double check the repos, I'd be surprised if there isn't something like that available.
Failing that, phone RH and ask. I'd recommend against installing by hand, and especially from other distros. RH will not support that. |
the short answerer it NO , with a tentative yes/maybe
some fedora 7,8,9 rpm's will work run in CentOS 5.3 . I have a few installed GAMES mostly( one font too) with ONLY 1 or NO dependencies . and sometimes a new cent package MAY install something that changes the fedora7 dependency or yum MIGHT update the fedora7 rpm with a cent.el5 rpm be very careful doing that and DO NOT EVEN TRY with MySql |
appreciate your replies !! I spoke to few people and no-one recommends installing fedora package on RHEL.
Are you sure you're not looking for "MySQL-python"? i have to double check that.. all is want is avoid "import MySQLdb" error from python, if i execute import from python it says module not found error. i will keep this updated on my findings. thanks again for the replies. - RR |
there was some issue with the devel package, had to uninstall devel first, install it again and i installed mysql-python from the source
thanks all :) |
Mysql-python is in the standard el5 repos.
Quote:
|
All times are GMT -5. The time now is 03:54 PM. |