This content has been marked as final. Show 7 replies
Please show what command you exactly use and what dirs content reqired packages
I did showed the command : pkgadd -d /dir/where/packages all
i guess this command works only with pkg extentions.....my packages are have this format: apache-2.4.3-sol10-sparc-local
Here the list of packages that I want to install:
apache-2.4.3-sol10-sparc-local gmp-4.2.1-sol10-sparc-local libtool-2.4.2-sol10-sparc-local readline-6.2-sol10-sparc-local
coreutils-8.19-sol10-sparc-local libgcc-3.4.6-sol10-sparc-local openldap-2.4.32-sol10-sparc-local sasl-2.1.25-sol10-sparc-local
db-4.7.25.NC-sol10-sparc-local libiconv-1.14-sol10-sparc-local openssl-1.0.1c-sol10-sparc-local sqlite-3.7.13-sol10-sparc-local
expat-2.0.1-sol10-sparc-local libintl-3.4.0-sol10-sparc-local pcre-8.31-sol10-sparc-local zlib-1.2.7-sol10-sparc-local
Edited by: ostendali on Oct 22, 2012 3:47 AM
pkgadd -d - used for install many packeges from one location.
location may be:
2. Separete file.
You have many files that contetns packages. You can't do it with one commands, or you should previos converst all packages to one file ( man pkgtrans).
You should use command:
pkgadd -d <path>/apache-2.4.3-sol10-sparc-local all
pkgadd -d <path>/gmp-4.2.1-sol10-sparc-local all
pkgadd -d <path>/libtool-2.4.2-sol10-sparc-local all
pkgadd -d <path>/ readline-6.2-sol10-sparc-local all
pkgadd -d <path>/coreutils-8.19-sol10-sparc-local all
pkgadd -d <path>/libgcc-3.4.6-sol10-sparc-local all
pkgadd -d <path>/openldap-2.4.32-sol10-sparc-local all
pkgadd -d <path>/sasl-2.1.25-sol10-sparc-local all
pkgadd -d <path>/db-4.7.25.NC-sol10-sparc-local all
pkgadd -d <path>/libiconv-1.14-sol10-sparc-local all
pkgadd -d <path>/openssl-1.0.1c-sol10-sparc-local all
pkgadd -d <path>/sqlite-3.7.13-sol10-sparc-local all
pkgadd -d <path>/expat-2.0.1-sol10-sparc-local all
pkgadd -d <path>/libintl-3.4.0-sol10-sparc-local all
pkgadd -d <path>/pcre-8.31-sol10-sparc-local all
pkgadd -d <path>/zlib-1.2.7-sol10-sparc-local all
Edited by: Nik on 22.10.2012 4:06
Thanks for your quick reply, although I did tried those options before....but here another try:
pkgadd -d <path>/expat-2.0.1-sol10-sparc-local libintl-3.4.0-sol10-sparc-local pcre-8.31-sol10-sparc-local zlib-1.2.7-sol10-sparc-local all
pkgadd: ERROR: no packages were found in </var/tmp/dstreAAA3Ea4ZX>
I did tried both with path and without path, by moving into the directory where the packages are....no joy...
I see you've corrected....
well in that way it is obviously works....no problem with single package installation....
I was looking for something to avoid to install 1 by 1 every single package...stuff like yum and apt-get....because I have several servers to do this work on...that is why...
Thanks a lot!
hi if you are looking for yum thing in soalris
download tool called pkgutil
install the pkgutil,it will install in /opt/csw/bin
then if u are using proxy..first by pass it
and u can run pkkgutil -i pkgname (to install)
pkgutil -d pkgname (to downlaod it will copy the files to /var/opt/csw/pkgutil/packages/)
and next move tehse packages to all the servers and use pkgutil -i pkgname
any issues let me know..i hope this will help
-d - show package's location for pkgadd.
You can install many packges with one pkgadd but from one location.
In case you prefer use one command you should use pkgtrans to transfer all packages to one directory and then combine one file with all packages.