Page 1 of 1
How to run 32-bit programs on this Pup? Abandoned
Posted: Thu Jul 13, 2023 6:26 am
by Mercedes350se
I would like to run some 32 bit programs that I would prefer not to live without on this frugal install.
However I have fallen over at the first - SMM email checker. I have brought this forward, probably from 3.01, up to Bionic32.
I am currently getting:
Code: Select all
# smm
bash: /bin/smm: cannot execute: required file not found
Properties of the file /bin/smm show that the real file is /usr/bin/smm (which exists). Permissions seem to be in order.
Ideas please.
The other programs are the time wasters Freecell and Sudoku. Similarly these have been brought forward up to Bionic32. I have found 64 bit versions of these but I much prefer the look and feel of the 32 bit versions.
Re: Running 32 bit programs on this Pup
Posted: Thu Jul 13, 2023 10:20 am
by Chelsea80
@ Mercedes350se
Try here for Freecell:
https://forum.puppylinux.com/viewtopic.php?t=559
The post date is 20 Aug 2020 so would probably be 32bit -
Try here for Sudoku:
https://oldforum.puppylinux.com/viewtopic.php?t=26635
The post date is 24 Feb 2008 so would probably be 32bit -
Scroll down to You might also like for different versions -
Best regards
Chelsea80
Re: Running 32 bit programs on this Pup
Posted: Thu Jul 13, 2023 12:41 pm
by dimkr
Try this:
Code: Select all
dpkg --add-architecture i386
apt update
apt install libx11-6:i386
Re: Running 32 bit programs on this Pup
Posted: Thu Jul 13, 2023 1:04 pm
by mikeslr
Mercedes350se "I would like to run some 32 bit programs that I would prefer not to live without on this frugal install."
The following may be wrong for at least two reasons: (1) I'm not that familiar with everything BookwormPup64 has to offer; and (2) I'm still working on my first cup of coffee to clear the cobwebs from my mind.
BookwormPup64 is a 64-bit Operating system. To run 32-bit Applications you'll need to employ some type of 'emulation' layer. Perhaps peebee's 32bit-compat-s15pup64-22.12.sfs, viewtopic.php?p=78294#p78294 could be loaded. But BookwormPup64 follows the 'usr-merge' Rule while that 32-bit compatibility SFS --in fact AFAIK ALL 32-bit compatibility SFSes-- don't. You might try restructuring such SFS: mount the original, copy its contents into a folder, move libraries to so as comply with the Rule, and repackage. But I suspect you'll run into the same problem I had here, viewtopic.php?p=79525#p79525
If 32-bit programs for Windows exist for the applications you want, you may be more successful running those under Mikewalsh's Wine-portable, viewtopic.php?p=68191#p68191. I've use the 5.11 under other 'User-Merge' Puppys. I'm still too fuzzy headed to figure out whether the smaller 4.0.4 could be used.
Fortunately, while I was typing dimkr explained how to add 32-bit applications to Bookwormpup64.
Re: Running 32 bit programs on this Pup
Posted: Thu Jul 13, 2023 4:43 pm
by bigpup
The problem is Bookworm Pup64 does not have in it support files to run 32bit software.
Most Puppy versions provide this 32bit software support by loading a 32bit compatibility sfs to provide needed support.
Bookworm Pup64 does not have this SFS to download and use.
Try doing what dimkr suggests.
See if that provides the needed support to run 32bit software.
Re: Running 32 bit programs on this Pup
Posted: Thu Jul 13, 2023 6:12 pm
by mikeslr
bigpup is right; but it's the other way around. Most Puppys could not directly support multi-architecture. [DebianDogs have been able to since AFAIK their first appearance*. So I think can FatDog]. Puppys employment of a compatibility SFS is a 'work-around'. It's good to know that Bookworm and perhaps other recent Puppys** have overcome that limitation. My guess is that we can thank that to dimkr's efforts to bring Puppys closer to debian/ubuntu standards.
* dimkr's recipe i strikingly similar to what I recall of fredx181's under debiandogs.
** Almost certainly dimkr's own VanillaDups; maybe, jrb's Another Jammypup.
Re: How to run 32-bit programs on this Pup?
Posted: Fri Jul 14, 2023 2:37 am
by Mercedes350se
Tried dimkr suggestion but get the following:
Code: Select all
<snip>
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libx11-6 : Breaks: libx11-6:i386 (!= 2:1.8.4-2) but 2:1.8.4-2+deb12u1 is to be installed
libx11-6:i386 : Breaks: libx11-6 (!= 2:1.8.4-2+deb12u1) but 2:1.8.4-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
The question then is , "Why are there 32 bit libs in the original install if the OS cannot run 32 bit programs?"
Re: How to run 32-bit programs on this Pup?
Posted: Fri Jul 14, 2023 2:47 am
by Mercedes350se
@Chelsea80
Thanks for the link but I already have the 32 bit versions - I am after the 64 bit that will produce a game that looks like the Freecell in amethyst's screenshot.
Re: How to run 32-bit programs on this Pup?
Posted: Fri Jul 14, 2023 7:27 am
by dimkr
Mercedes350se wrote: ↑Fri Jul 14, 2023 2:37 am
libx11-6 : Breaks: libx11-6:i386 (!= 2:1.8.4-2) but 2:1.8.4-2+deb12u1 is to be installed
Try apt install libx11-6:i386=2:1.8.4-2
if you want to avoid updates to 64-bit packages.
Re: How to run 32-bit programs on this Pup?
Posted: Fri Jul 14, 2023 11:42 am
by bigpup
The original idea of 64bit Puppy versions not having anything in them to run 32bit software was to cut down on the size of the Puppy version ISO.
Plus, if it is 64bit Linux OS would not 64bit software want to be used.
But to keep it still able to run 32bit software.
The 32bit compatibility SFS was produced.
This you could download and load into the operating file system to give you ability to run 32bit software.
Do not want to run anything that is 32bit.
Unload this SFS.
some of the newer 64bit versions of OS's on this forum, may come with 32bit software support stuff in them.
As you can see by trying to use apt to download and install needed 32bit software support.
It is not that simple a thing to do.
Figuring out exactly what to add, it seems, is not a simple thing.
by the problems I have had, getting the software that apt in Bookworm Pup64, can provide.
I think some of the issues have to do with getting the added software from a repository that is software for Debian Linux OS.
Re: How to run 32-bit programs on this Pup?
Posted: Sat Jul 15, 2023 3:13 am
by Mercedes350se
Thank you all for your input. However chasing a seemingly never ending list of libs I have given up.
I will mark this thread "Abandoned".
Re: How to run 32-bit programs on this Pup? Abandoned
Posted: Sat Jul 15, 2023 7:39 am
by dimkr
apt install libx11-6:i386=2:1.8.4-2
will probably install most of the libraries you need, if not all of them.
ldd /bin/smm
will tell if you need more.
Re: How to run 32-bit programs on this Pup?
Posted: Sat Jul 15, 2023 10:12 pm
by radky
Mercedes350se wrote: ↑Fri Jul 14, 2023 2:37 am
Tried dimkr suggestion but get the following:
Code: Select all
<snip>
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libx11-6 : Breaks: libx11-6:i386 (!= 2:1.8.4-2) but 2:1.8.4-2+deb12u1 is to be installed
libx11-6:i386 : Breaks: libx11-6 (!= 2:1.8.4-2+deb12u1) but 2:1.8.4-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
@Mercedes350se
apt install libx11-6:i386=2:1.8.4-2
will install the following packages to BW64:
gcc-12-base_12.2.0-14_i386.deb
libbsd0_0.11.7-2_i386.deb
libc6_2.36-9_i386.deb
libgcc-s1_12.2.0-14_i386.deb
libmd0_1.0.4-2_i386.deb
libx11-6_1.8.4-2+deb12u1_i386.deb
libxau6_1.0.9-1_i386.deb
libxcb1_1.15-1_i386.deb
libxdmcp6_1.1.2-3_i386.deb
However, some of the packages (as installed) are not usrmerged and may break the BW64 filesystem.
If you are interested, the following link provides a libx11-6_i386.pet which contains the above packages that are now adjusted (usrmerged) for compatibility with BW64.
http://smokey01.com/radky/puppy-bookwor ... 6_i386.pet
Beyond these basic compatibility libs, I have no plans to build a comprehensive retro-compatibility package to support legacy 32-bit applications.
Re: How to run 32-bit programs on this Pup?
Posted: Sun Jul 16, 2023 5:37 am
by dimkr
radky wrote: ↑Sat Jul 15, 2023 10:12 pm
However, some of the packages (as installed) are not usrmerged and may break the BW64 filesystem.
This doesn't matter, this apt
line will still work. Unlike PPM, apt follows the /usr symlinks when it installs packages, so no adjustment is needed.