Migrating my code from Centos to Ubuntu.

abdul17

New Member
Joined
Nov 28, 2022
Messages
2
Reaction score
0
Credits
23
Hi,
I need to run my Make file from centos to ubuntu environment, what are the changes i need to follow to make it work. when I do compiling As, it is in ubuntu desktop i got lots of dependency issues. please help me to compile. THANKS in advance.
 


kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,446
Reaction score
1,259
Credits
10,381
Hello @abdul17,
What is it that your trying to compile? Ubuntu may have too newer libs, etc. compared to centOS. Cent has been dropped by Redhat so you may be better served by using one of the new versions. Such as rocky that just released a new version or
Alma.
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,654
Reaction score
1,270
Credits
10,769
Such as rocky that just released a new version or
Alma.

Rocky and Alma are similar, but unrelated to each other. CentOS is still around, but they have moved to an "upstream"
format. They are still pretty much Redhat, but have newer/less tested binaries. They aren't a 100% compatible with the
current version of Redhat.

Depending on what what you are compiling, the binaries may or may not be compatible with Ubuntu.
As @kc1di mentioned, the kernel versions, and libraries are different, but also Ubuntu/Debian uses a deb/apt
packaging format. Redhat/CentOS/Fedora uses a rpm/dnf packaging format.
 
$200 Digital Ocean Credit
Get a free VM to test out Linux!


Members online


Top