Linux distribution binary compatibility

前端 未结 10 1311
日久生厌
日久生厌 2021-01-30 14:23

Any way to make a binary in a Linux distribution and run it on another distribution with same architecture? Or I should compile and build it on different distributions?

10条回答
  •  青春惊慌失措
    2021-01-30 14:49

    Normally it's ok to use binaries across linux distributions as long as you have the same set of libraries available. You can use 'ldd' to check which libraries are needed by a binary. libc should sure have the same version in the distributions involved.

提交回复
热议问题