4 A simple library-based package manager.
8 pacman is a utility which manages software packages in Linux. It uses simple
9 compressed files as a package format, and maintains a text-based package
10 database (more of a hierarchy), just in case some hand tweaking is necessary.
12 pacman does not strive to "do everything." It will add, remove and upgrade
13 packages in the system, and it will allow you to query the package database for
14 installed packages, files and owners. It also attempts to handle dependencies
15 automatically and can download packages from a remote server.
19 Version 2.0 of pacman introduced the ability to sync packages (the '\--sync'
20 option) with a master server through the use of package databases. Prior to
21 this, packages would have to be installed manually using the '\--add' and
22 '\--upgrade' operations.
24 Version 3.0 was the switch to a two-part pacman- a backend named libalpm
25 (library for Arch Linux Package Management), and the familiar pacman frontend.
26 Speed in many cases was improved, along with dependency and conflict resolution
27 being able to handle a much wider variety of cases. The switch to a
28 library-based program should also make it easier in the future to develop
29 alternative front ends.
31 Version 4.0 added package signing and verification capabilities to the entire
32 makepkg/repo-add/pacman toolchain via GNUPG and GPGME.
39 There are several manpages available for the programs, utilities, and
40 configuration files dealing with pacman.
45 * linkman:makepkg.conf[5]
47 * linkman:pacman-key[8]
48 * linkman:pacman.conf[5]
55 For a good idea of what is going on in pacman development, take a look at the
56 link:http://projects.archlinux.org/pacman.git/[Git summary page] for the
60 link:http://projects.archlinux.org/pacman.git/tree/NEWS[NEWS]
61 file for a not-as-frequently-updated list of changes. However, this should
62 contain the biggest changes in a format more concise than the commit log.
68 [frame="none",grid="none",options="autowidth",cols="3*a"]
71 [frame="topbot",grid="none",options="header,autowidth"]
101 [frame="topbot",grid="none",options="header,autowidth"]
106 !2.9.7-TEST3 !2005-09-11
107 !2.9.7-TEST2 !2005-09-07
108 !2.9.7-TEST !2005-08-19
130 [frame="topbot",grid="none",options="header,autowidth"]
161 Source code for all releases is available at
162 link:ftp://ftp.archlinux.org/other/pacman/[]. To install, download the newest
163 available source tarball, unpack it in a directory, and run the three magic
170 You may wish to read the options presented by `./configure --help` in order to
171 set appropriate paths and build options that are correct for your system.
178 There is a mailing list devoted to pacman development, hosted by Arch Linux.
179 link:http://mailman.archlinux.org/mailman/listinfo/pacman-dev/[Subscribe] or
180 link:http://mailman.archlinux.org/pipermail/pacman-dev/[view the archives].
184 Development of pacman is currently done in GIT. The central repository is
185 hosted by Arch Linux, although some of the developers have their own trees (ask
186 on the above mailing lists if you are interested in finding the locations of
189 The current development tree can be fetched with the following command:
191 git clone git://projects.archlinux.org/pacman.git pacman
193 which will fetch the full development history into a directory named pacman.
194 You can browse the source as well using
195 link:http://projects.archlinux.org/pacman.git/[cgit]. HTTP/HTTPS URLs are also
196 available for cloning purposes; these URLs are listed at the above page.
198 If you are interested in hacking on pacman, it is highly recommended you join
199 the mailing list mentioned above, as well as take a quick glance at our
200 link:HACKING.html[HACKING] document.
201 link:submitting-patches.html[submitting-patches] is also a recommended read.
203 Not as familiar with code as you'd like to be, but still want to help out? If
204 you speak a foreign language, you can help by either creating or updating a
205 translation file for your native language. Instructions can be found in
206 link:translation-help.html[translation-help].
210 Although the package manager itself is quite simple, many scripts have been
211 developed that help automate building and installing packages. These are used
212 extensively in link:http://archlinux.org/[Arch Linux]. Most of these utilities
213 are available in the Arch Linux projects
214 link:http://projects.archlinux.org/[code browser].
218 * link:http://projects.archlinux.org/abs.git/[abs] - ABS (Arch Build System), scripts to download & use the Arch Linux PKGBUILD tree
219 * link:http://projects.archlinux.org/dbscripts.git/[dbscripts] - scripts used by Arch Linux to manage the main package repositories
220 * link:http://projects.archlinux.org/devtools.git/[devtools] - tools to assist in packaging and dependency checking
221 * link:http://projects.archlinux.org/namcap.git/[namcap] - a package analysis utility written in python
222 * link:http://projects.archlinux.org/srcpac.git/[srcpac] - a bash build-from-source pacman wrapper
226 If you find bugs (which is quite likely), please email them to the pacman-dev
227 mailing last at mailto:pacman-dev@archlinux.org[] with specific information
228 such as your commandline, the nature of the bug, and even the package database
231 You can also post a bug to the Arch Linux bug tracker
232 link:http://bugs.archlinux.org/index.php?project=3[Flyspray]. Be sure to file
233 bugs under the Pacman project.
235 Pacman/libalpm in the Wild
236 --------------------------
237 Although Arch Linux is the primary user of pacman and libalpm, other
238 distributions and projects also use pacman as a package management tool. In
239 addition, there have been several projects started to provide a frontend GUI to
240 pacman and/or libalpm.
244 * link:http://archie.dotsrc.org/[Archie] - Arch Live on steroids
245 * link:http://www.faunos.com/[FaunOS] - A portable, fully integrated operating system based on Arch Linux
246 * link:http://larch.berlios.de/[larch] - A live CD/DVD/USB-stick construction kit for Arch Linux
250 * link:http://www.delilinux.org/[DeLi Linux] - "Desktop Light" Linux, a Linux distribution for old computers
251 * link:http://www.frugalware.org/[Frugalware Linux] - A general purpose Linux distribution for intermediate users (pacman is forked and maintained separately)
253 Pacman/libalpm frontends:
255 * link:http://shaman.iskrembilen.com/[Shaman] - A GUI frontend using Qt and libalpm
259 pacman is Copyright (C) 2006-2012 Pacman Development Team
260 <pacman-dev@archlinux.org> and Copyright (C) 2002-2006 Judd Vinet
261 <jvinet@zeroflux.org> and is licensed through the GNU General Public License,
265 vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us: