solaris pkgrecv (updating packages solaris 11)

# pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /export/repoSolaris11 '*'
If you are going to be doing this update on a regular basis, you might want to use the PKG_SRC and PKG_DEST environment variables.

# export PKG_SRC=http://pkg.oracle.com/solaris/release/
# export PKG_DEST=/export/repoSolaris11
# pkgrecv '*'
After you have updated your repository, run the following command to catalog any new packages found in the repository and update all search indexes.

# pkgrepo -s /export/repoSolaris11 refresh
Initiating repository refresh.

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.