summaryrefslogtreecommitdiff
path: root/src/admin/3_packages.xml
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-15 23:02:24 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-15 23:02:24 -0600
commit51fea5910a1d0837ebab48d2f32edb79d35b5849 (patch)
tree217ec5b620fae1b7b6b924f7e9c5d7d14a6bc6ed /src/admin/3_packages.xml
parente77801f236925a24b1974016a36a9033ecd84e33 (diff)
downloaddocs-51fea5910a1d0837ebab48d2f32edb79d35b5849.tar.gz
docs-51fea5910a1d0837ebab48d2f32edb79d35b5849.tar.bz2
docs-51fea5910a1d0837ebab48d2f32edb79d35b5849.tar.xz
docs-51fea5910a1d0837ebab48d2f32edb79d35b5849.zip
Admin: Give every section a readable, user-friendly ID
Diffstat (limited to 'src/admin/3_packages.xml')
-rw-r--r--src/admin/3_packages.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/admin/3_packages.xml b/src/admin/3_packages.xml
index e7e70bb..58ca9a1 100644
--- a/src/admin/3_packages.xml
+++ b/src/admin/3_packages.xml
@@ -2,7 +2,7 @@
<chapter label="3" id="packages">
<title>Package Management</title>
<highlights><para>In this chapter, we will discuss package management in the Adélie Linux operating environment, including the APK package manager.</para></highlights>
- <section>
+ <section id="introduction3">
<title>Introduction</title>
<para>We'll start off by learning what a package is, and about the package manager used by Adélie Linux.</para>
<section>
@@ -17,7 +17,7 @@
<para>APK refers the entire set of packages you have chosen to install on your computer as a "<firstterm>world</firstterm>". When you install a package, you are adding it to the "world". When you uninstall a package, you are removing it from the "world". The world file exists at <filename>/etc/apk/world</filename> and is a text file with each package you have chosen to install on a single line.</para>
</section>
</section>
- <section>
+ <section id="install_uninstall">
<title>Installing and uninstalling packages</title>
<para>When you want to install a package on your Adélie Linux system, you may use the command <command>apk add <userinput>PACKAGE</userinput></command>, where <userinput>PACKAGE</userinput> is the name of the package you want to install. You may install multiple packages at the same time by separating them with spaces. For example, <command>apk add firefox thunderbird</command> will install the Firefox web browser and Thunderbird email client.</para>
<para>To uninstall a package on your Adélie Linux system, you may use the command <command>apk del <userinput>PACKAGE</userinput></command>, where <userinput>PACKAGE</userinput> is the name of the package you want to uninstall. As with package installation, you may uninstall multiple packages at the same time by separating them with spaces.</para>
@@ -29,7 +29,7 @@ World updated, but the following packages are not removed due to:
</screen>
<para>This indicates that the <package>fts</package> package was removed from your "world" file (if it was listed there), but it is still required by the <package>dracut</package> package that is currently installed on your computer.</para>
</section>
- <section>
+ <section id="integrity">
<title>Ensuring package integrity</title>
<para>The APK package manager can help you ensure continuing system integrity, and can also help you correct some issues as they arise. Every file installed on your computer by APK has a cryptographic signature and checksum. You may use the command <command>apk audit</command> to audit your entire system for integrity, or <command>apk audit <userinput>PATH</userinput></command> to audit a specific file or directory on your system. Note that <userinput>PATH</userinput> must be an <firstterm>absolute path</firstterm>; it must be the entire path beginning with a /. For example, the command <command>apk audit /usr/bin/vim</command> is valid; the command <command>apk audit vim</command>, even if it is run from inside the /usr/bin directory, is not.</para>
<para>The typical output of an <command>apk audit</command> run will look something like the following:</para>