LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-23-2020, 10:05 PM   #1
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
SlackBuilds vs packages vs binaries vs AppImages, etc.


I have been using Slackware-64-current as my daily driver for a few years and it serves me very well.

I use a mix of the bundled software that is part of Slackware and various tools that I add to it. These range from modules that drive devices to complex software. I use a lot of SlackBuilds but some things like VLC and LibreOffice and Inkscape require too much for me to bear so I use the packages graciously provided by yeomen like AlienBob, Ponce, and others. I have some converted .rpm and .deb also. Some of those work better than others. Now I find myself increasingly making use of AppImages and binaries rather than the "non-portable" installed packages and SlackBuilds. Probably some of the need for that is that I am running -current which sometimes breaks the slightly older (but stable!) versions found in the packages and SlackBuilds. but I find that I am often getting by better with the AppImages and binaries than with installed packages. The upside of portable versions is that I am up and going quickly.

I am wondering what is the downside of using portable versions of tools rather than installed versions?

Last edited by Regnad Kcin; 09-23-2020 at 10:13 PM.
 
Old 09-23-2020, 11:58 PM   #2
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
I am a little curious to hear which AppImages you use? I use one for QBittorrent which has never given me trouble and I would certainly be ready to use more...
 
Old 09-24-2020, 01:06 AM   #3
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by Regnad Kcin View Post
I have been using Slackware-64-current as my daily driver for a few years and it serves me very well.

I use a mix of the bundled software that is part of Slackware and various tools that I add to it. These range from modules that drive devices to complex software. I use a lot of SlackBuilds but some things like VLC and LibreOffice and Inkscape require too much for me to bear so I use the packages graciously provided by yeomen like AlienBob, Ponce, and others. I have some converted .rpm and .deb also. Some of those work better than others. Now I find myself increasingly making use of AppImages and binaries rather than the "non-portable" installed packages and SlackBuilds. Probably some of the need for that is that I am running -current which sometimes breaks the slightly older (but stable!) versions found in the packages and SlackBuilds. but I find that I am often getting by better with the AppImages and binaries than with installed packages. The upside of portable versions is that I am up and going quickly.

I am wondering what is the downside of using portable versions of tools rather than installed versions?
The normal downsides I guess. The portable stuff comes with its own libs. Which mostly means extra diskspace is being used, and those libs can be outdated. Also mixing packages (portable,slackbuilds,repo) means extra maintenance. Other that that, not much. That's a bit of the downside of Slackware, the repo with binaries isn't huge. In that aspect Debian comes with a bigger repo, but obviously with its downsides as well.

Being pragmatic is the most sensible thing to do. A home PC is there to use as a tool, and if portable applications expand your toolset then make use of that. I like Appimages a lot for software that cannot be easily installed/compiled otherwise.
 
Old 09-24-2020, 02:39 AM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by Regnad Kcin View Post
I am wondering what is the downside of using portable versions of tools rather than installed versions?
Size and efficiency. But it doesn't really matter any more does it? I've got an accounting package in an AppImage, which is 91Mb. The same thing compiled dynamically would probably come in at less than 5% of the size... but who cares? When you're talking in tens of megabytes, I think portability is more important. Drop it in and it works. No mess, no fuss and no headaches.
Quote:
Originally Posted by deNiro View Post
Being pragmatic is the most sensible thing to do. A home PC is there to use as a tool, and if portable applications expand your toolset then make use of that.
This.
 
1 members found this post helpful.
Old 09-24-2020, 12:50 PM   #5
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Regnad Kcin View Post
I am wondering what is the downside of using portable versions of tools rather than installed versions?
I use Flatpaks and honestly it's changed the game. There are a few slackbuilds that either have sprawling dependencies, long builds, or are simply not available, and it's just an easy solution. It allows me to use Slackware more than I would otherwise.

I haven't encountered any serious drawbacks.

A minor hiccup came using a plugin with LibreOffice (since the default plugins folder is in a different place), but the solution was easily found on StackExchange. That was about it.
 
2 members found this post helpful.
Old 09-24-2020, 05:48 PM   #6
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
I use unprivileged containers. My host user uid is not mapped inside the container so my uid 1000 on the host is the same inside the container and has access to my X socket. I also add acls for the devices in /dev/{snd,drm} to allow the container uid 1000 to use them. That way the container apps run "natively" without the need of huge faltpak runtimes.

Right now my home desktop is a minimal CRUX install with sway window manager, ubuntu and alpine containers and win10 qemu vm.



Cheers
 
1 members found this post helpful.
Old 09-24-2020, 06:04 PM   #7
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
KISS really does work. In the long run you have all the control.
 
1 members found this post helpful.
Old 09-24-2020, 11:04 PM   #8
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
@andrew.46 - I have only kdenlive as a AppImage presently. obs-studio, seaview (nucleic acid sequence analysis), blender, inkscape, and zoom are there as binaries. Seaview can be installed easily enough but the boxed whole package saves much time. I had R-studio as a binary at one point. I think I have some others but those are the main ones now. Some of the SlackBuilds just repackage the binaries, so I wonder what is the point.

LibreOffice keeps developing little glitches particularly in Impress
(my main reason for using LO)
I have tried the AppImage for LibreOffice and it adds new problems.
I have not tried the flatpak.

@lovemeslk
I am not sure which method is being defended as KISS.
I am always happy when stuff works.
Simple is simple if you know where the key is kept.
It seems like it must be some sort of magic until
someone shows you the little chromium switch.

My home life and my work life have never been actually separate.
I have heard of people who would choose to divide them but
I never grasped the concept actually, so I don't understand
the "home PC" argument or what diff it should make.
 
Old 09-25-2020, 02:02 AM   #9
Linpassion
Member
 
Registered: Feb 2020
Posts: 156

Rep: Reputation: Disabled
I try AppImages than I read something on web. His power: all needed files are included.
My test on AppImage (Pencyl2D & SynfigStudio): the first not works fine...window program go out the screen; second work nice, but when I'll find a good option I'll remove it.
So I prefer bin file because I think is optimized and fast than AppImage.
Read this article

https://www.techrepublic.com/article...ages-on-linux/
 
Old 09-26-2020, 04:07 AM   #10
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
I've used AppImages and they seem pretty fine; they're also easy to break out into a more permanent install via the --appimage-extract option and convert it into a Slackware package if necessary, for example my client for Outline VPN.

I've also used binary releases from Rust and Go CLI utilities like docker-ce, kubectl or direnv; they're easy enough to drop in {~,/usr/local}/bin in a hurry and git-r-done. There are also heavier omnibus packages like chef-workstation/chefdk (which comes with their own full tree installed in /opt) that are also easy enough to just repack into a Slackware package (either normally or with slacktrack.)
 
Old 09-29-2020, 04:47 PM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Regnad Kcin View Post
Some of the SlackBuilds just repackage the binaries, so I wonder what is the point.
I think the general belief among a lot of SBo maintainers is that compiled is better. There are some obvious benefits to compiling like ensuring all optional features are enabled if desired and linking to system libraries (saving overall space, even if minimal). And I'd say the vast majority of SlackBuilds are indeed compiling. But sometimes a project only provides binaries (like closed source projects) or the compile can be extremely difficult (like libreoffice) that offering a repackaging is nice.

There is no set standard from SBo admins on which method a maintainer should use, so it comes down to the preference of the maintainer.

Quote:
Originally Posted by Regnad Kcin View Post
@lovemeslk
I am not sure which method is being defended as KISS.
I think that is different for each person. For some, KISS means running Ubuntu, Debian, RedHat, etc. For others, it means compiling everything to ensure it is compiled against system libraries. Others might go for binary packages because they don't want to deal with the dependencies when compiling the packages on their own.

You should do whatever you feel is best for you and your system. That's one of the beauties of Slackware. It gives you a good base for you to start with and then you tailor the system to what you want it to be. If you like AppImages, stick with them and don't let anybody tell you you're wrong.
 
1 members found this post helpful.
  


Reply



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
Unable to open execute binary files AppImages under Debian 7 ApolloPT Linux - General 3 04-24-2018 11:49 AM
Where are old files to cleanup when using appimages? linustalman Linux - Software 3 01-24-2018 02:09 PM
[SOLVED] What location(s) are the config files for AppImages stored? linustalman Linux - Software 6 01-10-2018 01:25 PM
AppImages on Slackware? WiseDraco Slackware 7 12-29-2017 06:40 AM

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

All times are GMT -5. The time now is 02:04 PM.

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