LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-08-2017, 01:51 AM   #1
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
AppImages on Slackware?


Hello!
in last times see there and there info about an AppImages - i suppose, that was something similar MacOS application models, but for linux?

if yes, it seem to be great.

there is solution to run these appimages in slackware?
say, krita, distribute mainly in appimage way...
 
Old 09-08-2017, 05:41 AM   #2
Qury
Member
 
Registered: Feb 2004
Location: Naas,IE
Distribution: Slackware
Posts: 212

Rep: Reputation: 184Reputation: 184
hi
yes, most of the AppImages i found work great on slackware.
some of them would require installing krb5 package from slackbilds though
and i found some that are completely unusable
 
2 members found this post helpful.
Old 09-08-2017, 05:47 AM   #3
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by Qury View Post
hi
yes, most of the AppImages i found work great on slackware.
some of them would require installing krb5 package from slackbilds though
and i found some that are completely unusable
there are no strictly defined standart, like as virtual machines and so on?

in what way appimages do "install" and run?
 
Old 09-08-2017, 08:20 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
as far as I know appimage is a standalone executable and able to run almost everywhere. but would be nice to know which appimage is that?
 
Old 09-08-2017, 12:42 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by WiseDraco View Post
in what way appimages do "install" and run?
You make them executable and you execute them. You don't install them.

Last edited by dugan; 09-08-2017 at 12:44 PM.
 
Old 09-08-2017, 01:41 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by pan64 View Post
as far as I know appimage is a standalone executable and able to run almost everywhere. but would be nice to know which appimage is that?
actually I think this appimages are also linked to what this developers consider as "standard" libraries as they're built on some major distros.

I'll make an example with krita

https://krita.org/en/item/krita-3-2-1-released/

Code:
$ file krita-3.2.1-x86_64.appimage 
krita-3.2.1-x86_64.appimage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=c5344494cbd3b9dfd127f4bd29ca45d33b625deb, stripped
$ chmod +x krita-3.2.1-x86_64.appimage
$ ./krita-3.2.1-x86_64.appimage 
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: minimal, offscreen, xcb.

Reinstalling the application may fix this problem.
Aborted
note the "dynamically linked" above and the output of the available qt5 plugins.
qt5-5.7.1 (built from SBo) is working perfectly fine here with lots of qt5 apps (still built from SBo), btw.

scribus' appimage needs kerberos
Code:
$ file scribus-1.5.3-linux-x86_64.AppImage 
scribus-1.5.3-linux-x86_64.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=81e7fe35d026644c77ac4b4e0f870cdcfe5cfd74, stripped
$ chmod +x scribus-1.5.3-linux-x86_64.AppImage
$ ./scribus-1.5.3-linux-x86_64.AppImage 
./scribus-1.5.3-linux-x86_64.AppImage: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory

Last edited by ponce; 09-08-2017 at 01:47 PM.
 
1 members found this post helpful.
Old 09-08-2017, 01:57 PM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Just tell the developers to include those libs in the AppImage. I had to ask one to include selinux in their AppImage so that it would work on Slackware.

https://strandgames.com/community/di...ase-wont-start
 
1 members found this post helpful.
Old 12-29-2017, 06:40 AM   #8
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by ponce View Post
I'll make an example with krita

$ ./krita-3.2.1-x86_64.appimage
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: minimal, offscreen, xcb.

Reinstalling the application may fix this problem.
I found a solution for Krita (specifically Krita).
If you want to use their (recent) appimages, and get this error, do the following:
(This assumes a 64 bit system)

Code:
cd /location/of/Krita-Version.appimage
mkdir build
cd build
bsdtar xfp ../Krita-Version.appimage
rm ./usr/lib/libz.so.1
cd ../
wget "https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" ; chmod a+x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage ./build/
This should repackage the extracted appimage that now lacks the zlib library, which seems to be the main culprit due to libpng incompatibilities.

For example, on my machine (Slackware 64bit, 14.2 current, multilib):
Code:
 
QT_DEBUG_PLUGINS=1 ./krita-3.3.2-x86_64.appimage


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_3iLSnW/usr/bin/platforms" ...
loaded library "/tmp/.mount_3iLSnW/usr/bin/plugins/platforms/libqxcb.so"
QLibraryPrivate::loadPlugin failed on "/tmp/.mount_3iLSnW/usr/bin/plugins/platforms/libqxcb.so" : "Cannot load library /tmp/.mount_3iLSnW/usr/bin/plugins/platforms/libqxcb.so: 
(./lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib64/libpng16.so.16))"
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: minimal, offscreen, xcb.

Reinstalling the application may fix this problem.
This clued me in to delete the library from the appimage and repackage it.
That did the trick for me, it might just do the trick for you, too.

P.S.:
Ponce, it seems that some of your slackware packages on ponce.cc are in italian :P like ffmpeg and mplayer.
It's pretty easy to infer even without speaking the language what things mean, but maybe that was not intended by you.

Last edited by Geist; 12-29-2017 at 06:43 AM.
 
2 members found this post helpful.
  


Reply

Tags
appimages, slackware



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



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

All times are GMT -5. The time now is 10:46 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
Open Source Consulting | Domain Registration