Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
2
votes
1
answers
72
views
How to determine a certain linux distribution release is RVA20/RVA23 compatible?
For example, Ubuntu 25.10 plan to raise the required RISC-V ISA profile family to RVA23. How can I verify if this release is RVA23 compatible? Is there any efficient test tools I can use? I know that RVA20/23 profile includes a lot of system components like compiler, kernel etc. If no tool is availa...
For example, Ubuntu 25.10 plan to raise the required RISC-V ISA profile family to RVA23. How can I verify if this release is RVA23 compatible? Is there any efficient test tools I can use?
I know that RVA20/23 profile includes a lot of system components like compiler, kernel etc. If no tool is available for test its compatible for RVA20/23, should I just check each of the necessary components like gcc, kernel, llvm? Is there a list for checking?
Mr.D
(21 rep)
Jul 30, 2025, 07:46 AM
• Last activity: Aug 1, 2025, 07:13 AM
0
votes
1
answers
84
views
bash - list of breaking change
I know bash tries very hard to keep new versions compatible with previous ones. However they sometime introduced (minor, but still) breaking changes: for exemple when we could no longer have : `{ foo }` # which now hangs but instead had to have : `{ foo ;}` # ie have a `;` or a newline before the cl...
I know bash tries very hard to keep new versions compatible with previous ones.
However they sometime introduced (minor, but still) breaking changes:
for exemple when we could no longer have :
{ foo }
# which now hangs
but instead had to have : { foo ;}
# ie have a ;
or a newline before the closing }
(not sure which version introduced that, it was more than 20 years ago ^^)
My question is : how to find out which other "breaking" changes occured along the whole history of bash updates?
Olivier Dulac
(6580 rep)
Apr 25, 2025, 07:11 AM
• Last activity: Apr 25, 2025, 07:32 AM
-2
votes
3
answers
205
views
How to install CASA (Common Astronomy Software Applications)
I need help. I've tried to install CASA (Common Astronomy Software Applications) [from the NRAO website][1] that I will need to use for a research, but I'm having trouble to configure it. I followed this example: [CASA installation][2] and I wonder if this installation is compatible with Kali Linux...
I need help. I've tried to install CASA (Common Astronomy Software Applications) from the NRAO website that I will need to use for a research, but I'm having trouble to configure it.
I followed this example: CASA installation
and I wonder if this installation is compatible with Kali Linux that I have on my laptop.
Linux is not my first OS, I spend most of my time on Windows, but I'm learning for practical reasons imposed from the research.
I would be happy to share more info or eventually if someone wants to help me to set it up.
I don't understand if this CASA software is also available and launchable as library through Python, or it has its own software once installed.
I managed to complete all the process of installation according to the video, but still it doesn't launch.
Physics lover
(1 rep)
Mar 12, 2025, 07:48 PM
• Last activity: Apr 11, 2025, 08:32 AM
0
votes
1
answers
4494
views
How to install printer drivers on Arch Linux when there is no official Arch package provided?
I am trying to print to Epson WorkForce WF-2650 All-In-One Inkjet PRinter from my Arch Linux desktop. Both the desktop and the printer are in network range ```192.168.0.1/24```. 1. Initialize Printer Service The first thing I did was to install CUPS. ``` sudo pacman -Syu cups cups-pdf ``` Then I ena...
I am trying to print to Epson WorkForce WF-2650 All-In-One Inkjet PRinter from my Arch Linux desktop. Both the desktop and the printer are in network range
.168.0.1/24
.
1. Initialize Printer Service
The first thing I did was to install CUPS.
sudo pacman -Syu cups cups-pdf
Then I enabled then started the service.
sudo systemctl enable cups
sudo systemctl start cups
2. Add Printer
After setting up the printing service I tried to add the printer via Gnome Print. I was able to locate the printer by ip but as soon as clicked add I got to add new printer.
Since that failed I moved to the CUPS web page on :631
. On navigating > Printers > Add Printer
I saw my printer in Network Printers
. When I hit
it identified the connection as ://192.168.0.156:515/PASSTHRU
. However there were only two models to choose from: -Pin Series
and -Pin Series
which do not correspond to my printer.
So I fell back to the Generic drivers. I tried printing a small PDF file with the IPP Everywhere Printer
and PDF Printer
drivers but neither of them printed properly. In both cases I got plaintext gibberish.
Command -p WF2650 -E -v lpd://192.168.0.156:515 -m everywhere
did not work either, so I started searching for functional drivers.
3. Find Printer Drivers
When I searched the official repository , I only found one package for scanner drivers and no printer drivers. Nonetheless I did try pacman -Syu imagescan
and it did succeed but no printer drivers.
Then I visited AUR and found a lot of Epson-related packages . There were two AURs and I wasn't sure which one covered my printer so I tried both.
https://aur.archlinux.org/packages/epson-inkjet-printer-escpr
https://aur.archlinux.org/packages/epson-inkjet-printer-escpr2
For both AURs I downloaded the snapshot containing the
, extracted then cd'd to it. Then I downloaded the source in that directory and tried to install each. Unfortunately both attempts failed.
sudo pacman -U ./epson-inkjet-printer-escpr2-1.2.3-1.tar.gz
loading packages...
error: missing package metadata in ./epson-inkjet-printer-escpr2-1.2.3-1.tar.gz
error: './epson-inkjet-printer-escpr2-1.2.3-1.tar.gz': invalid or corrupted package
sudo pacman -U ./epson-inkjet-printer-escpr-1.8.0-1.src.rpm
loading packages...
error: missing package metadata in ./epson-inkjet-printer-escpr-1.8.0-1.src.rpm
error: './epson-inkjet-printer-escpr-1.8.0-1.src.rpm': invalid or corrupted package
Then I went to the official Epson download page and searched . Unfortunately only
and
packages are provided . I considered converting one of the two into a compatible format but the site suggested against it.
>If you want to use the driver other than the above distribution,
>we recommend that you build from the source file and install it.
Is it okay install the
package with
on Arch? Would it break my system? If it is not an option what should I do from here?
iso790427
(9 rep)
Sep 19, 2023, 03:36 PM
• Last activity: Apr 10, 2025, 09:01 AM
1
votes
3
answers
414
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 "uses binaries from" SLE 15 SP3. Unfortunately, another difference appears to be that many packages...
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 "uses binaries from" SLE 15 SP3. Unfortunately, another difference appears to be that many packages which were there all the way up to 15.2 appear to be missing, I've seen the line [There is no official package available for openSUSE Leap 15.3](https://software.opensuse.org/package/llvm) (this example is llvm) way more often than I care.
So my question: Is it generally possible / safe to use SLE 15 SP3 repositories instead? (I see that one of the automatic update repositories is indeed SLE.) I daren't simply try for fear of damaging my system.
loopy walt
(113 rep)
Aug 19, 2021, 07:42 PM
• Last activity: Jan 28, 2025, 07:39 AM
0
votes
1
answers
209
views
How to format the hard drive so it is compatible across windows, macOS and linux itself on linux
I formatted my hard drive using the `mkfs.exfat -n "HDD" /dev/sda1`, but it is not recognized on macOS. If I do that on macOS, it is readable on Linux, but I want to be able to format on Linux itself without relying on partitioning of macOS.
I formatted my hard drive using the
mkfs.exfat -n "HDD" /dev/sda1
, but it is not recognized on macOS.
If I do that on macOS, it is readable on Linux, but I want to be able to format on Linux itself without relying on partitioning of macOS.
aljustiet
(3 rep)
Oct 24, 2024, 07:39 PM
• Last activity: Oct 24, 2024, 08:00 PM
8
votes
3
answers
751
views
Is there an equivalent of caniuse for commands on posix systems?
I'm thinking about using a callout to the `jq` command in a utility script I'm writing, rather than parsing JSON manually. In order to make the script as portable as possible, I want to know which flavors of Unix/Linux/MacOS/WSL/etc support this command without any additional package installation. L...
I'm thinking about using a callout to the
jq
command in a utility script I'm writing, rather than parsing JSON manually.
In order to make the script as portable as possible, I want to know which flavors of Unix/Linux/MacOS/WSL/etc support this command without any additional package installation.
Likewise, in the past, I've found that some scripts use call-outs to wget
, which is missing in at least one flavor by default.
That got me thinking: Is there any sort of tool that tells people whether it's "safe" in this way to use an arbitrary command in their scripts? Ideally, it would act like the caniuse site by showing which major flavors do and don't support a command in their default shells.
===
EDIT: With thanks to user Kusalananda for pointing out that my examples aren't POSIX commands, I changed the title to avoid mislabeling them as such.
Viscountess of the Junkyard
(83 rep)
Jul 19, 2024, 09:18 AM
• Last activity: Jul 27, 2024, 10:49 PM
-1
votes
2
answers
530
views
dnf won't let me overwrite or change packages
I want to do something that is supposed to be simple in any package manager, install a package, in my case it is this specifically `lib64MLIRVectorToSPIRV13`. ```js LC_ALL=C dnf install lib64MLIRVectorToSPIRV13 ``` The problem is that a `yum` dependency was installed, and it is not possible to unins...
I want to do something that is supposed to be simple in any package manager, install a package, in my case it is this specifically
lib64MLIRVectorToSPIRV13
.
LC_ALL=C dnf install lib64MLIRVectorToSPIRV13
The problem is that a yum
dependency was installed, and it is not possible to uninstall it, because it is supposedly from the system, while I am using dnf.
I couldn't run yum, because it was missing crypto symbols (and I couldn't migrate it to Python 3), so what I did was simply make a symbolic link from dnf
to yum
.
Leaving that topic aside, what I want is to be able to overwrite, change, remove or reinstall the packages that are interfering in order to install lib64MLIRVectorToSPIRV13
Yes, I can install all the packages one by one, although it would be better with the package manager, unless there is a package on the Internet that contains all of the ___LLVM 13___.
But I get this error...
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /lib64/libstdc++.so.6 from install of lib64stdc++6-11.2.0-2.x86_64 conflicts with file from package libstdc++-4.8.5-44.el7.x86_64
file /usr/lib64/libncursesw.so.6 conflicts between attempted installs of lib64ncursesw6-6.3-1.20211219.2.x86_64 and lib64ncursesw6-6.3-1.20211219.2.x86_64
# History of my operating system
I'm using a 2006 Commodore purchased at _Garbarino_ shopping.
CPU~Dual core Pentium E5700 (-MCP-) speed/max~2611/2965 MHz Kernel~5.7.2-lxpup64 x86_64 Up~7:52 Mem~1167.9/1990.8MB HDD~95.6GB(73.6% used) Procs~155 Client~Shell inxi~2.3.8
The system I use is _LxPupSc64 20.06_, which is _PuppyLinux_, in turn based on _WOFF_ and Slackware, with a modification so that it can support various package managers.
How could I install another package manager? The way I managed to install the package manager was by downloading each missing package from the ___pkgs.org___ page.
The package manager that I was able to install was pacman from _ArchLinux_, then since the _Nouveau_ driver no longer starts because the system was updated, I installed another package manager, which is dnf.
I couldn't install _apt-get_ or _snapd_, or any package that uses _systemd_, since _PuppyLinux_ also works without sudo
.
Log:
Last metadata expiration check: 0:05:38 ago on Mon Mar 25 06:52:00 2024.
Dependencies resolved.
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Installing:
lib64MLIRVectorToSPIRV13 x86_64 13.0.0-1 release 33 k
Installing dependencies:
cross-aarch64-openmandriva-linux-gnu-libc x86_64 6:2.34-6 release 62 M
lib64LLVMDemangle13 x86_64 13.0.0-1 release 110 k
lib64LLVMSupport13 x86_64 13.0.0-1 release 806 k
lib64MLIRAffine13 x86_64 13.0.0-1 release 162 k
lib64MLIRAnalysis13 x86_64 13.0.0-1 release 84 k
lib64MLIRCallInterfaces13 x86_64 13.0.0-1 release 10 k
lib64MLIRControlFlowInterfaces13 x86_64 13.0.0-1 release 18 k
lib64MLIRDataLayoutInterfaces13 x86_64 13.0.0-1 release 28 k
lib64MLIRDialectUtils13 x86_64 13.0.0-1 release 26 k
lib64MLIRIR13 x86_64 13.0.0-1 release 483 k
lib64MLIRInferTypeOpInterface13 x86_64 13.0.0-1 release 15 k
lib64MLIRLinalg13 x86_64 13.0.0-1 release 701 k
lib64MLIRLoopAnalysis13 x86_64 13.0.0-1 release 139 k
lib64MLIRMath13 x86_64 13.0.0-1 release 47 k
lib64MLIRMemRef13 x86_64 13.0.0-1 release 192 k
lib64MLIRMemRefUtils13 x86_64 13.0.0-1 release 12 k
lib64MLIRPDL13 x86_64 13.0.0-1 release 90 k
lib64MLIRPDLInterp13 x86_64 13.0.0-1 release 118 k
lib64MLIRPDLToPDLInterp13 x86_64 13.0.0-1 release 90 k
lib64MLIRParser13 x86_64 13.0.0-1 release 115 k
lib64MLIRPass13 x86_64 13.0.0-1 release 102 k
lib64MLIRPresburger13 x86_64 13.0.0-1 release 34 k
lib64MLIRRewrite13 x86_64 13.0.0-1 release 122 k
lib64MLIRSCF13 x86_64 13.0.0-1 release 113 k
lib64MLIRSPIRV13 x86_64 13.0.0-1 release 698 k
lib64MLIRSPIRVConversion13 x86_64 13.0.0-1 release 43 k
lib64MLIRSideEffectInterfaces13 x86_64 13.0.0-1 release 13 k
lib64MLIRStandard13 x86_64 13.0.0-1 release 237 k
lib64MLIRSupport13 x86_64 13.0.0-1 release 56 k
lib64MLIRTensor13 x86_64 13.0.0-1 release 109 k
lib64MLIRTransformUtils13 x86_64 13.0.0-1 release 231 k
lib64MLIRVector13 x86_64 13.0.0-1 release 353 k
lib64MLIRVectorInterfaces13 x86_64 13.0.0-1 release 11 k
lib64MLIRViewLikeInterface13 x86_64 13.0.0-1 release 18 k
lib64ncursesw6 x86_64 6.3-1.20211219.2 release 173 k
lib64stdc++6 x86_64 11.2.0-2 release 647 k
Installing weak dependencies:
cross-aarch64-openmandriva-linux-gnu-binutils x86_64 2.37-1 release 2.7 M
cross-aarch64-openmandriva-linux-gnu-gcc x86_64 11.2.0-2 release 86 M
Transaction Summary
=========================================================================================================
Install 39 Packages
Total size: 157 M
Installed size: 1.5 G
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] cross-aarch64-openmandriva-linux-gnu-binutils-2.37-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] cross-aarch64-openmandriva-linux-gnu-gcc-11.2.0-2-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] cross-aarch64-openmandriva-linux-gnu-libc-2.34-6-omv4003.x86_64.rpm: Already downloaded
[SKIPPED] lib64LLVMDemangle13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64LLVMSupport13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRAffine13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRAnalysis13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRCallInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRControlFlowInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRDataLayoutInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRDialectUtils13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRIR13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRInferTypeOpInterface13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRLinalg13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRLoopAnalysis13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRMath13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRMemRef13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRMemRefUtils13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPDL13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPDLInterp13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPDLToPDLInterp13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRParser13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPass13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRPresburger13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRRewrite13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSCF13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSPIRV13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSPIRVConversion13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSideEffectInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRStandard13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRSupport13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRTensor13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRTransformUtils13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRVector13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRVectorInterfaces13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRVectorToSPIRV13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64MLIRViewLikeInterface13-13.0.0-1-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64ncursesw6-6.3-1.20211219.2-omv4050.x86_64.rpm: Already downloaded
[SKIPPED] lib64stdc++6-11.2.0-2-omv4050.x86_64.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /lib64/libstdc++.so.6 from install of lib64stdc++6-11.2.0-2.x86_64 conflicts with file from package libstdc++-4.8.5-44.el7.x86_64
file /usr/lib64/libncursesw.so.6 conflicts between attempted installs of lib64ncursesw6-6.3-1.20211219.2.x86_64 and lib64ncursesw6-6.3-1.20211219.2.x86_64
ArtEze
(137 rep)
Mar 25, 2024, 10:17 AM
• Last activity: Mar 26, 2024, 08:31 AM
0
votes
0
answers
58
views
How to gracefully handle differences in command options between different versions?
Inspired by [What is the difference between “base64 -b0” in macOS versions prior to macOS 13 (Ventura) and “base64 -i” in macOS 13 (Ventura)?][1] Are there common ways to avoid the script breaking on a system with a different version of a command, at least when you know what the differences are? Wou...
Inspired by What is the difference between “base64 -b0” in macOS versions prior to macOS 13 (Ventura) and “base64 -i” in macOS 13 (Ventura)?
Are there common ways to avoid the script breaking on a system with a different version of a command, at least when you know what the differences are? Would checking the command
--version
or --help
output and calling it with different options make sense?
typo
(239 rep)
Feb 6, 2024, 04:57 AM
1
votes
1
answers
716
views
How can I build an older GCC version (8.5.0) on a newer Linux distribution (Devuan Excalibur/Debian Trixie)?
If I download and try to build GCC 8.x on a newer machine, e.g. Devuan Excalibur GNU/Linux (i.e. Debian Trixie without systemd) - this fails, with the error going something like this: ``` libstdc++.so.6: version `GLIBCXX_3.4.30' not found ``` If I manually copy my system's `libstdc++6.so` over the f...
If I download and try to build GCC 8.x on a newer machine, e.g. Devuan Excalibur GNU/Linux (i.e. Debian Trixie without systemd) - this fails, with the error going something like this:
libstdc++.so.6: version `GLIBCXX_3.4.30' not found
If I manually copy my system's libstdc++6.so
over the file missing the relevant [?] - and repeat the process a few times - I get to a different error:
make: Entering directory '/usr/local/src/gcc-8.5.0/x86_64-pc-linux-gnu/32/libitm'
In file included from /usr/include/linux/fs.h:19,
from ../../.././libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:68:
/usr/include/linux/mount.h:96:6: error: multiple definition of ‘enum fsconfig_command’
enum fsconfig_command {
^~~~~~~~~~~~~~~~
In file included from ../../.././libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:55:
/usr/local/src/gcc-8.5.0/host-x86_64-pc-linux-gnu/gcc/include-fixed/sys/mount.h:249:6: note: previous definition here
enum fsconfig_command
^~~~~~~~~~~~~~~~
In file included from /usr/include/linux/fs.h:19,
from ../../.././libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:68:
/usr/include/linux/mount.h:130:8: error: redefinition of ‘struct mount_attr’
struct mount_attr {
^~~~~~~~~~
In file included from ../../.././libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:55:
/usr/local/src/gcc-8.5.0/host-x86_64-pc-linux-gnu/gcc/include-fixed/sys/mount.h:219:8: note: previous definition of ‘struct mount_attr’
struct mount_attr
^~~~~~~~~~
which is weird, but perhaps my fault for trying to force the library version. Anyway - how can I GCC 8.5.0 to actually build on my machine?
Note:
* The configuration is: ./configure --disable-bootstrap --enable-languages=c,c++
.
* Any additional information will be provided per request.
einpoklum
(10753 rep)
Dec 23, 2023, 09:31 PM
• Last activity: Jan 26, 2024, 07:00 PM
0
votes
1
answers
369
views
Are FreeBSD binaries compatible with macOS?
Since FreeBSD and macOS (OS X) are very similar to each other, can programs written for FreeBSD run on macOS? And if a program can't, then would it be possible to make it work?
Since FreeBSD and macOS (OS X) are very similar to each other, can programs written for FreeBSD run on macOS? And if a program can't, then would it be possible to make it work?
Bunabyte
(111 rep)
Nov 5, 2023, 05:10 PM
• Last activity: Jan 4, 2024, 07:54 PM
1
votes
3
answers
843
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 support GPU functionality we needed. It has been quite a ride to get this working, but now there...
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 support GPU functionality we needed.
It has been quite a ride to get this working, but now there is need to switch from qt 5.12 as included in our *warrior* to qt 5.15 (LTS). We want to avoid switching to a new yocto release, but only changing the checkout of the meta-qt5 layer leads to
bitbake
problems like
ERROR: ParseError at meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:83: Could not inherit file classes/features_check.bbclass
and I expect this to be only the first of a series of incompatibilities, so I'm asking myself what would be the best approach to the problem.
Should I start my own meta-qt5 branch, changing the recipes to use qt 5.15.8 and only cherry-pick commits from current meta-qt5 branches?
Philippos
(13680 rep)
Feb 24, 2022, 10:49 AM
• Last activity: Nov 9, 2023, 02:22 PM
0
votes
1
answers
196
views
tracking linux-firmware.git and backwards kernel compatibility
I've been tracking the upstream Linux firmware repo in `/lib/firmware` on a couple of machines, doing very periodic updates of that tree. I *think* I saw a firmware loading error booting an older kernel on the machine where I did a git-pull last week. Does that repository have a policy about backwar...
I've been tracking the upstream Linux firmware repo in
/lib/firmware
on a couple of machines, doing very periodic updates of that tree.
I *think* I saw a firmware loading error booting an older kernel on the machine where I did a git-pull last week.
Does that repository have a policy about backwards compatibility with older kernels, or is that a non-issue (e.g.) because all the kernel does is load a binary file onto the target device using a standard interface that probably hasn't changed since a long time?
RJVB
(254 rep)
Oct 31, 2023, 10:46 PM
• Last activity: Nov 1, 2023, 06:22 AM
76
votes
2
answers
19982
views
What does it mean to be "sh compatible"?
I've seen the phrase "sh compatible" used usually in reference to shells. I'm not sure if it also applies to the programs that might be run from within shells. What does it mean for a shell or other program to be "sh compatible"? What would it mean to be "sh incompatible"? Edit: This question asking...
I've seen the phrase "sh compatible" used usually in reference to shells. I'm not sure if it also applies to the programs that might be run from within shells.
What does it mean for a shell or other program to be "sh compatible"? What would it mean to be "sh incompatible"?
Edit:
This question asking the difference between bash and sh is very relevant:
Difference between sh and bash
I'd still like a direct answer to what it means to be "sh compatible". A reasonable expectation might be that "sh compatible" means "implements the Shell Command Language" but then why are there so many "sh compatible" shells and why are they different?
Praxeolitic
(1688 rep)
Jul 20, 2014, 12:09 AM
• Last activity: Sep 21, 2023, 09:04 PM
1
votes
0
answers
62
views
Are KeePassXC and KeePass Solaris-compatible?
I wanted to know whether [KeePassXC][1] and [KeePass][2] are compatible with Solaris (I am using Solaris 11.4.26.75.4 (sun4v / sparc architecture)). I would need to use only the KeePassXC/KeePass command line interfaces, the KeePassXC/KeePass GUIs are not necessary. I do not have admin rights / sudo...
I wanted to know whether KeePassXC and KeePass are compatible with Solaris (I am using Solaris 11.4.26.75.4 (sun4v / sparc architecture)). I would need to use only the KeePassXC/KeePass command line interfaces, the KeePassXC/KeePass GUIs are not necessary.
I do not have admin rights / sudo access, so I cannot install the software myself, but I may ask the responsible unix support team (which has admin access) to attempt the installation. However, before doing that, I wanted to ask regarding the Solaris compatibility here in the forum.
Under the respective download pages, Solaris is not listed among the supported OS.
**KeePassXC:** can be built from source , but again Solaris is not included as a supported OS on the Building KeePassXC wiki page (see Required Dependencies) .
**KeePass:** Googling yields a few links that might indicate Solaris compatibility (Forbes article 1 (July 2023) , Forbes article (March 2023) , KeePassX forum link ), but I am not 100% certain.
**Question: Can KeePassXC (preferred if possible) and/or KeePass be successfully built/installed from source and used on Solaris? Do you maybe know any tests/links explicitly giving this information?**
silence_of_the_lambdas
(111 rep)
Sep 19, 2023, 09:56 AM
• Last activity: Sep 19, 2023, 11:04 AM
0
votes
1
answers
42
views
I'm trying to make a wifi adapter with a old chipset
I want to know if a Ralink RT3070L chip has packet injection, monitor mode, and is compatible with Linux.
I want to know if a Ralink RT3070L chip has packet injection, monitor mode, and is compatible with Linux.
vikingmichael
(1 rep)
Aug 14, 2023, 07:29 PM
• Last activity: Aug 15, 2023, 08:06 PM
1
votes
1
answers
819
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 && !(flags & MNT_DETACH)) { /* * Special case for "unmounting" root ... * we just try to remount it readonly. */ if (!n...
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 && !(flags & MNT_DETACH)) {
/*
* Special case for "unmounting" root ...
* we just try to remount it readonly.
*/
if (!ns_capable(sb->s_user_ns, CAP_SYS_ADMIN))
return -EPERM;
down_write(&sb->s_umount);
if (!sb_rdonly(sb))
retval = do_remount_sb(sb, SB_RDONLY, NULL, 0);
https://elixir.bootlin.com/linux/v4.18/source/fs/namespace.c#L1612
sourcejedi
(53222 rep)
Sep 3, 2018, 09:51 AM
• Last activity: Jul 20, 2023, 03:09 PM
8
votes
2
answers
1613
views
Should the use of /etc/mtab now be considered deprecated?
I'm curious about the file or symlink `/etc/mtab`. I believe [this is a legacy mechanism][1]. On every modern linux I've used this is a symbolic link to `/proc/mounts` and if `mtab` were to be a regular file on a "normal" file system `/etc` there would be challenges in making software work with moun...
I'm curious about the file or symlink
/etc/mtab
. I believe this is a legacy mechanism . On every modern linux I've used this is a symbolic link to /proc/mounts
and if mtab
were to be a regular file on a "normal" file system /etc
there would be challenges in making software work with mount namespaces.
For a long time I'd presumed that one of two things were true. Either:
- We're waiting for software referencing /etc/mtab
to age out or be updated
- Other non-linux OS still use the same file name and the link is there for cross platform compliance
However both of these seem shaky ideas. I can't find good reference to any modern OS keeping the same file name outside Linux. And it seems to have lived for much too long to be simply a backward compatibility issue; far more significant changes seem to have come and gone in that same time.
So I'm left wondering if /etc/mtab
is really just there for historic reasons. Is it in any way officially deprecated? Is there any solid **modern** reason [as of 2023] to keep it?
*I don't want to delete it from my system, but as a software developer I'd like to understand its usefulness and whether to avoid it.*
Philip Couling
(20391 rep)
Apr 16, 2023, 09:40 AM
• Last activity: Apr 16, 2023, 07:09 PM
1
votes
1
answers
1259
views
OpenZFS and Linux Kernel versions compatibility question
Each new release of [openZFS][1] has a range of supported linux kernel versions (for example openZFS v2.1.9 supports kernels versions between 3.10 and 6.1) But when I run `zfs version` I get: root@pve:~# zfs version zfs-2.1.9-pve1 zfs-kmod-2.1.6-pve1 PVE it's because I'm running proxmox virtual envi...
Each new release of openZFS has a range of supported linux kernel versions (for example openZFS v2.1.9 supports kernels versions between 3.10 and 6.1)
But when I run
zfs version
I get:
root@pve:~# zfs version
zfs-2.1.9-pve1
zfs-kmod-2.1.6-pve1
PVE it's because I'm running proxmox virtual environment distribution, but at the end of the day it's debian (11) with some virtualization glitter on top.
So my question is, what linux kernel versions can I install? Because zfs version
returns two different versions that have different linux support. For example, zfs 2.1.6 only supports up to linux 5.19. So, what's the important version, zfs or zfs-kmod?
EDIT: Also, should those two versions, zfs and zfs-kmod, be the same?
Héctor
(348 rep)
Apr 3, 2023, 07:12 AM
• Last activity: Apr 4, 2023, 09:40 AM
0
votes
2
answers
1558
views
Will a nVidia GTX 1050 card work with Linux?
I have a laptop with GTX 1050 card and planning to buy in the near future PC with some external nvidia card as well. I want to install linux on both of them, but I never used linux with nvidia before and want to know what are compatibility issues I can face, because as far as I know nvidia and linux...
I have a laptop with GTX 1050 card and planning to buy in the near future PC with some external nvidia card as well. I want to install linux on both of them, but I never used linux with nvidia before and want to know what are compatibility issues I can face, because as far as I know nvidia and linux don't have a good relationship.
Also, with the laptop that run on windows currently, I have the ability to use internal(CPU's) graphic card and GTX 1050 per application. So, when I'm not gaming I can use internal one, when I am gaming or need the 1050's power, I switch to it. Is this how it should work with linux as well?
EmmaBerg
(1 rep)
Sep 2, 2022, 07:40 AM
• Last activity: Jan 13, 2023, 04:17 PM
Showing page 1 of 20 total questions