about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--core/package.html33
1 files changed, 19 insertions, 14 deletions
diff --git a/core/package.html b/core/package.html
index 45f4b0c..fcf583d 100644
--- a/core/package.html
+++ b/core/package.html
@@ -2,13 +2,13 @@
 <html dir="ltr" lang="en">
     <head>
         <meta charset='utf-8'>
-        <title>5. Package Management</title>
+        <title>2.2. Package Management</title>
     </head>
     <body>
 
-        <a href="index.html">Core Doc Index</a>
+        <a href="index.html">Core OS Index</a>
 
-        <h1>5. Package Management</h1>
+        <h1>2.2. Package Management</h1>
 
         <p>For more information read crux handbook Package management
         front-end:
@@ -50,15 +50,14 @@
             pkgmk(8)/pkgadd(8)</dd>
         </dl>
 
-
-        <p>Test configuration by runing prt-get as user installing
+        <p>Test configuration by runing prt-get as admin user installing
         ports that are related;</p>
 
         <pre>
         $ prt-get depinst prt-utils prt-get-bashcompletion
         </pre>
 
-        <h2 id="sysup">3.1. Update System</h2>
+        <h2 id="sysup">2.2.1. Update System</h2>
 
         <p>Before build software get latest version of port collections;</p>
 
@@ -76,19 +75,21 @@
         $ prt-get update binutils
         </pre>
 
-        <p>Rebuild any revision dependency;</p>
+        <p>Build and install updated versions of ports;</p>
 
         <pre>
-        $ prt-get update -fr $(revdep)
+        $ prt-get sysup
         </pre>
 
-        <p>Build and install updated versions of ports;</p>
+        <p>Rebuild any revision dependency;</p>
 
         <pre>
-        $ prt-get sysup
+        $ prt-get update -fr $(revdep)
         </pre>
 
-        <h2 id="depinst">3.2. Install port and dependencies</h2>
+        <h2 id="depinst">2.2.2. Install port and dependencies</h2>
+
+        <p>Installing using prt-get tool;</p>
 
         <pre>
         $ prt-get depinst git
@@ -101,12 +102,16 @@
         $ sudo -H -u pkgmk fakeroot pkgmk -d
         </pre>
 
-        <h3 id="ports">3.3. Ports collections</h3>
+        <pre>
+        $ sudo pkgadd /usr/ports/packages/git#2.9.3-1.pkg.tar.gz
+        </pre>
+
+        <h3 id="ports">2.2.3. Ports collections</h3>
 
         <p>Clone this documentation;</p>
 
         <pre>
-        $ git clone https://github.com/s1lvino/sysdoc.git
+        $ git clone https://github.com/s1lvino/c9-doc.git
         </pre>
 
         <p>Install sysdoc port collection;</p>
@@ -162,7 +167,7 @@
         prt-get printf "%p %i %n %v\n" | grep "/usr/ports/contrib yes"
         </pre>
 
-        <a href="index.html">Systools Index</a>
+        <a href="index.html">Core OS Index</a>
         <p>This is part of the c9-doc Manual.
         Copyright (C) 2016
         Silvino Silva.