Page 1 of 1

Can Fedora20 executables work with Centos7

Posted: 2014/07/11 22:38:38
by lsatenstein
I do a fair (large) amount of C coding, qt has a great editor, and it is also known as code-editor. The editor does auto indenting, and recognizes doxygen tags.

I could not find it on the repros that originate with Centos7. Any really good alternatives to recommend?

Re: Can Fedora20 executables work with Centos7

Posted: 2014/07/11 23:18:10
by TrevorH
You shouldn't use Fedora 20 RPMs directly on CentOS but you might be able to rebuild the SRPMs that they were built from on CentOS 7 and produce your own RPMs. Or raise a request on bugzilla.redhat.com in the Fedora EPEL section and ask if the maintainer of the Fedora code-editor package could produce them for Fedora EPEL7 as well.

Re: Can Fedora20 executables work with Centos7

Posted: 2014/07/12 01:36:39
by Super Jamie
It's possible that the Fedora RPM relies on a different version of a library than ships with CentOS.

For example, you probably won't be able to use F20 RPMs on EL6, because EL6 ships with a very old glibc, and F20 ships with a very new one.

Currently EL7 and F20 are close enough that you might be able to get away with installing an RPM directly. If that doesn't work, you could try an F18 or F19 RPM.

Like Trevor said, rebuilding the SRPM is a better idea. Then you know the binary you're using has been built to work with the libraries on your system, so you're less likely to run into problems due to slight library version differences.

Sometimes you'll need to start upgrading library versions and recompiling dependencies, and that's about the point I give up and just start using Fedora.

Re: Can Fedora20 executables work with Centos7

Posted: 2014/07/12 11:00:16
by TrevorH
Just noticed this is talking about CentOS 7 but is in the CentOS 6 forum... moved to CentOS 7 Software Support.