skip to main |
skip to sidebar
Solaris 11: pkg basics
- Find out if the pkg exist
- pkg info gcc or pkg list | head
-
Install the pkg
- pkg search gcc
- pkg install gcc-45
- Additional info:
- http://docs.oracle.com/cd/E19963-01/html/820-6572/cmd_line.html
- Reset the publisher
- Say the publisher is set to http://ivy2.us.oracle.com and you need to set it to newURL.Remove the old URL with -G and add new one with -g option
- root@dat03:~# pkg publisher
- PUBLISHER TYPE STATUS P LOCATION
- solaris origin online F http://ivy2.us.oracle.com/support/sru/
- pkg set-publisher -G "*" -g http://ipkg.us.oracle.com/solaris12/dev/ solaris
- root@dat03:~# pkg publisher
- PUBLISHER TYPE STATUS P LOCATION
- solaris origin online F http://ipkg.us.oracle.com/solaris12/dev/
No comments:
Post a Comment