Project

General

Profile

Support #509

Updated by Daniel Curtis over 9 years ago

Yaourt is a great tool for easily installing packages from the Arch User Repository. This is a simple guide for installing and basic usage of yaourt. 

 h2. Install yaourt 

 * Download the packages for yaourt: 
 <pre> 
 cd /tmp 
 wget https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz && wget https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz 
 tar xzf *.gz *.tgz 
 </pre> 
 #* Install package-query: 
 <pre> 
 cd package-query 
 makepkg -csi 
 </pre> 
 #* Install yaourt 
 <pre> 
 cd ../yaourt 
 makepkg -csi 
 </pre> 

 h2. Using yaourt 

 * You can install packages (including AUR packages) with 
 <pre> 
 yaourt packagename 
 </pre> 
 #* or 
 <pre> 
 yaourt -Sa packagename 
 </pre> 

 * You can update your system including AUR packages with: 
 <pre> 
 yaourt -Syua 
 </pre> 

 See the yaourt manual page for more information. 

 h2. Examples 

 * Search and install: 
 <pre> 
 yaourt search pattern 
 </pre> 

 * Sync database, upgrade packages, search the AUR and devel (all packages based on cvs, svn, git, bzr(...)-version) upgrades: 
 <pre> 
 yaourt -Syua --devel 
 </pre> 

 * Build package from source: 
 <pre> 
 yaourt -Sb package 
 </pre> 

 h2. Resources 

 * https://wiki.archlinux.org/index.php/yaourt

Back