I'm trying to install software that is built on Ubuntu 14 on RHEL ... will that work?

I read about binary compatibility between Linux distributions, however... Ubuntu and RHEL are usually not compared or even mentioned in regards with each other.

Are they?
Sebastian_StraussAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Ubuntu and RHEL are organized differently.  Software intended for one may be looking in the wrong place on the other.
1
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
You'll require providing much more detailed information, specifically what built for might mean.

Specifically, the exact commands used to build your software.

The easy test, just move your code over to an Ubuntu machine + run it.

As Dave suggested, Ubuntu + RedHat are very different, so the likely answer is either your software will fail immediately or worse, will glitch + crash occasionally.

Best to... Install latest Ubuntu + then rebuild your software under Ubuntu.

Also, best to rebuild your software each time you upgrade Ubuntu.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sebastian_StraussAuthor Commented:
So Ubuntu and RHEL aren't even in the same ballpark?
0
Dave BaldwinFixer of ProblemsCommented:
So Ubuntu and RHEL aren't even in the same ballpark?
There are usually different versions of programs for each distribution.  It's not really a 'binary compatibility' problem but an organizational one.  They just do things differently.
0
arnoldCommented:
The issue is RHEL maintains versions while Ubuntu gets the newest and greatest.
Issue is that if you compile on ubuntu using GCC version and GLIBC and other libraries unless you build statically, it is unlikely that the libraries on which your compiled application/programs relies on will be available on the RHEL platform.

the software, the Makefile, target, etc.

It might be possible for you to take the source of your application,
and build it on the RHEL platform.

As noted above, you have to check whether the functions you are relying on are available on the RHEL in the manner you expect.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.