yaourt: a pacman wrapper



« A pacman frontend for Archlinux »

Yaourt is a command line interface program which complete pacman for installing software on Archlinux.
Written by Julien Mischkowitz <wain@archlinux.fr>

Functions
Using yaourt
Screenshot
Changelog
Downloading
Links



[archlinuxfr]

Server = http://repo.archlinux.fr/i686

or

[archlinuxfr]

Server = http://repo.archlinux.fr/x86_64



Functions:

  • search both in AUR and in pacman’s repos
  • Colorized output of the search results with indication of already installed softwares
  • packages installation from repos and from AUR with a unique command
  • interactive search mode (search and select by typing package number)
Yaourt Intéraction

Yaourt Intéraction

  • option: software installation from sources (abs) with srcpac
  • removal of useless packages:
Suppression de paquet inutiles

Suppression de paquet inutiles

  • global update of all packages from AUR
  • totally compatible with pacman/pacman-drive/pacman-cage
  • reuse of pacman’s options (see pacman –help)
  • detection of orphaned packages after update
  • config file editor (see pacdiffviewer -h)
  • improved search to find where does a file come from

All standard pacman options are recognized. Yaourt uses same options as pacman.



Use:

Search and install
yaourt [keywords]: quick search + install
yaourt -S [packages] : install package, Compile it from AUR if needed
yaourt -Ss
[keywords] : search on repos and on AUR (with notice for already installed packages)
yaourt -Sb [packages] : install a packages by compilation from sources (abs)
yaourt -Sl [repos] : prompt for packages of the selected repos (emphasize those already installed)
yaourt -Qs [keywords] : colorized ouput of installed packages and the repos where they come from
yaourt -Qo
[progname] or [filename] : shows the package which provides the program or the file

Updgrade:
yaourt -Syu : complete update and upgrade of the system (onlys from repos)
yaourt -Syu – -aur : complete update and upgrade, even for packages coming from AUR
yaourt -Sybu – -aur : complete update and upgrade by compilation of all packages (repos and AUR)
yaourt -Su – -devel : update and upgrade of cvs/svn/mercurial/git packages

Cleaning:
yaourt -C : editing and merging of .pacnew/.pacsave
yaourt -Cc : removal of all .pacnew/.pacsave
yaourt -Qt : search for orphaned packages
yaourt -Cd : search for obsolete repos

Other options:
-  -export [directory] : exports compiled packages for gensync
yaourt -S – -aur [packages] : forces compilation from AUR for a packages which is also in repos
yaourt -G [packages] : retrive PKGBUILD and local sources in current directory.
yaourt -B : backup the pacman database



Screenshots:

Yaourt

Yaourt


Changelog:


* version 0.9.2.6 (08/17/09)

- compatibility fix for pacman 3.3

- yaourt -G doesn’t work for package from unofficial repository

- FS#131 – Build dependencies from sources

- FS#139 – yaourt can’t download packages with ‘+’ in their name

- FS#116 support for downloading dependencies with powerpill

- FS#137 – Yaourt bypassing PacmanBin var setting when pulling dependencies for a package built from the AUR

- FS#143 – problem with source=(filename::url)

- FS#145 – yaourt does not handle –needed flag

- FS#147 – yaourt doesn’t recognize AUR packages newer version

- FS#144 – failed to find which package provides x

- FS#142 – fixed –textonly


* version 0.9.2.5 (02/25/09)

- Compatibility fix for new coreutils

- Italian language from Angelo and some other ArchLinux.it forum members

- AUR search results sorting (patch from net147)

- compatibility fix for comments with new AUR website

- Fix install deps from AUR + git/SVN package

- fixed su when root user is not named « root »

- fixed ForceEnglish option (patch from Richard Adenling)


* version 0.9.2.4 (01/08/09)

o honnor PKGEXT (.pkg.tar.bz2)

o moved « editing PKGBUILD » before « source PKGBUILD »


* version 0.9.2.3 (01/04/09)

o fix for -Su with x86-64

o fix for italic with screen-color256

* version 0.9.2.2 (12/29/08)

o new -Su interface

o removed italic font when yaourt is run in screen or terminal

o fixed searching on AUR

o new option –ignorearch (by Cookiecaper) to ignore incomplete arch field in PKGBUILD

o show wich package needs a new depend in -Su

o fixed lowercase bug + locale bug in readonfigfile()

o now search .pacsave/.pacnew in /usr/share, /usr/lib and /opt

o fix for complex sudoers files

o fixed FS#119: relative path with yaourt –backup

o fixed git/svn/cvs install

o fix for -Su –devel (FS#118 from psychoweb)

o new flag -Q –last to list last installed packages

o fixed -S group


* version 0.9.1 (08/18/08)

o some code rewrite for AUR (access by JSON RPC interface)

o yaourt
-Su –aur now show packages flaged by another user as out of date

o bug fixed when building a package with text in name (like per-text-kakaso)

o new option ForceEnglish in yaourtrc

o new option AutoSaveBackupFile in yaourtrc (required for automerge .pacnew with yaourt -C)

o yaourt -C is now able to automerge change from .pacnew if AutoSaveBackupFile is on

o fixed FS#110 yaourt -Sb don’t refresh PKGBUILD if continue=on is set in wgetrc

o support for new svn repos.archlinux.org (for yaourt -Sb and -G)

o Revert to old method: use pacman instead of greping /var/lib/pacman/ files for better compatiblity and speed in search

o Show group in -Qs and -Ss

o Show the package that cause problem when -Su fails

o new option –holdver to avoid building last developement version for git/cvs/svn package

o gettext support + french translation by Tuxce

o hack: yaourt needs root or sudo for -Spu

* version 0.9 (03/15/08)
o old pacstats scripts rebirth with yaourt –stats
o first step for a libified yaourt
o bash completion include and fixed shebang to bash (http://bugs.archlinux.fr/task/105)
o changed behavior: -Qdt replace -Qt as in pacman
o install a list of package with yaourt -S packagelist.txt
o new option –backupfile: query on a .tar.bz2 backup file (see man yaourt for details)
o  fix for Unsupported packages with pkgver begins by an alpha character
o new option –downgrade to revert a packages list from [testing] to stable packages

* version 0.8.12 (02/19/08)
o tmpdirectory in yaourtrc workgs again
o support arch=(any)
o support for new AUR 1.5 (SAFE flag removed + compatibility fix)

* version 0.8.11 (02/05/08)
o new options in yaourtrc to show last comments from AUR:
LastCommentsOrder and LastCommentsNumber (see man yaourtrc for details)
o ask the user to mount /boot before kernel upgrade

* version 0.8.10 (02/04/08)
o support -Si repository/packages syntax
o lockfile is /var/lib/pacman/db.lck since pacman 3.1
o honor DBPath from pacman.conf
o new option « DontNeedToPressEnter ». If set to « no », you have to press enter for Yes No q
uestion (see man yaourtc)
o yaourt –backup file.tar.bz2 can restore a previous backup
o edit .install files when building packages from ABS or AUR

* version 0.8.9 (01/22/08)
o Fixed show new orphans after install/remove if installed pkgname contains ‘-’ (like f-spot)
o compatibility fix:
- yaourt -Qt
- -Qt (http://bugs.archlinux.org/task/9144)
- ignorepkg support
- removed –rmdeps when building packages
o run testdb after each upgrade/remove/install
o install AUR dependencies with –asdeps
o support for –needed
o yaourt upgrades itself first then pacman

* version 0.8.8 (01/12/08)
o Fixed –nodeps not honored
o Fixed –backup ignore parameters + date format fixed
o pacman 3.1 compatibility (somes options like -Su –needed are missing)
* version 0.8.7 (11/03/07)
o improved yaourt -G: ask if PKGBUILD already exist
o new pacdiffviewer: slocate is no more required
* version 0.8.6 (11/02/07)
o Fix+improvements in -Qo
o Fixed outpout when PKGBUILD are in dos format
o Fixed « linux; » message added when using yaourt out of X
o Doesn’t search anymore for regexp in size or md5sum
o Fixed bug in yaourt -Qt with lightbg colormode

* version 0.8.5 (09/16/07)
o Some fixes for new [core] repository
o New option UpdateTerminalTitle, see yaourtrc(5)
o Added darcs and bzr support
o Regression fixed: showaurcomment doesn’t work
* version 0.8.4 (09/03/07)
o Better support for multiple instances runing (thanks to shining and nesl247)
o Resume previous build from AUR (great Vyazovoi’s patch)
* version 0.8.3 (07/20/07)
o new option -G to get PKGBUILD:  yaourt -G <packagename>
o new option –backup to save pacman database
o ability to check built package with namcap before installing
o removed depends to lynx
o bug fixed in yaourt -Cd (reported by Don-DiZzLe)
o bug fixed in yaourt -Su when exporting to repositorynew option PacmanBin in yaourtrc (to use pacman-color instead of pacman) (reported by cucullus)
* version 0.8.2 (07/10/07)
o new option PacmanBin in yaourtrc (to use pacman-color instead of pacman).
&nbs
p;  * version 0.8.1 (07/09/07)
o new config file yaourtrc
o man pages: yaourt(8) and yaourtrc(5) (thank you Leif Thande)
o  detect wrong options (like -sy instead of -Sy)
o view content of the built package before installing
o quickly install package file without argument: yaourt /tmp/file.pkg.tar.gz
o improved input when asking for Y/n
o new options: « show AUR comments » and « Aur vote support » + a lot in yaourtrc file (see yaourtrc manpage for details)
o support for relative path with –tmp
o support double refresh (yaourt -Syy)
o bug fixed: searching for word « mail » gives wrong output
* version 0.7.9 (05/24/07)
o fixed wget -c support to download PKGBUILD (thanks to Florian Loitsch for his patch)
o yaourt -Sg <package> now shows the content of a group even if not root
o yaourt -Si <package> shows date of last upgrade of AUR packages
o showing the current action in terminal’s title
o temporary fix: makedepends installed by makepkg are not installed until this bug is fixed :

http://bugs.archlinux.org/task/7193

* version 0.7.8 (05/0707) changed colors which weren’t supported in screen
* version 0.7.7 (04/30/07) new output colors, added * wildcard for search, setting LC_ALL shell variable if missing
* version 0.7.6 (04/13/07) added/modified options:  -Qe, -Qt, -Qd
* version 0.7.5 (04/11/07) better voting support for packages in[community]
* version 0.7.4 (04/10/07) semi-automatic voting for AUR packages added, better support of customizepkg, automatically adding « arch » field when missing for the PKGBUILD
* version 0.7.3 (04/05/07) yaourt looks in [community] first prior to installing an AUR package
* version 0.7.2 (04/02/07) PKGDEST support
* version 0.7.1 (04/02/07) rewritten source packages installation functions. yaourt is no more linked to srcpac
* version 0.7.0 (31/03/07) added support for pending release of pacman3
* version 0.6.5 (04/02/07) now supports installing dependencies of AUR packages without sudo
* version 0.6.4 (23/01/07) now supports installing multiples packages at the same time without sudo
* version 0.6.3 (17/01/07) exporting local sources. versionpkg not required. Summary at the end of upgrades.
* version 0.6.2 (12/11/06) sourceforge mirror selection now offered
* version 0.6.1 (10/11/06)
o new feature : -Cd –clean –database: finds useless repositories and the ones still in /var/lib/pacman but not in pacman.conf anymore
o new feature : –tmp /my/folder/ to save temporary files either than in /tmp
o interactive search now supports number sequences

* version 0.6 (08/11/06)
o Now faster ! Rewritten slowest functions and opmitized of the application
o new feature : deleting yaourt’s cache with -Scc
o gvim is not launched in background anymore
o now showing version of locally installed packages

* version 0.5 (29/10/06)
Better help, removing dependencies if AUR package compiling fails, better dialog support (thanks to GCN), faster and less verbose, better AUR package search
pacdiffviewer 0.3.5: no more error when running yaourt with root and then with an unprivileged user
* version 0.4.8 (24/10/06) la fonction –export exporte aussi les dépendances
* version 0.4.7 (22/10/06) added features for versionpkg (0.7.1) + fixed bug when compiling AUR packages with root
pacdiffviewer 0.3.4: checking if slocate is installed
* version 0.4.6 (20/10/06) added compatibility with versionpkg (0.7)
* version 0.4.5 (19/10/06) fixed bug in –export function
* version 0.4.4 (17/10/06) faster AUR packages upgrade
* version 0.4.3 (02/10/06) fixed colors for [testing] packages
* version 0.4.2 (01/10/06) AUR comments, SAFE flag support + yaourt -Qs now in color
* version 0.4.1 (16/09/06) added option to cancel compiling
* version 0.4-2 (15/09/06) pacdiffviewer 0.3.3: more editors support added
* version 0.4 (13/09/06) minor bugs fixed
* version 0.3.9 (05/09/06) saving cvs/svn/git sources + –devel option
* version 0.3.8 (30/08/06) upgrading continues even if a package fails + mercurial support
* version 0.3.7 (23/08/06) compiling with root if sudo isn’t installed
* version 0.3.6 (23/08/06) better support in case sudo isn’t installed
* version 0.3.5 (22/08/06) fixed installation bug of SVN packages
* version 0.3.4 (18/08/06) searching AUR packages without category
* version 0.3.3 (15/08/06) searching for unused orphan packages
* version 0.3.1 (14/08/06) minor bugs fixed
* version 0.3.0 (13/08/06) support for packages in multiple repositories
* version 0.2.9 (12/08/06) new feature : interactive search mode
* version 0.2.8 (03/08/06) new feature : –export for personnal repository support
* version 0.2.7 (02/08/06) PKGDEST support added
* version 0.2.6 (26/07/06) support for groups creation
* version 0.2.5-2 (25/07/06) english translation for pacdiffviewer 0.3.2
* version 0.2.5 (23/07/06) « IgnorePkg » support
* version 0.2.4 (17/07/06) now showing dependencies prior to editing PKGBUILD
* version 0.2.3 (07/10/06) minor bugs fixed
* version 0.2.2 (09/07/06) better sudo detection + orphans detection
&
nbsp; * version 0.2.1 (07/07/06) supporting provides() clauses
* version 0.2 (04/07/06) adding pacdiffviewer 0.3.1 + first release on AUR
* version 0.1.19 (04/07/06) choice of the editor to review PKGBUILD
* version 0.1.18 (29/06/06) supporting AUR packages updates
* version 0.1.10 (27/05/06) using root account
* version 0.1.9 (27/05/06) resetting terminal colors
* version 0.1.8 (26/05/06) first public release


Download yaourt:

On AUR: http://aur.archlinux.org/packages.php?do_Details=1&ID=5863

or directly from the repositories:

[archlinuxfr]
Server = http://repo.archlinux.fr/i686


[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64



Links:

Forum:  http://forums.archlinux.fr/topic28.html
wiki:  http://wiki.archlinux.fr/howto:archlinux:yaourt
Managing .pacsave/.pacnew:    http://wiki.archlinux.fr/howto:archlinux:gerer_pacsave_pacnew

Bugs:  http://bugs.archlinux.fr/index.php?tasks=all&project=3
AUR Page:  http://aur.archlinux.org/packages.php?do_Details=1&ID=5863



Design depuis Archlinux.org
Propulsé par WordPress
© 2010 Archlinux.fr ~ Communauté Francophone Arch Linux