A simple library-based package manager.

Introduction

pacman is a utility which manages software packages in Linux. It uses simple compressed files as a package format, and maintains a text-based package database (more of a hierarchy), just in case some hand tweaking is necessary.

pacman does not strive to "do everything." It will add, remove and upgrade packages in the system, and it will allow you to query the package database for installed packages, files and owners. It also attempts to handle dependencies automatically and can download packages from a remote server.

History

Version 2.0 of pacman introduced the ability to sync packages (the --sync option) with a master server through the use of package databases. Prior to this, packages would have to be installed manually using the --add and --upgrade operations.

Version 3.0 was the switch to a two-part pacman — a back-end named libalpm (library for Arch Linux Package Management) and the familiar pacman front-end. Speed in many cases was improved, along with dependency and conflict resolution being able to handle a much wider variety of cases. The switch to a library-based program should also make it easier in the future to develop alternative front ends.

Version 4.0 added package signing and verification capabilities to the entire makepkg/repo-add/pacman toolchain via GnuPG and GPGME.

Version 5.0 added support for pre/post-transaction hooks and sync database file list operations.

Version 6.0 added support for parallel downloads.

Version 7.0 added support for performing downloads in a separate sandboxed process.

Documentation

Man Pages

There are several man pages available for the programs, utilities, and configuration files dealing with pacman.

Changelog

For a good idea of what is going on in pacman development, take a look at the Git summary page for the project.

See the most recent NEWS file for a not-as-frequently-updated list of changes. However, this should contain the biggest changes in a format more concise than the commit log.

Releases

Version Date

7.1.0

2025年11月01日

7.0.0

2024年07月14日

6.1.0

2024年03月04日

6.0.1

2021年09月04日

6.0.0

2021年05月20日

5.2.1

2019年11月01日

5.2.0

2019年10月21日

5.1.3

2019年03月01日

5.1.2

2018年12月25日

5.1.1

2018年07月27日

5.1.0

2018年05月28日

5.0.2

2017年06月03日

5.0.1

2016年02月23日

5.0.0

2016年01月30日

4.2.1

2015年02月20日

4.2.0

2014年12月19日

4.1.2

2013年06月18日

4.1.1

2013年05月07日

4.1.0

2013年04月01日

4.0.3

2012年04月07日

4.0.2

2012年02月11日

4.0.1

2011年11月20日

4.0.0

2011年10月13日

3.5.4

2011年08月10日

3.5.3

2011年06月07日

3.5.2

2011年04月18日

3.5.1

2011年03月23日

3.5.0

2011年03月16日

3.4.3

2011年01月22日

3.4.2

2010年12月29日

3.4.1

2010年09月03日

3.4.0

2010年06月16日

Version Date

3.3.3

2009年11月10日

3.3.2

2009年10月05日

3.3.1

2009年09月22日

3.3.0

2009年08月02日

3.2.2

2009年01月05日

3.2.1

2008年08月26日

3.2.0

2008年07月30日

3.1.4

2008年04月01日

3.1.3

2008年03月06日

3.1.2

2008年02月20日

3.1.1

2008年01月20日

3.1.0

2008年01月09日

3.0.6

2007年09月16日

3.0.5

2007年06月17日

3.0.4

2007年05月08日

3.0.3

2007年04月28日

3.0.2

2007年04月23日

3.0.1

2007年04月04日

3.0.0

2007年03月25日

2.9.8

2006年02月02日

2.9.7

2005年09月16日

2.9.6

2005年06月10日

2.9.5

2005年01月11日

2.9.4

2004年12月20日

2.9.3

2004年12月19日

2.9.2

2004年09月25日

2.9.1

2004年09月25日

2.9

2004年09月18日

2.8.4

2004年08月23日

2.8.3

2004年08月04日

2.8.2

2004年07月22日

2.8.1

2004年07月17日

Version Date

2.8

2004年07月03日

2.7.9

2004年04月30日

2.7.8

2004年04月29日

2.7.7

2004年04月15日

2.7.6

2004年04月04日

2.7.5

2004年03月02日

2.7.4

2004年02月18日

2.7.3

2004年02月07日

2.7.2

2004年01月04日

2.7.1

2003年12月21日

2.7

2003年11月25日

2.6.4

2003年10月17日

2.6.3

2003年10月01日

2.6.2

2003年09月29日

2.6.1

2003年09月15日

2.6

2003年09月03日

2.5.1

2003年07月12日

2.5

2003年05月30日

2.4.1

2003年04月19日

2.4

2003年04月11日

2.3.2

2003年03月17日

2.3.1

2003年03月14日

2.3

2003年02月27日

2.2

2002年12月11日

2.1

2002年09月16日

2.0

2002年08月09日

1.23

2002年04月30日

1.22

2002年04月12日

1.21

2002年04月03日

1.2

2002年03月18日

1.1

2002年03月10日

1.0

2002年02月25日

Source code for releases since moving to gitlab is available at https://gitlab.archlinux.org/pacman/pacman/-/releases. Source code for historical releases is available at https://sources.archlinux.org/other/pacman/. To install, download the newest available source tarball, unpack it in a directory, and run the three magic commands:

$ meson build
$ ninja -C build
# ninja -C build install

You may wish to read the options presented by meson in order to set appropriate paths and build options that are correct for your system.

Development

Mailing List

There is a mailing list devoted to pacman development, hosted by Arch Linux. Subscribe or view the archives.

Source Code

Development of pacman is currently done in Git. The central repository is hosted by Arch Linux, although some of the developers have their own trees (ask on the above mailing lists if you are interested in finding the locations of these trees).

The current development tree can be fetched with the following command:

git clone https://gitlab.archlinux.org/pacman/pacman.git

which will fetch the full development history into a directory named pacman. You can browse the source as well using gitlab.

If you are interested in hacking on pacman, it is highly recommended you join the mailing list mentioned above, as well as take a quick glance at our HACKING document. submitting-patches is also a recommended read.

Not as familiar with code as you’d like to be, but still want to help out? If you speak a foreign language, you can help by either creating or updating a translation file for your native language. Instructions can be found in translation-help.

Bugs

If you find bugs (which is quite likely), please report them to the issue tracker at https://gitlab.archlinux.org/pacman/pacman/-/issues with specific information such as your command-line, the nature of the bug, and even the package database if it helps.

pacman is Copyright © 2006-2025 Pacman Development Team <pacman-dev@lists.archlinux.org> and Copyright © 2002-2006 Judd Vinet <jvinet@zeroflux.org> and is licensed through the GNU General Public License, version 2 or later.


AltStyle によって変換されたページ (->オリジナル) /