spk view doc/spk.en.html @ rev 135

Add spk-find, update doc
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 29 01:54:30 2014 +0100 (2014-03-29)
parents 8788606c40bb
children aded92d8f7bf
line source
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <title>Spk Documentation</title>
6 <link rel="stylesheet" type="text/css" href="../slitaz-doc.css" />
7 <script type="text/javascript" src="../slitaz-doc.js"></script>
8 </head>
9 <body>
11 <header>
12 <h1>Spk Documentation</h1>
13 </header>
15 <!-- Start content -->
16 <div id="content">
18 <h2>SliTaz Packages Toolset</h2>
20 <p>
21 Small alternative to TazPKG. Spk consists of small separate programs
22 for easier code maintainance and uses a shared library. Spk can handle
23 multiple packages on a cmdline as well as managing your own mirror.
24 </p>
26 <h3>Usage</h3>
27 <p>
28 All spk tools provide a small built-in help usage that you can display
29 with the command 'usage'. It also has some options to perform special
30 tasks on a package before executing a task or afterwards. To get help
31 and usage:
32 </p>
33 <pre>
34 # spk usage
35 # spk-add usage
36 </pre>
38 <h3>Packages info</h3>
39 <p>
40 To get the packages status and information:
41 </p>
42 <pre>
43 # spk busybox glib
44 </pre>
46 <h3>Add packages</h3>
47 <p>
48 Spk will handle dependencies. To install new packages simply use
49 'spk-add' or the --add option:
50 </p>
51 <pre>
52 # spk-add package1 package2
53 # spk package --add
54 </pre>
56 <h3>Remove packages</h3>
57 <p>
58 To remove packages simply:
59 </p>
60 <pre>
61 # spk-rm package1 package2 ...
62 </pre>
64 <h3>Packages update</h3>
65 <p>
66 To get the last list of packages and update your system you have
67 to use 'spk-up'. Before installing anything Spk will ask confirmation.
68 Spk lets you upgrade the full system at once (skipping blocked packages)
69 or you can also upgrade packages individually:
70 </p>
71 <pre>
72 # spk-up
73 # spk-up package1 package2 ...
74 </pre>
76 <h3>Find packages</h3>
77 <p>
78 The spk-find util with grep into a full packages list available on the
79 mirror:
80 </p>
81 <pre>
82 # spk-find package
83 </pre>
85 <h3>List packages &amp; files</h3>
86 <p>
87 Spk-ls let you get the list of installed or mirrored packages as well
88 has the list of files installed by a package:
89 </p>
90 <pre>
91 # spk-ls --short
92 # spk-ls gcc-lib-base
93 </pre>
95 <!-- <h3></h3>
96 <p>
98 </p>
99 <pre>
100 #
101 </pre> -->
104 <!-- End content -->
105 </div>
107 <footer>
108 Copyright © 2014 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
109 </footer>
111 </body>
112 </html>