blob: 9511f592a83916685bb902c8de37bb1cd32422f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Copyright (C) 2020 Cem Keylan
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU Free
Documentation License." -->
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Top (Carbs Linux User Manual)</title>
<meta name="description" content="Top (Carbs Linux User Manual)">
<meta name="keywords" content="Top (Carbs Linux User Manual)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="#Top" rel="start" title="Top">
<link href="#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Installation.html" rel="next" title="Installation">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<h1 class="settitle" align="center">Carbs Linux User Manual</h1>
<span id="SEC_Overview"></span>
<h2 class="shortcontents-heading">Short Table of Contents</h2>
<div class="shortcontents">
<ul class="no-bullet">
<li><a id="stoc-Installation-1" href="#toc-Installation-1">1 Installation</a></li>
<li><a id="stoc-Package-Manager-1" href="#toc-Package-Manager-1">2 Package Manager</a></li>
<li><a id="stoc-Init-System-1" href="#toc-Init-System-1">3 Init System</a></li>
<li><a id="stoc-Contribution-Guidelines-1" href="#toc-Contribution-Guidelines-1">4 Contribution Guidelines</a></li>
<li><a id="stoc-GNU-Free-Documentation-License-1" href="#toc-GNU-Free-Documentation-License-1">GNU Free Documentation License</a></li>
</ul>
</div>
<span id="SEC_Contents"></span>
<h2 class="contents-heading">Table of Contents</h2>
<div class="contents">
<ul class="no-bullet">
<li><a id="toc-Installation-1" href="Installation.html#Installation">1 Installation</a>
<ul class="no-bullet">
<li><a id="toc-Preparing-Environment-1" href="Preparing-Environment.html#Preparing-Environment">1.1 Preparing Environment</a>
<ul class="no-bullet">
<li><a id="toc-Download" href="Preparing-Environment.html#Download">1.1.1 Download</a></li>
<li><a id="toc-Check-the-integrity-of-the-tarball-_0028Recommended_0029" href="Preparing-Environment.html#Check-the-integrity-of-the-tarball-_0028Recommended_0029">1.1.2 Check the integrity of the tarball (Recommended)</a></li>
<li><a id="toc-Verify-the-signature" href="Preparing-Environment.html#Verify-the-signature">1.1.3 Verify the signature</a></li>
<li><a id="toc-Extracting-the-tarball" href="Preparing-Environment.html#Extracting-the-tarball">1.1.4 Extracting the tarball</a></li>
<li><a id="toc-Obtain-the-chroot-helper" href="Preparing-Environment.html#Obtain-the-chroot-helper">1.1.5 Obtain the chroot helper</a></li>
</ul></li>
<li><a id="toc-Chroot-1" href="Chroot.html#Chroot">1.2 Chroot</a>
<ul class="no-bullet">
<li><a id="toc-Setting-up-repositories" href="Chroot.html#Setting-up-repositories">1.2.1 Setting up repositories</a>
<ul class="no-bullet">
<li><a id="toc-Obtaining-from-rsync" href="Chroot.html#Obtaining-from-rsync">1.2.1.1 Obtaining from rsync</a></li>
<li><a id="toc-Obtaining-from-git" href="Chroot.html#Obtaining-from-git">1.2.1.2 Obtaining from git</a></li>
<li><a id="toc-Making-the-package-manager-use-the-repositories" href="Chroot.html#Making-the-package-manager-use-the-repositories">1.2.1.3 Making the package manager use the repositories</a></li>
</ul></li>
<li><a id="toc-Updating-packages" href="Chroot.html#Updating-packages">1.2.2 Updating packages</a></li>
<li><a id="toc-Installing-packages" href="Chroot.html#Installing-packages">1.2.3 Installing packages</a></li>
<li><a id="toc-Essential-Software" href="Chroot.html#Essential-Software">1.2.4 Essential Software</a></li>
<li><a id="toc-Obtaining-the-documentation-_0028optional_0029" href="Chroot.html#Obtaining-the-documentation-_0028optional_0029">1.2.5 Obtaining the documentation (optional)</a></li>
</ul></li>
<li><a id="toc-System-Configuration-1" href="System-Configuration.html#System-Configuration">1.3 System Configuration</a>
<ul class="no-bullet">
<li><a id="toc-Configuring-hostname-_0028recommended_0029" href="System-Configuration.html#Configuring-hostname-_0028recommended_0029">1.3.1 Configuring hostname (recommended)</a></li>
<li><a id="toc-Setting-up-hosts-file-_0028optional_0029" href="System-Configuration.html#Setting-up-hosts-file-_0028optional_0029">1.3.2 Setting up hosts file (optional)</a></li>
</ul></li>
<li><a id="toc-Kernel-1" href="Kernel.html#Kernel">1.4 Kernel</a>
<ul class="no-bullet">
<li><a id="toc-Obtaining-the-kernel-sources" href="Kernel.html#Obtaining-the-kernel-sources">1.4.1 Obtaining the kernel sources</a></li>
<li><a id="toc-Installing-dependencies" href="Kernel.html#Installing-dependencies">1.4.2 Installing dependencies</a></li>
<li><a id="toc-Compiling-the-kernel" href="Kernel.html#Compiling-the-kernel">1.4.3 Compiling the kernel</a></li>
</ul></li>
<li><a id="toc-Making-your-system-bootable-1" href="Making-your-system-bootable.html#Making-your-system-bootable">1.5 Making your system bootable</a>
<ul class="no-bullet">
<li><a id="toc-Installing-a-bootloader" href="Making-your-system-bootable.html#Installing-a-bootloader">1.5.1 Installing a bootloader</a></li>
<li><a id="toc-Installing-init-scripts" href="Making-your-system-bootable.html#Installing-init-scripts">1.5.2 Installing init scripts</a></li>
<li><a id="toc-Generating-fstab" href="Making-your-system-bootable.html#Generating-fstab">1.5.3 Generating fstab</a></li>
</ul></li>
<li><a id="toc-Post_002dinstallation-1" href="Post_002dinstallation.html#Post_002dinstallation">1.6 Post-installation</a>
<ul class="no-bullet">
<li><a id="toc-Acquiring-kiss-repositories" href="Post_002dinstallation.html#Acquiring-kiss-repositories">1.6.1 Acquiring kiss repositories</a></li>
</ul></li>
</ul></li>
<li><a id="toc-Package-Manager-1" href="Package-Manager.html#Package-Manager">2 Package Manager</a>
<ul class="no-bullet">
<li><a id="toc-Usage-1" href="Usage.html#Usage">2.1 Usage</a>
<ul class="no-bullet">
<li><a id="toc-cpt_002dalternatives-1" href="cpt_002dalternatives.html#cpt_002dalternatives">2.1.1 <code>cpt-alternatives</code></a>
<ul class="no-bullet">
<li><a id="toc-Examples" href="cpt_002dalternatives.html#Examples">Examples</a></li>
</ul></li>
<li><a id="toc-cpt_002dbuild-1" href="cpt_002dbuild.html#cpt_002dbuild">2.1.2 <code>cpt-build</code></a>
<ul class="no-bullet">
<li><a id="toc-Options" href="cpt_002dbuild.html#Options">Options</a></li>
</ul></li>
<li><a id="toc-cpt_002dchecksum-1" href="cpt_002dchecksum.html#cpt_002dchecksum">2.1.3 <code>cpt-checksum</code></a></li>
<li><a id="toc-cpt_002ddownload-1" href="cpt_002ddownload.html#cpt_002ddownload">2.1.4 <code>cpt-download</code></a></li>
<li><a id="toc-cpt_002dfetch-1" href="cpt_002dfetch.html#cpt_002dfetch">2.1.5 <code>cpt-fetch</code></a></li>
<li><a id="toc-cpt_002dinstall-1" href="cpt_002dinstall.html#cpt_002dinstall">2.1.6 <code>cpt-install</code></a>
<ul class="no-bullet">
<li><a id="toc-Options-1" href="cpt_002dinstall.html#Options-1">Options</a></li>
</ul></li>
<li><a id="toc-cpt_002dlist-1" href="cpt_002dlist.html#cpt_002dlist">2.1.7 <code>cpt-list</code></a></li>
<li><a id="toc-cpt_002dremove-1" href="cpt_002dremove.html#cpt_002dremove">2.1.8 <code>cpt-remove</code></a>
<ul class="no-bullet">
<li><a id="toc-Options-2" href="cpt_002dremove.html#Options-2">Options</a></li>
</ul></li>
<li><a id="toc-cpt_002dsearch-1" href="cpt_002dsearch.html#cpt_002dsearch">2.1.9 <code>cpt-search</code></a>
<ul class="no-bullet">
<li><a id="toc-Options-3" href="cpt_002dsearch.html#Options-3">Options</a></li>
</ul></li>
<li><a id="toc-cpt_002dupdate-1" href="cpt_002dupdate.html#cpt_002dupdate">2.1.10 <code>cpt-update</code></a>
<ul class="no-bullet">
<li><a id="toc-Options-4" href="cpt_002dupdate.html#Options-4">Options</a></li>
</ul></li>
</ul></li>
<li><a id="toc-Environment-Variables-1" href="Environment-Variables.html#Environment-Variables">2.2 Environment Variables</a></li>
<li><a id="toc-Hooks-1" href="Hooks.html#Hooks">2.3 Hooks</a>
<ul class="no-bullet">
<li><a id="toc-Editing-the-build-file-during-pre_002dbuild-1" href="Editing-the-build-file-during-pre_002dbuild.html#Editing-the-build-file-during-pre_002dbuild">2.3.1 Editing the <samp>build</samp> file during pre-build</a></li>
</ul></li>
<li><a id="toc-Packaging-System-1" href="Packaging-System.html#Packaging-System">2.4 Packaging System</a>
<ul class="no-bullet">
<li><a id="toc-build" href="Packaging-System.html#build">2.4.1 <samp>build</samp></a></li>
<li><a id="toc-sources" href="Packaging-System.html#sources">2.4.2 <samp>sources</samp></a></li>
<li><a id="toc-checksums" href="Packaging-System.html#checksums">2.4.3 <samp>checksums</samp></a></li>
<li><a id="toc-version" href="Packaging-System.html#version">2.4.4 <samp>version</samp></a></li>
<li><a id="toc-depends" href="Packaging-System.html#depends">2.4.5 <samp>depends</samp></a></li>
<li><a id="toc-post_002dinstall" href="Packaging-System.html#post_002dinstall">2.4.6 <samp>post-install</samp></a></li>
<li><a id="toc-message" href="Packaging-System.html#message">2.4.7 <samp>message</samp></a></li>
<li><a id="toc-test" href="Packaging-System.html#test">2.4.8 <samp>test</samp></a></li>
</ul></li>
<li><a id="toc-Rsync-Repositories-1" href="Rsync-Repositories.html#Rsync-Repositories">2.5 Rsync Repositories</a>
<ul class="no-bullet">
<li><a id="toc-Setting-up-an-rsync-repository-for-distribution-1" href="Setting-up-an-rsync-repository-for-distribution.html#Setting-up-an-rsync-repository-for-distribution">2.5.1 Setting up an rsync repository for distribution</a></li>
</ul></li>
</ul></li>
<li><a id="toc-Init-System-1" href="Init-System.html#Init-System">3 Init System</a>
<ul class="no-bullet">
<li><a id="toc-Configuring-Init-1" href="Configuring-Init.html#Configuring-Init">3.1 Configuring Init</a>
<ul class="no-bullet">
<li><a id="toc-Kernel-Command-Line" href="Configuring-Init.html#Kernel-Command-Line">3.1.1 Kernel Command Line</a></li>
<li><a id="toc-_002fetc_002finit_002frc_002econf-file" href="Configuring-Init.html#g_t_002fetc_002finit_002frc_002econf-file">3.1.2 <samp>/etc/init/rc.conf</samp> file</a></li>
</ul></li>
<li><a id="toc-Init-Hooks-1" href="Init-Hooks.html#Init-Hooks">3.2 Init Hooks</a></li>
<li><a id="toc-Changing-Init-Program-1" href="Changing-Init-Program.html#Changing-Init-Program">3.3 Changing Init Program</a>
<ul class="no-bullet">
<li><a id="toc-Rebooting-after-changing-Init" href="Changing-Init-Program.html#Rebooting-after-changing-Init">3.3.1 Rebooting after changing Init</a></li>
</ul></li>
</ul></li>
<li><a id="toc-Contribution-Guidelines-1" href="Contribution-Guidelines.html#Contribution-Guidelines">4 Contribution Guidelines</a>
<ul class="no-bullet">
<li><a id="toc-Conventions-1" href="Conventions.html#Conventions">4.1 Conventions</a>
<ul class="no-bullet">
<li><a id="toc-General-Conventions-_002d_002d-00" href="General-Conventions.html#General-Conventions">4.1.1 General Conventions – 00</a></li>
<li><a id="toc-Shell-Conventions-_002d_002d-10" href="Shell-Conventions.html#Shell-Conventions">4.1.2 Shell Conventions – 10</a></li>
<li><a id="toc-Repository-Conventions-_002d_002d-20" href="Repository-Conventions.html#Repository-Conventions">4.1.3 Repository Conventions – 20</a></li>
</ul></li>
<li><a id="toc-Sending-Git-mails-1" href="Sending-Git-mails.html#Sending-Git-mails">4.2 Sending Git mails</a></li>
</ul></li>
<li><a id="toc-GNU-Free-Documentation-License-1" href="GNU-Free-Documentation-License.html#GNU-Free-Documentation-License">GNU Free Documentation License</a></li>
</ul>
</div>
<span id="Top"></span><div class="header">
<p>
Next: <a href="Installation.html" accesskey="n" rel="next">Installation</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
<hr>
<span id="Carbs-Linux-User-Manual"></span><h1 class="top">Carbs Linux User Manual</h1>
<p>This is the full documentation of <a href="https://carbslinux.org">Carbs Linux</a>,
from the details of the distribution, installation, to the package manager. It
is not yet complete.
</p>
<p>This documentation is also available in the distribution by the
<code>carbs-docs</code> package, which can be read by either running
<code>info carbslinux</code> or reading <samp>/usr/share/doc/carbslinux.txt</samp> with your
favorite pager. You can install either the <code>info</code> or <code>texinfo</code>
for doing the first.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top">• <a href="Installation.html" accesskey="1">Installation</a></td><td> </td><td align="left" valign="top">Installing Carbs Linux
</td></tr>
<tr><td align="left" valign="top">• <a href="Package-Manager.html" accesskey="2">Package Manager</a></td><td> </td><td align="left" valign="top">Carbs Linux Packaging Tools
</td></tr>
<tr><td align="left" valign="top">• <a href="Init-System.html" accesskey="3">Init System</a></td><td> </td><td align="left" valign="top">Configuring the init system
</td></tr>
<tr><td align="left" valign="top">• <a href="Contribution-Guidelines.html" accesskey="4">Contribution Guidelines</a></td><td> </td><td align="left" valign="top">Contributing to Carbs Linux
</td></tr>
<tr><td align="left" valign="top">• <a href="GNU-Free-Documentation-License.html" accesskey="5">GNU Free Documentation License</a></td><td> </td><td align="left" valign="top">Copying Conditions
</td></tr>
<tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
</pre></th></tr><tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
— Detailed Menu Listing —
Installation
</pre></th></tr><tr><td align="left" valign="top">• <a href="Preparing-Environment.html" accesskey="6">Preparing Environment</a></td><td> </td><td align="left" valign="top">Getting ready to chroot
</td></tr>
<tr><td align="left" valign="top">• <a href="Chroot.html" accesskey="7">Chroot</a></td><td> </td><td align="left" valign="top">Going inside your new system
</td></tr>
<tr><td align="left" valign="top">• <a href="System-Configuration.html" accesskey="8">System Configuration</a></td><td> </td><td align="left" valign="top">Customizing for your personal use
</td></tr>
<tr><td align="left" valign="top">• <a href="Kernel.html" accesskey="9">Kernel</a></td><td> </td><td align="left" valign="top">Compiling your own kernel
</td></tr>
<tr><td align="left" valign="top">• <a href="Making-your-system-bootable.html">Making your system bootable</a></td><td> </td><td align="left" valign="top">Installing init and bootloader
</td></tr>
<tr><td align="left" valign="top">• <a href="Post_002dinstallation.html">Post-installation</a></td><td> </td><td align="left" valign="top">Acquiring more packages and repositories
</td></tr>
<tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
Package Manager
</pre></th></tr><tr><td align="left" valign="top">• <a href="Usage.html">Usage</a></td><td> </td><td align="left" valign="top">Using Carbs Packaging Tools
</td></tr>
<tr><td align="left" valign="top">• <a href="Environment-Variables.html">Environment Variables</a></td><td> </td><td align="left" valign="top">Values that affect the operation of CPT
</td></tr>
<tr><td align="left" valign="top">• <a href="Hooks.html">Hooks</a></td><td> </td><td align="left" valign="top">Using hooks to customize the package manager operations
</td></tr>
<tr><td align="left" valign="top">• <a href="Packaging-System.html">Packaging System</a></td><td> </td><td align="left" valign="top">More detail on creating packages
</td></tr>
<tr><td align="left" valign="top">• <a href="Rsync-Repositories.html">Rsync Repositories</a></td><td> </td><td align="left" valign="top">Information on using or creating rsync repositories
</td></tr>
<tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
Init System
</pre></th></tr><tr><td align="left" valign="top">• <a href="Configuring-Init.html">Configuring Init</a></td><td> </td><td align="left" valign="top">Ways to configure the init system
</td></tr>
<tr><td align="left" valign="top">• <a href="Init-Hooks.html">Init Hooks</a></td><td> </td><td align="left" valign="top">Adding your personal commands to the init system
</td></tr>
<tr><td align="left" valign="top">• <a href="Changing-Init-Program.html">Changing Init Program</a></td><td> </td><td align="left" valign="top">Replacing the default busybox init with something new
</td></tr>
</table>
<hr>
<div class="header">
<p>
Next: <a href="Installation.html" accesskey="n" rel="next">Installation</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
</body>
</html>
|