summaryrefslogtreecommitdiff
path: root/public/pacman-overview.html
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-03 15:57:11 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-03 15:57:11 -0400
commit9e74a91806a5615f2f21cfff2ac0daddfbe80f90 (patch)
treef9765afcc9b0b87a81ec3daa170f39d6801f4dd0 /public/pacman-overview.html
parent5017c1e252b72c11db5564df6c0d78e163e01156 (diff)
Track the generated files on a separate branch
Diffstat (limited to 'public/pacman-overview.html')
-rw-r--r--public/pacman-overview.html37
1 files changed, 0 insertions, 37 deletions
diff --git a/public/pacman-overview.html b/public/pacman-overview.html
deleted file mode 100644
index b9385d8..0000000
--- a/public/pacman-overview.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>A quick overview of usage of the Pacman package manager — Luke Shumaker</title>
- <link rel="stylesheet" href="assets/style.css">
- <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/>
-</head>
-<body>
-<header><a href="/">Luke Shumaker</a> » <a href=/blog>blog</a> » pacman-overview</header>
-<article>
-<h1 id="a-quick-overview-of-usage-of-the-pacman-package-manager">A quick overview of usage of the Pacman package manager</h1>
-<p>This was originally published on <a href="https://news.ycombinator.com/item?id=5101416">Hacker News</a> on 2013-01-23.</p>
-<p>Note: I've over-done quotation marks to make it clear when precise wording matters.</p>
-<p><code>pacman</code> is a little awkward, but I prefer it to apt/dpkg, which have sub-commands, each with their own flags, some of which are undocumented. pacman, on the other hand, has ALL options documented in one fairly short man page.</p>
-<p>The trick to understanding pacman is to understand how it maintains databases of packages, and what it means to &quot;sync&quot;.</p>
-<p>There are several &quot;databases&quot; that pacman deals with:</p>
-<ul>
-<li>&quot;the database&quot;, (<code>/var/lib/pacman/local/</code>)<br> The database of currently installed packages</li>
-<li>&quot;package databases&quot;, (<code>/var/lib/pacman/sync/${repo}.db</code>)<br> There is one of these for each repository. It is a file that is fetched over plain http(s) from the server; it is not modified locally, only updated.</li>
-</ul>
-<p>The &quot;operation&quot; of pacman is set with a capital flag, one of &quot;DQRSTU&quot; (plus <code>-V</code> and <code>-h</code> for version and help). Of these, &quot;DTU&quot; are &quot;low-level&quot; (analogous to dpkg) and &quot;QRS&quot; are &quot;high-level&quot; (analogous to apt).</p>
-<p>To give a brief explanation of cover the &quot;high-level&quot; operations, and which databases they deal with:</p>
-<ul>
-<li>&quot;Q&quot; Queries &quot;the database&quot; of locally installed packages.</li>
-<li>&quot;S&quot; deals with &quot;package databases&quot;, and Syncing &quot;the database&quot; with them; meaning it installs/updates packages that are in package databases, but not installed on the local system.</li>
-<li>&quot;R&quot; Removes packages &quot;the database&quot;; removing them from the local system.</li>
-</ul>
-<p>The biggest &quot;gotcha&quot; is that &quot;S&quot; deals with all operations with &quot;package databases&quot;, not just syncing &quot;the database&quot; with them.</p>
-
-</article>
-<footer>
-<p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@sbcglobal.net">Luke Shumaker</a>.</p>
-<p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA-3.0</a> license.</p>
-</footer>
-</body>
-</html>