LinuxQuestions.org
Help answer threads with 0 replies.
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 08-25-2011, 10:54 AM   #1
daniely001
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Rep: Reputation: Disabled
A question about updating packages in Slackware


I want to install some extra packages in Slackware (some of them are in Slackbuild.org, some of them not), since they are not officially supported by Slackware and there is no repository, how is the update procedure? I mean if I use slackpkg those packages won't update, will they? I've got to download updates for them separately?
 
Old 08-25-2011, 10:58 AM   #2
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Antix, Slackware, NetBSD
Posts: 88

Rep: Reputation: 35
You can use sbopkg to update and install packages from slackbuild.org. It's a good idea to keep an eye on the changelogs of both Slackware and Slackbuilds.org

Last edited by Hannes Worst; 08-25-2011 at 10:59 AM.
 
Old 08-25-2011, 11:07 AM   #3
daniely001
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
@Hannes Worst:
Thanks, but what about those packages which are not in slackbuild.org? For example kvpnc.
 
Old 08-25-2011, 11:24 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,411
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
Those packages you have to update yourself.
 
Old 08-25-2011, 11:31 AM   #5
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Antix, Slackware, NetBSD
Posts: 88

Rep: Reputation: 35
I write my own slackbuild-scripts for all the software that doesn't come from slackbuids or Slackwares own repository, and install them with pkgtool (or installpkg). That way it becomes a part of the total packagesystem in pkgtool. In this way I get a total view on all the packages installed, and their version numbers. And than I have to keep track of the versions. That is an activity I have to do for myself from time to time. It's not automated.
That's the way I do it, but as much Slackware-users there are, as much approaches there exists to these matters. Slackware keeps you active. I bet there are others who could tell you about their approaches. There also used to be something like Slackpack packagemanager, (for managing packages from sources I believe) but I don't know if it still exists. I never used it.

Last edited by Hannes Worst; 08-25-2011 at 05:05 PM.
 
1 members found this post helpful.
Old 08-25-2011, 11:39 AM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,007

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
With rare exceptions it's a good idea to use SlackBuilds.org if at all possible for installing extra software that you find useful. Where a SlackBuilds.org package is not available, however, it's a real good idea to use src2pkg (from http://distro.ibiblio.org/pub/linux/...nload/src2pkg/) to build installable and upgradeable packages from source code you get somewhere or other (the sorts of things that are package.tar.gz). In both cases, it's a simple matter to use installpkg for initial installation followed by upgradepkg when an update becomes available (and, of course, sbopkg).

The only "rare exception" I can think of is, oh, VirtualBox; it's easiest (and the least trouble) to simply install with the provided vitrualboxk...run. You also update with the same method (the "runner" uninstalls a previous version and installs the new version for you).

Hope this helps some.
 
Old 08-25-2011, 02:03 PM   #7
octoberblu3
Member
 
Registered: Oct 2005
Distribution: Slackware64-current
Posts: 67

Rep: Reputation: 22
Start with the slackbuilds website. Using sbopkg is an easy way to keep those packages up to date. You can either add in a *SBo line to /etc/slackpkg/blacklist or list each package you install to keep slackpkg from removing them with 'slackpkg clean-system'

For software that SBo doesn't have, I typically try to create a slackbuild script by copying a script from a similar software package and modifying it to work with the correct source name, version, configure options, etc. This way you can install and then later remove the software using installpkg or removepkg. If you compile and run 'make install', you will have to keep the build tree around to run 'make uninstall' or hunt down files to remove them later. Don't forget to blacklist any self made packages from slackpkg as well.
 
1 members found this post helpful.
Old 08-25-2011, 06:30 PM   #8
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 390

Rep: Reputation: 150Reputation: 150
Quote:
Originally Posted by octoberblu3 View Post
For software that SBo doesn't have, I typically try to create a slackbuild script by copying a script from a similar software package and modifying it to work with the correct source name, version, configure options, etc.
In this situation I always use slackbuilds.org templates to create my own packages. Then I modify them as octoberblu3 describes.
 
  


Reply

Tags
packages, update


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
updating existing packages in slackware vitalstrike82 Slackware 14 05-02-2009 02:31 PM
Question about packages updating in Lenny Cage47 Debian 17 05-18-2008 04:25 PM
Updating Slackware Packages javamdk Slackware 11 03-18-2005 07:37 AM
updating packages question niteshadw Mandriva 4 05-20-2004 04:52 PM
Updating packages-slack-9.0 question BearClaw Slackware 7 06-20-2003 06:19 PM


All times are GMT -5. The time now is 07:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration