Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

OpenSolaris 2008.11 Image Packaging System Guide
Previous Next

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.

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire