LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-11-2018, 02:01 PM   #1
MisterL
LQ Newbie
 
Registered: Mar 2018
Location: Germany
Distribution: Slackware
Posts: 13

Rep: Reputation: 7
Package interoperability Rpi2 Rpi3


Hey!

I've tried to install Slackware ARM -current to my Raspberry Pi 3 and that worked fine. Thanks to the SARPi-Team
I tried to compile something, I think atop, from SBo, that also went well.

I've got a Raspberry Pi 2, too, so before I install Slackware ARM on it:
can I use Packages built on the RPi3 on the model 2 as well? Or are there too many differences in the architecture, so this wouldn't work and packages would have to be build twice?
Or would that depend on the software, so like VLC won't work, but nginx will? (Just random examples)

Any hints would be appreciated
 
Old 03-12-2018, 07:59 AM   #2
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,080

Rep: Reputation: 156Reputation: 156
I think that as long as you don't mix the hard vs soft float packages, you *should* be okay. The 14.2 packages are soft float, while -current are being built using hard float. Hope this helps.
 
2 members found this post helpful.
Old 03-13-2018, 01:57 PM   #3
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 234

Rep: Reputation: 69
Quote:
Originally Posted by MisterL View Post
Hey!

I've tried to install Slackware ARM -current to my Raspberry Pi 3 and that worked fine. Thanks to the SARPi-Team
I tried to compile something, I think atop, from SBo, that also went well.

I've got a Raspberry Pi 2, too, so before I install Slackware ARM on it:
can I use Packages built on the RPi3 on the model 2 as well? Or are there too many differences in the architecture, so this wouldn't work and packages would have to be build twice?
Or would that depend on the software, so like VLC won't work, but nginx will? (Just random examples)

Any hints would be appreciated
Hi MisterL!

Glad you managed to install Slackware ARM without any issues.

As stormtracknole correctly advised - don't install Slackware ARM 14.2 and then try to install -current packages onto it, or vice-versa. 14.2 is soft float and -current is hard float. They have different ABIs which are not compatible. Stick to the hard or soft float versions exclusively (depending on which you've installed) and all will be fine. It doesn't matter whether you install the same package on a RPi2 or RPi3, it's the hard/soft float which is important.

When you're building packages (SBo for example) if you build on the system you're intending to install them on then you'll have nothing to worry about. It's only when you're building (for example) on Slackware ARM -current when the package is intended for 14.2 that you have to start figuring out compiler make options (CFLAGS) and such.

<edit> Sometimes you'll find a SBo package that's not been optimised for ARM architecture. This can be because the package is x86 specific and has no use on ARM. Or because nobody has yet configured the SlackBuild script for ARM architecture. If it's the latter then it's easy to achieve.

Last edited by Penthux; 03-13-2018 at 02:10 PM. Reason: edit
 
2 members found this post helpful.
Old 03-14-2018, 04:36 PM   #4
MisterL
LQ Newbie
 
Registered: Mar 2018
Location: Germany
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 7
Thanks for your replies, stormtracknole and Penthux!

Yep, I'm aware of the hardfloat/softfloat incompatabilites. Since future versions will use hardfloat (well, that's how I understand the sarpi-docs) I decided to try -current first. And to start over on 14.2 if neccessary.

I'll try to try on the weekend and report back.

Quote:
Originally Posted by Penthux View Post
Glad you managed to install Slackware ARM without any issues.
I ran into a gpg key issue with slackpkg, actually. I think it was solved by adding the correct GPG key to the keyring, but I can't reproduce it anymore. This post https://www.linuxquestions.org/quest...3/#post5695196 was helpful I think.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compile omxplayer on rpi2 slackware qjyao Slackware - ARM 2 12-25-2015 11:45 PM
LXer: How-to: headless radio player on Raspberry Pi 2 and SolydX RPi2 LXer Syndicated Linux News 0 11-06-2015 05:45 AM
[SOLVED] Updating RPI2 Firmware when OPENELEC won't boot tombelcher7 Linux - Software 1 07-21-2015 04:22 PM
MYTHTVBACKEND on RPI2 tombelcher7 Linux - Software 5 07-07-2015 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration