LinuxQuestions.org
Review your favorite Linux distribution.
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-01-2007, 06:58 PM   #1
jmdlcar
Member
 
Registered: Nov 2003
Distribution: Porteus 3.2 Mate (Slackware)
Posts: 141

Rep: Reputation: 15
Question about installpkg


Is there away to install a list of packages besides of typing "installpkg *.tgz" can I use a packagelist like installpkg "packagelist" *tgz?
 
Old 09-01-2007, 07:32 PM   #2
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Slackpkg will do that.

Quote:
slackpkg <command> {PATTERN|FILE}
PATTERN can be a package name, or just part of package name. It can be a software series, too (like kde, a, ap, ...). FILE is a file with a list of PATTERNs inside, either one per line or several per line with spaces as separators.
Slackpkg can automate updates was well. It's in the Extras directory on the CD.

If all the packages you want to install are in one directory you could use pkgtool also.

dennisk

Last edited by dennisk; 09-01-2007 at 07:36 PM.
 
Old 09-02-2007, 09:26 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Couldn't you just do the following using installpkg:
Code:
$ for i in `cat packagelist`; do installpkg $i; done
where packagelist contains the filenames of the packages you wish to install (including the .tgz extension), one package per line? If you want to omit the .tgz extension you could do the following:
Code:
$ for i in `cat packagelist`; do installpkg $i.tgz; done
You could also specify a directory containing the packages etc. using similar modifications.
 
Old 09-02-2007, 09:34 PM   #4
AtomicAmish
Member
 
Registered: Dec 2005
Location: East coast, USA
Distribution: Slackware 12.0
Posts: 139

Rep: Reputation: 15
Quote:
Originally Posted by jmdlcar View Post
Is there away to install a list of packages besides of typing "installpkg *.tgz" can I use a packagelist like installpkg "packagelist" *tgz?
If you use KDE, Kpackage also gives a list of installed packages.
 
Old 09-03-2007, 07:17 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Quote:
Originally Posted by jmdlcar View Post
Is there away to install a list of packages besides of typing "installpkg *.tgz" can I use a packagelist like installpkg "packagelist" *tgz?
Hi,

If I understand your question then tagfiles would be the way for you use the installpkg with a list of packages.

The package management reference is for 10.2 but still applicable.
 
Old 09-03-2007, 08:08 AM   #6
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,470
Blog Entries: 2

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
Somewhere is a howto to make tagfiles the Slackware is useing on the iso media. This text is may be on the root of the iso media?
I read it sometimes but can't remember where...
 
Old 09-03-2007, 09:50 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Quote:
Originally Posted by SCerovec View Post
Somewhere is a howto to make tagfiles the Slackware is useing on the iso media. This text is may be on the root of the iso media?
I read it sometimes but can't remember where...
Hi,

The link tagfiles is a section in the the package management howto for 10.2.
 
Old 09-03-2007, 10:33 AM   #8
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,470
Blog Entries: 2

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
http://www.slackbasics.org/html/pkgm...gmgmt-tagfiles
that's the link
Thanks onebuck

Last edited by SCerovec; 09-03-2007 at 10:35 AM. Reason: add: thx :)
 
  


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
installpkg demonfist Slackware 1 06-30-2006 05:44 AM
installpkg va3dxs Slackware 10 04-11-2006 07:11 PM
help with installpkg mep]-[isto Slackware 3 11-19-2003 02:27 PM
installpkg question JROCK1980 Slackware 5 11-13-2003 09:02 PM
Installpkg question BittaBrotha Slackware 3 05-28-2003 12:57 AM

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

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