Can Fedora20 executables work with Centos7

Issues related to applications and software problems
Post Reply
lsatenstein
Posts: 23
Joined: 2011/12/22 16:34:18
Contact:

Can Fedora20 executables work with Centos7

Post by lsatenstein » 2014/07/11 22:38:38

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?
--------------------------------------------
Regards

Leslie Satenstein

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can Fedora20 executables work with Centos7

Post by TrevorH » 2014/07/11 23:18:10

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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
Super Jamie
Posts: 310
Joined: 2014/01/10 23:44:51

Re: Can Fedora20 executables work with Centos7

Post by Super Jamie » 2014/07/12 01:36:39

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.

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can Fedora20 executables work with Centos7

Post by TrevorH » 2014/07/12 11:00:16

Just noticed this is talking about CentOS 7 but is in the CentOS 6 forum... moved to CentOS 7 Software Support.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply