LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Question about installpkg (https://www.linuxquestions.org/questions/slackware-14/question-about-installpkg-581547/)

jmdlcar 09-01-2007 06:58 PM

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?

dennisk 09-01-2007 07:32 PM

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

T3slider 09-02-2007 09:26 PM

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.

AtomicAmish 09-02-2007 09:34 PM

Quote:

Originally Posted by jmdlcar (Post 2878163)
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.

onebuck 09-03-2007 07:17 AM

Quote:

Originally Posted by jmdlcar (Post 2878163)
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.

SCerovec 09-03-2007 08:08 AM

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... :(

onebuck 09-03-2007 09:50 AM

Quote:

Originally Posted by SCerovec (Post 2879646)
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.

SCerovec 09-03-2007 10:33 AM

http://www.slackbasics.org/html/pkgm...gmgmt-tagfiles
that's the link :D
Thanks onebuck :)


All times are GMT -5. The time now is 04:19 AM.