05-27-2010
One way you could do it is to write a for loop. Assuming you have a list of package names in a file:
for pkg in `cat pkglist`; do
mypkgmanager [opts] $pkg
done
Alternatively, just specify the package names separated by spaces without back ticks instead of cat pkglist.
10 More Discussions You Might Find Interesting
1. Solaris
I have installed the locale package for en_GB and if i do a locale -a (after reboot) it will display:
en_GB
en_GB.ISO8859-1
en_GB.ISO8859-15
en_GB.ISO8859-15@euro
(short version)
and i get this when typing only 'locale':
# locale
LANG=en_GB
LC_CTYPE="C"
LC_NUMERIC=C
LC_TIME="C"... (2 Replies)
Discussion started by: xqtor
2 Replies
2. Linux
Hi all,
I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies
3. Ubuntu
Hi
I have dual operating system i.e Win XP and KUBUNTU. Now my windows XP is corrupted and i want to reinstall Win XP. So i just want to know Shall i have to reinstall Linux also or i can only reinstall win xp without affecting linux installation.
Thanks
Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies
4. Slackware
Hi!
Let me introduce a project for find and download Slackware packages and browse Slackware repositories.
The site provides following features:
* Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies
5. Emergency UNIX and Linux Support
Hi there
I'm having trouble with a remote Red Hat server. We are busy with an Oracle 11g installation on this box and going through the list of required packages, etc.
The installation required elfutils-libelf-devel-0.148. When I try to install that I get the following error;
rpm -i... (6 Replies)
Discussion started by: notreallyhere
6 Replies
6. UNIX for Dummies Questions & Answers
Hi, I have mounted the Ubuntu server edition 10.10 ISO on my server under a directory media/servercd. I would like to install some services from this. I edited the sources.list file to say:
deb file:/media/servercd maverick main restricted
and it's properly mounted but when I try... (1 Reply)
Discussion started by: shadowcat
1 Replies
7. Red Hat
Hi guys, I am trying to install some packages for my oracle 11g r2 installation, the below error shows up when I try below:
warning: glibc-devel-2.5-24.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
glibc-headers is needed by... (8 Replies)
Discussion started by: messi777
8 Replies
8. Solaris
I want to install EMCpower (EMC Powerpath package) in Solaris 11. At most of the places, I can see procedure to install packages which comes with repository.
This is third party tool, I have downloaded it to /var/tmp. How should I install it ?
root@orapdps11 # pkg publisher
PUBLISHER ... (4 Replies)
Discussion started by: solaris_1977
4 Replies
9. Red Hat
hi,
I wants to customize the Linux packages after installting the Linux OS...
I am not able to install the packages packages in GUI mode System-> Administration->add/remove software.i want to install some desktop and dabase related packages how do i install those packages...
I use RHEL6.2... (1 Reply)
Discussion started by: Rahulne25
1 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am working in terminal on a Mac OS X 10.9.2. I need to install a series of bioinformatics tools and packages (currently I want to install fastq-tools but downstream I'll need other such as samtools, bwa etc etc.) and will eventually have to be able to do this not only on my mac but also... (3 Replies)
Discussion started by: jullee
3 Replies
LEARN ABOUT MOJAVE
pkg::create
pkg::create(n) Tcl Built-In Commands pkg::create(n)
__________________________________________________________________________________________________________________________________________________
NAME
pkg::create - Construct an appropriate 'package ifneeded' command for a given package specification
SYNOPSIS
::pkg::create -name packageName -version packageVersion ?-load filespec? ... ?-source filespec? ...
_________________________________________________________________
DESCRIPTION
::pkg::create is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate package ifneeded com-
mand for a given package specification. It can be used to construct a pkgIndex.tcl file for use with the package mechanism.
OPTIONS
The parameters supported are:
-name packageName
This parameter specifies the name of the package. It is required.
-version packageVersion
This parameter specifies the version of the package. It is required.
-load filespec
This parameter specifies a binary library that must be loaded with the load command. filespec is a list with two elements. The
first element is the name of the file to load. The second, optional element is a list of commands supplied by loading that file.
If the list of procedures is empty or omitted, ::pkg::create will set up the library for direct loading (see pkg_mkIndex). Any num-
ber of -load parameters may be specified.
-source filespec
This parameter is similar to the -load parameter, except that it specifies a Tcl library that must be loaded with the source com-
mand. Any number of -source parameters may be specified.
At least one -load or -source parameter must be given.
SEE ALSO
package(n)
KEYWORDS
auto-load, index, package, version
Tcl 8.3 pkg::create(n)