LinuxQuestions.org
Visit Jeremy's Blog.
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 06-22-2014, 02:53 PM   #1
holden87
Member
 
Registered: Jul 2012
Location: Slovenia
Distribution: Debian 9 GNOME
Posts: 55

Rep: Reputation: 9
Question About Application Updates in Slackware


Hi guys, one question.

I see the specific of Slackware is that it is very stable, has very long support, and it seamlessly allows application updates without sacrificing the system, like in many other distros. So technically, you could have a five year old Slackware system, and it will have reasonably updated apps? How does exactly Slackware achieve this? Is it just the dependency tracking issue, which then pans out to be a good thing?

Thankful in advance.
 
Old 06-22-2014, 03:09 PM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware (desktops), Void (thinkpad)
Posts: 7,430

Rep: Reputation: 3845Reputation: 3845Reputation: 3845Reputation: 3845Reputation: 3845Reputation: 3845Reputation: 3845Reputation: 3845Reputation: 3845Reputation: 3845Reputation: 3845
You need to use the slackpkg utility which ships with Slackware to apply security updates. Use an editor of your choice and navigate to /etc/slackpkg/mirrors
Uncomment one and only one mirror, that is, remove the # in front of the mirror. Save and exit. Issue the following commands in order to update your system.

Code:
# slackpkg update gpg
Code:
# slackpkg update
Code:
# slackpkg install-new
Code:
# slackpkg upgrade-all
If you upgrade your kernel during the patching process remember to run lilo.

Last edited by hitest; 06-22-2014 at 03:10 PM.
 
Old 06-22-2014, 03:15 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,255

Rep: Reputation: Disabled
Software updates are usually provided for stable releases only to fix security issues.

But you can upgrade applications yourself re-building Slackware packages against recent source tarballs, re-using build material provided in the /source directory of installation media, just putting the new source tarball in the relevant subdirectory and updating the VERSION parameter accordingly in the SlackBuild you'll find there. Your mileage may vary though, i.e. that could fail if the new version of the application requires dependencies more recent than the one shipped in your version of Slackware version. In that case you are on your own to upgrade the dependencies and check that won't break some other stuff.

So all considered, if it's a laptop or desktop and you want recent versions, it will probably be simpler to upgrade the whole distribution. On the other hand, if it's a server you probably often won't need to upgrade applications, but for security issues.

PS information about dependencies is not recorded in Slackware, but it is not very difficult to find out which package should be updated or added. For instance if during compilation you see a message complaining for some missing (or too old) shared library, let's call it <dep>, just issuing following command in case you made a full installation will probably find it:
Code:
grep <dep> /var/log/{packages,scripts}/*
. The Package Browser comes also handy.

Last edited by Didier Spaier; 06-22-2014 at 03:31 PM. Reason: PS added.
 
Old 06-22-2014, 03:22 PM   #4
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
It's achieved by installing a recent version of WINE and then installing the current Win32 binary package built from the developer webpage on top of it... just kidding.

Unless a Linux application is specifically built to run on a five years old Slackware release, you will run into issues. The reason for this is that the Linux software ecosystem never got the separation between "operating system", "middle ware" and "self-contained application software" right. Everything is inter-mixed up to the level, where some desktop window manager requires some specific init system and kernel version. There are no distinct layers using standardized interfaces between them. The latter is required to be able to seamlessly update applications without making changes to the operating system (like how it works on Linux-based Android). This is also where the whole dependency hell comes from (which doesn't exist on Android).

There is not much Slackware can do about this, other than providing the most commonly used middle ware via a full install in the most recent stable Slackware release. So most of the available applications (not provided by Slackware) will have their dependencies satisfied without the need of hunting them done separately.

Last edited by jtsn; 06-22-2014 at 04:10 PM.
 
  


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
CREATE A Qt application / shell script, that simply updates my facebook status. aarsh Linux - Software 2 06-02-2010 09:45 PM
FC6 updates - Another application is running ... Micro420 Fedora 13 09-18-2007 12:44 PM
LXer: Mozilla updates Sunbird calendar application LXer Syndicated Linux News 0 06-29-2007 07:31 AM
Getting Slackware Updates martyfelker Slackware 3 04-04-2007 10:44 PM
Updates to Slackware jtshaw Slackware 0 04-27-2003 04:26 PM

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

All times are GMT -5. The time now is 04:08 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