Questions tagged [compatibility]
Use this tag to know if a software can run satisfactorily on a given environment setup or computer.
95
questions
0
votes
0
answers
18
views
Can I install a workstation's clone onto another kind of workstation? HP->Dell? Z4G4->Z6G4?
When installing a cloned image of a system drive (CentOS 7) to a new workstation, what restrictions are there on the new workstation? Can I take a clone made from an HP Z4G4 workstation's system drive ...
4
votes
1
answer
65
views
GNU awk --traditional vs --posix
So, GNU awk has some extensions that are missing in the macOS awk.
I want to be sure that my awk program also runs on the macOS awk (which I don't have access to).
Now GNU awk has two different ...
0
votes
1
answer
75
views
Integrate a younger qt version in an older yocto release
Our project is based on the meanwhile outdated yocto warrior, which was first modified by the vendor of our SoM. Then we integrated the FreeScale/NXP kernel into it because the mainline kernel did not ...
1
vote
0
answers
26
views
Lightweight VM For GNU/Linux to Host Windows Similar To Windows Subsystem For Linux
WSL2 is a stripped down VM for GNU/Linux and as such it has a very low overhead (comparatively at least... and when Vmmem RAM usage is under control). I have been wondering if a similar, headless ...
0
votes
1
answer
99
views
What breaks package compatibility between OpenRC and Systemd
I switched recently to Artix Linux with OpenRC as Init-system. I was using Manjaro before, which uses Systemd. Anyway, I was trying to install some packages I used on Manjaro that I have gotten from ...
1
vote
0
answers
34
views
.NET 5 issue on "old" arm64 / how to publish for arm64/gcc4.x
Background
I'm having more success than expected running binaries from a (relatively simple) C# program on "antiquated" arm and arm64 systems built on linux-x64 and published with RIDs linux-...
0
votes
2
answers
78
views
Running a 2nd command as a fallback with the same arguments as the 1st command
I would like to run the following command:
tar --sort=name --owner=root:0 --group=root:0 --mtime='UTC 2020-01-01' -cvf api.tar api
But need the following fallback for macOS:
gtar --sort=name --owner=...
0
votes
2
answers
82
views
auCDtect: Fatal error: glibc detected an invalid stdio handle
I'm trying to use auCDtect to check the authenticity of my audio files. I can run the linux binary successfully on my Synology NAS (DS918+) with the addition of libstdc++-libc6.2-2.so.3. I wanted to ...
1
vote
2
answers
162
views
How close are Leap 15.3 and SLE 15 SP3? Can I use one's rpms with the other?
Apologies if this is a stoopid question.
With some effort I have managed to install openSUSE Leap 15.3 on my laptop. As you may know 15.3 is rather different to earlier releases in that it apparently &...
0
votes
0
answers
54
views
Is there an emulator or a compatibility layer to run Linux binary on macOS? [duplicate]
There exists a compatibility layer called Wine to run Windows binary on Linux. Is there something similar on macOS to run Linux binary?
This question does not have answers here: Is there a way to run ...
0
votes
1
answer
63
views
Deploying applications in old distributions compiled in the new distribution
I have a binary built on ubuntu 20 (in a docker container FROM ubuntu:latest)
What if I want to run this binary, for example, in ubuntu 16?
I know that it is possible to face the fact that the version ...
2
votes
1
answer
50
views
How to determine minimum supported OS version of my app?
Background
I'm making an C++ app that's supposed to run on Centos 7. Builds are being done on Centos 7.9, and I'm using C++11 and C++17 features, which limits backward compatibility with older ...
1
vote
0
answers
179
views
How to know if the kernel is compatible with v4l2loopback?
I want to use v4l2loopback to stream from OBS-Studio in Microsoft Teams or discord, but I'm not sure if it will work with my system (I also don't really understand the section "DEPENDENCIES" ...
0
votes
1
answer
151
views
What introduce package/binary incompatibility?
Following up on Is Ubuntu LTS binary compatible with Debian?
I know Ubuntu and Debian binary packages are incompatible more often than not. I know mixing packages from different sources is generally a ...
0
votes
1
answer
48
views
Is an Intel 80386 application compatible with Intel(R) Core(TM) i7-7820HQ CPU?
When I run my application:
./a.out
bash: ./a.out: No such file or directory
and
bash ./a.out
./a.out: ./a.out: cannot execute binary file
I start feeling this is an architecture issue.
The file ...
0
votes
0
answers
78
views
How to configure LFS for multilib support?
I managed to install FLS pure 64-bit, but i want to "upgrade it" so it supports 32-bit also. I don't want to build LFS from ground up again. Is there a way to install multilib support on an ...
0
votes
1
answer
192
views
GNU Make exports macro as environment variable only when it's already present
Consider the following Makefile:
X = macro-X-value
foo:
echo $$X $(X)
The intention here is to use X both as a name of an environment variable and
of a macro. When using bmake, it works as ...
1
vote
1
answer
983
views
Nvidia drivers won't work on linux mint
My nvidia drivers won't work. They worked just fine before my last update. I have been trying to get them to work again but with no success.
if I run:
nvidia-settings
I get this error:
ERROR: NVIDIA ...
3
votes
1
answer
255
views
Is "xargs -I s printf s" more compatible than "xargs -n 1 printf"?
Summary
Is xargs -I s printf s more compatible than xargs -n 1 printf?
Background
To handle binary data that may include 0x00.
I know how to convert binary data to text, like this:
# make sure that ...
1
vote
1
answer
37
views
Debian 10 Hyper V compatibility
Based on this link the Hyper-V 2019 is compatible with Debian 10.0 up to Debian 10.3.
Is this a strict case or can I use 10.5 or even 10.7 without any problems?
0
votes
1
answer
32
views
How do I know if an application is compatible with the OS?
I am on Centos 7.8
I wanted to know where I can find information (website or others) that will tell me if PHP 7.3 or 7.4 is compatible with my OS?
1
vote
0
answers
41
views
Has a program ever successfully run on Wine, but failed on native Windows?
This is admittedly a more theoretical question looking for objective grounds; forgive me if I chose the wrong stack for it.
Wine is a compatibility layer for Microsoft Windows, allowing programs ...
1
vote
0
answers
733
views
Is there a glibc-compat or equivalent for CentOS 8?
I'm a new maintainer for an old codebase written in C++, targeting the C++0x standard, with several gcc and g++ dependencies in the code. I'm concerned about keeping the dependencies of this program ...
0
votes
0
answers
20
views
'compgen' appears to have undocumented parameter '--', can I rely on it being present across systems? [duplicate]
I happen to be on Ubuntu 18.04, with GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
The output of
% compgen -A file --
test-data
foobar
--
outputs all files/dirs in the current directory ...
0
votes
1
answer
4k
views
32-bit libraries GCC for RHEL/CentOS 7
yum groupinstall "Compatibility Libraries"
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
There is no installed groups file.
Maybe run: yum groups mark convert (...
2
votes
2
answers
152
views
Missing argument option in sfdisk?
sfdisk --delete $disk
From Ubuntu 18.04 or later works. What is the equivalent command in Ubuntu 16.04 LTS?
Ubuntu 16.04 LTS (--delete missing),
Ubuntu 18.04 LTS (--delete present)
3
votes
1
answer
1k
views
Can Systemd-free Artix Linux install packages from parent Arch Linux?
I want to install the Systemd-free Artix Linux, but noticed on DistroWatch that it misses many packages. Being an Arch based distribution, is it possible to install packages directly from Arch ...
1
vote
1
answer
61
views
Run MS-Windows programs directly from MS-Windows drive, on Linux
I can't seem to find anything about getting WINE to use an actual MS-Windows install, instead of emulating a Windows directory system on Gnu/Linux. Is that even a good idea?
I have two SSDs: one with ...
2
votes
1
answer
378
views
Set NixOS config option only when it is valid, for backwards compatibility
Occasionally, NixOS changes config options in a way that is not entirely backwards compatible. For example, nixos 19.09 did not have a programs.gnupg.agent.pinentryFlavor option, but in nixos unstable ...
0
votes
2
answers
32
views
Will gcc on onlinegdb always agree with gcc on CentOS 7?
Is there anything OS-dependent about gcc that would cause a meaningful change between the two versions? Are the two versions even different? Just want to make sure, because I test my code on onlinegdb ...
2
votes
1
answer
16k
views
Executing "Bad CPU type" executables in 10.15.x
I'm trying to execute a compiled Lazarus file which was working on macOS 10.14.x. After updating to 10.15, I started to get an error, "Bad CPU type in executable", which as far as I understand means ...
5
votes
2
answers
474
views
Does FreeBSD contain multiple variants of basic regex?
grep and sed are both described as using "basic regex" ("BRE") by default. BRE is well described here.
But consider this output:
# echo ' aaaaa ' | grep '\(aaaaa\|bbbbb\)'
aaaaa
# echo ' ...
1
vote
1
answer
253
views
Ampersand in the passwd GECOS field
When expanding the /etc/passwd GECOS field to get the user's full name, should we expand only the first ampersand (& character), or all ampersands?
In a GECOS field with comma (,) delimited ...
-1
votes
1
answer
1k
views
What CMake version can I rely on in current popular Linux distributions? [closed]
Suppose I'm writing a CMakeLists.txt file for a project of mine. I would like to use some newer CMake features... but I don't want to end up requiring a CMake version that's not present in many users' ...
1
vote
0
answers
13
views
how to do redhat7.5 hardware compatibility test?
I have installed Redhat7.5 in X3650 M3 which is an IBM server and not in the Redhat7.5 hardware support list.
During the installation no error or warning is reported . But I still want to do some ...
1
vote
0
answers
22
views
Compile on RHLE6, but run on RHEL7 or Fedora 29 - is that possible?
I was wondering in terms of system compatibility.
If I compile an application on RHEL6 - would I be able to safely run the output on RHEL7 and/or Fedora 29 as well, if I copy both the binary as well ...
2
votes
1
answer
2k
views
Arch: Some very-common PHP packages missing in repo
When I establish LAMP environments on Debian, I install some PHP extensions:
apt install php-{cli,curl,mbstring,mcrypt,gd}
From the above, besides php-gd, all packages are missing in Arch.
What are ...
0
votes
1
answer
51
views
Developing Mozilla Firefox for Linux on Windows
I would like to make some contribution to Mozilla Firefox (with the little C++ I know). Can I build, run and debug Firefox for Linux using WSL (Windows Subsystem for Linux) ? If yes, should I install ...
1
vote
0
answers
229
views
udf input/output error
A few months ago I formatted half an ssd (for use by all of my operating systems as file storage, I use os x, Debian, and Microsoft's windows)
It was recommended that I use udf, because it is, in ...
1
vote
1
answer
526
views
Why does the Linux kernel support "umount /"?
Why does Linux support this:
umount /
Why would anyone write that, instead of this:
mount / -oremount,ro
I'm looking at the kernel code here:
if (&mnt->mnt == current->fs->root.mnt &...
5
votes
1
answer
2k
views
Keepass does not respect GTK_THEME variable
I am using Cinnamon on Arch Linux with a dark theme (specifically Vertex Dark). The dark theme leads to undesirable behavior in some apps where the foreground color is hard-coded to a dark color but ...
4
votes
2
answers
193
views
BSD sed vs GNU - is it capable of nested matches?
This works perfectly well on any Linux :
$ echo foo bar | sed -n '/foo/{/bar/{;p;}}'
foo bar
But fails on OSXs ancient BSD variant :
❯ echo foo bar | sed -n '/foo/{/bar/{;p;}}'
sed: 1: "/foo/{/...
2
votes
2
answers
2k
views
How to run old 32 bit linux software in a container inside a modern 64-bit distribution
I need to create a container to run an old proprietary software that used to work in my old 32 bit computer with Ubuntu 8.04. I have been adapting this software in successive OS upgrades by linking ...
67
votes
6
answers
23k
views
Will a Linux executable compiled on one "flavor" of Linux run on a different one?
Will the executable of a small, extremely simple program, such as the one shown below, that is compiled on one flavor of Linux run on a different flavor? Or would it need to be recompiled?
Does ...
0
votes
1
answer
33
views
What to look for when mixing software in different releases of a distribution?
For instance, say hypothetically (or in reality) one was using and needed to continue using Debian Jessie, but wanted to utilize PHP7 from Debian Stretch. They might edit /etc/apt/sources.list to use ...
1
vote
1
answer
90
views
How tied are Linux installations to hardware? [duplicate]
If I install Linux on a USB stick using computer A, then plug it into computer B with different hardware and try to boot and work on it, should I generally expect it to work? Or should I rather accept ...
2
votes
1
answer
233
views
How to pass pseudo-file to child program?
I am using Cygwin - no, don't close yet - and I am having trouble with the <() syntax. A program refuses to accept the file descriptor that I am passing it, but other programs will accept it fine. ...
1
vote
1
answer
2k
views
How do I convert a package made in Arch Linux by using PKGBUILD and makepkg into a package that can be used by other Linux flavors such as centOS?
I have made a package in Arch Linux by using the PKGBUILD and makepkg method. So the file is a .pkg.tar.xz format. My goal is to be able to somehow convert this package to a format compatible with ...
1
vote
1
answer
3k
views
Can I use GnuPG 2 and GnuPG 1 concurrently, seeing the same keys?
Here on a Debian system I use mainly gpg2. Some (Debian packaging/signing) tools use gpg1 internally, and changing them as it should be would be infeasible.
Both my gpg versions are using the same ...
2
votes
1
answer
708
views
Compiled Executable
If for example I have compiled a simple C program that uses GTK 3 on a machine running Ubuntu, will I be able to run it on other Linux flavours?
Note: My actual questions is "Should I label my ...