Package management
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 02 Jun 2016 17:51:06 +0300
changeset 1985 d7849108e84d
parent 1984 28628fedc978
child 1986 1713fff87e6f
Package management
solaris.rst
--- a/solaris.rst	Thu Jun 02 17:31:32 2016 +0300
+++ b/solaris.rst	Thu Jun 02 17:51:06 2016 +0300
@@ -6,19 +6,6 @@
 .. contents::
    :local:
 
-Free software for Solaris
-=========================
-
-  http://www.opencsw.org/
-                free, volunteer effort, to provide quality downloadable binary
-                packages for the currently fully supported versions of Sun
-                Solaris
-  http://sunfreeware.com/
-                Solaris Freeware Project
-  http://www.blastwave.org/
-                The "Blastwave Software Stack" is a commercial software service
-                for Solaris x86 and Solaris Sparc users
-
 Add new user
 ============
 ::
@@ -91,3 +78,60 @@
   $ /usr/sbin/umount /mnt
   $ /usr/sbin/mount -F hsfs -o ro /dev/lofi/1 /mnt
   $ cd /mnt
+
+Package management
+==================
+
+List installed packages::
+
+  $ pkg list
+
+Show package info::
+
+  $ pkg info diagnostic/tcpdump
+
+Search for keyword in installed packages descriptions::
+
+  $ pkg search -l editor
+
+Show package content::
+
+  $ pkg contents diagnostic/tcpdump
+
+Show installation history::
+
+  $ pkg history
+
+Check all packages integrity::
+
+  $ pkg verify
+
+List enabled package sources::
+
+  $ pkg publisher
+
+Check package status and update date of official package repository (Oracal
+Portal)::
+
+  $ pkgrepo info -s http://pkg.oracle.com/solaris/release/
+
+Install package::
+
+  $ pkg uninstall diagnostic/tcpdump
+
+Uninstall package::
+
+  $ pkg uninstall diagnostic/tcpdump
+
+Free software for Solaris
+=========================
+
+  http://www.opencsw.org/
+                free, volunteer effort, to provide quality downloadable binary
+                packages for the currently fully supported versions of Sun
+                Solaris
+  http://sunfreeware.com/
+                Solaris Freeware Project
+  http://www.blastwave.org/
+                The "Blastwave Software Stack" is a commercial software service
+                for Solaris x86 and Solaris Sparc users