How to go about installing 32 bit dependencies for PureOS


#1

Just recently received my librem15 and have been pleased so far. I’ve been using Linux for a few years now but am far from an expert aside from some basic command-line knowledge. Recently I have been trying to install a program that requires several 32-bit libraries to be installed:

                                       ia32-libs 	 	
                                       libc6:i386 	
                                       libx11-6:i386 	
                                       libxext6:i386 	
                                       libstdc++6:i386 	
                                       libexpat1:i386

Since these don’t seem to be in the purism repos what is the recommended way of obtaining and installing them. Sorry in advance for my ignorance but in the past it has always been a simple “apt-get install” with Ubuntu to install these libraries and I never had to delve deeper. I’m not exactly sure how I would get them from a Debian source while ensuring that everything is compatible.


#2

I did not double-check, but I think the situation is:

  • ia32-libs has been deprecated/removed years ago from Debian (7? 8?)
  • I think, PureOS does not provide i386 libs (not much need)
    So you would have to use old Debian libs. On

It’s also very likely that the PureOS default kernel does not support 32bit binaries.

I would suggest a VM. Either as a solution, or as a test bed, just so you don’t butcher your system :wink:


#3

Well after some unsucessful floundering aroud, I decided to put off using PureOS for now and was able to successfully install the libraries using an alternative Debian-based distro (based on the Stretch stable release). The libraries are required for the installation of MPLABX (which is Microchip’s IDE used for programming their microcontrollers) Some of the libraries have apparently changed compared to Microchips documentation but apt-get install informs of newer versions which are compatible and I was able to get them from the repository. Considering that MPLABX is very much a tool in use today and considering that other current Debian distros include the required libraries in their repositories, perhaps PureOS could include them as well someday. Not so much a complaint as a request and I appreciate all of the hard work that the Purism team puts into the Librem line and PureOS!Thanks Caliga for taking the time to respond.