The Content Retrieval Utility pkgrecv(1)
The Image Packaging System content retrieval utility enables the user to download the
contents of a package from a server. The contents can be retrieved in
a format that enables the user to modify the package and republish
it using the pkgsend command.
The pkgrecv command is complementary to the pkgsend command.
The following options are supported with the pkgrecv command.
Table 3-8 pkgrecv Options
-s repo_url |
Specify the url/address
of the server from where you want receive the package contents. |
-k |
Keep the individual
package contents compressed. |
-d directory |
The directory where the package contents should be placed.
The default location is the current working directory. |
-n |
List the most recent versions of
the packages available at the specified server. The package contents are not downloaded. Example :
List the most recent versions of the packages available at test-server. # pkgrecv —s https://test-server —n
pkg:/[email protected],5.11-0.79:20080221T125720Z
pkg:/[email protected],5.11-0.79:20080221T123955Z
pkg:/[email protected],5.11-0.79:20080221T125728Z
pkg:/[email protected],5.11-0.79:20080221T125730Z Example : Receive the
SUNWlibC, SUNWfreetype, and SUNWlibm packages from the test server. # pkgrecv -s https://test
[email protected],5.11-0.79:20080221T125720Z
[email protected],5.11-0.79:20080221T123955Z
[email protected],5.11-0.79:20080221T125728Z
$ ls -d SUNW*
SUNWfreetype2 SUNWlibC SUNWlibm |
For further information, see the pkgrecv(1) man page.