From ArchWiki
Revision as of 17:30, 11 December 2011 by Strcat (Talk | contribs) (codeline -> ic)

Jump to: navigation, search

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Pkgtools#)


Template:Package Official is a package created by Daenyth that includes various useful package-related utilities. It is available in community, and the latest Template:Package AUR release is available in AUR.


A tool to simplify creating a new package.



pkgfile is a tool that tells you which package owns a specific file. It also has some extra related features.

"Command not found" hook

pkgfile includes a "command not found" hook that will automatically search the official repositories if you enter a command that is not recognized. It can be enabled in Template:Filename or in Template:Filename.

That will enable the hook in login shells only. If you want it in all your shells, source /usr/share/pkgtools/pkgfile-hook.bash from your .bashrc.


Converts an rpm .spec file into a PKGBUILD