top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

centos binary on RHEL

0 votes


I have a binary of my software built on centos though its working on RHEL but not sure if will work in all cases.
Is there any catch or should we do through testing on RHEL.


posted Mar 21, 2013 by Salil Agrawal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

3 Answers

+1 vote
Best answer

CentOS built binary should work as is on RHEL of the same version. Across versions that won't be guaranteed and some effort to modify code or at the very lease recompile, may be needed. Code modification would be needed if some system header files change.

answer Mar 21, 2013 by Natarajan Venkatraman
+1 vote

If you're releasing on RHEL, test on RHEL. CentOS has a goal (not a guarantee) of being compatible with RHEL, but they don't have:
1) Red Hat's build environment
2) Red Hat's QA

There are plenty of cases where different compile time options can
introduce weirdness. Save yourself the hassle. Use RHEL.

answer Mar 21, 2013 by anonymous
0 votes

I use Centos at work to build binaries intended to run in the customers' environments on RHEL. they always work for me. Also, one of the stated goals of the Centos project is to be fully binary-compatible with RHEL.

answer Mar 21, 2013 by anonymous
Similar Questions
0 votes

I have my product binary built on the RHEL5.5 and my customer is having 6.2. Just want to know the compatibility between these two version. Can we ship the binary to customer?


+1 vote

In my RHEL system I have enabled a port using,

/usr/bin/firewall-cmd --zone=public --add-port=50000/tcp --permanent

Now how will I disable it? Can anyone help?

+1 vote

It seems that RHEL 7 will only support 64 bit. Is this correct, and what for Centos 7? Also the ARM info I found was the target is ARMv8 which is 64 bit, not the ARMv7 which is 32bit.

Any clarification?

+1 vote

Google found nothing in this list archives for me but did find this :

Before I just go try that on one of my systems can someone confirm that it works?

I'm running RHEL 5.7 so I guess I'd replace the 5.4 in the URL with 5.7. Basically I let my RHEL licenses run out (never really used them) and am getting warnings now from yum. Want to just switch over to the CentOS repos.

+1 vote

logged in to rhel 6.4 using Putty using ssh. Installed the GNOME desktop environment, using this command:

yum groupinstall "X Window System" "KDE Desktop"

Now, followed steps below:

  1. Run the following command to edit the /etc/inittab file: vi /etc/inittab
  2. Press the *I* key to enter insert mode.
  3. Find the line that includes the text initdefault. Change the numeral 3 to 5.
  4. Type :wq and press the *Enter* key to save the file and exit the *vi* text editor.

    Reboot the system using the reboot command. Your system will restart and present a graphical login

The problem is after reboot, grapghical login is not displayed. I tried running command vncserver got output:

New 'z3-9-5-126-154:2 (root)' desktop is z3-9-5-126-154:2

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/z3-9-5-126-154:2.log

now, from windows laptop, I am trying to connect using vnc viewer but not able to connect. Please help me how to launch GUI mode.