How to upgrade packages or install them from AURFollow @ggarron
Arch Linux have some kind of community driven repository, AUR (Arch User Repository).
There are a lot of packages there, you may want to install, the easiest way to do it, is using YAOURT (Yet AnOther User Repository Tool), this tool, will let you install packages from the AUR repository, as well as, the official Arch Linux repositories.
Now that you know that this great tool exists, you will have to install it:
We will get it from the AUR repository :)
Go to your builds directory, create it if it does not exists
Get the Tarbal file
tar xvzf yaourt.tar.gz
And install it:
makepkg -s -i
And that is it, you have now the great tool installed.
Lets see what you can do with it.
The output will be:
1 extra/epiphany 2.26.0-1 (gnome) A GNOME2 web browser based on the mozilla rendering engine. 2 extra/epiphany-extensions 2.26.0-1 Various extentions for the Epiphany web browser 3 aur/epiphany-aqd 2.24.3-1 (30) Epiphany web browser, with patch to quit and save session, open popup and new window in new tab. 4 aur/epiphany-extension-sessionsaver 4-5 (20) Automatically opens all tabs that were open before closing Epiphany 5 aur/epiphany-extensions-svn 1712-1 (2) Various extentions for the Epiphany web browser 6 aur/epiphany-game 0.7.0-1 (3) Epiphany is a multiplatform clone of Boulderdash 7 aur/epiphany-svn 8192-1 (4) A GNOME2 web browser based on the mozilla rendering engine. 8 aur/epiphany-unofficial-extensions 1.0-3 (Out of Date) (29) a collection of unofficial epiphany extensions 9 aur/epiphany-webkit 2.27.1-3 (119) A GNOME2 web browser using the experimental webkit rendering engine 10 aur/flover 9-4 (Out of Date) (23) epiphany extension for download video from youtube or dailymotion 11 aur/nvu-extension-epiphany 1.0-1 (8) Gnome's Epiphany Browser extension for Nvu ==> Enter n° (separated by blanks, or a range) of packages to be installed ==> ----------------------------------------------
Now you can install, one or more packages.
Search for packages
yaourt -Ss asterisk
You may see somethink like this
aur/asterisk 184.108.40.206-1 [installed] (Out of Date) (30) A complete PBX solution aur/asterisk16 220.127.116.11-1 (3) A complete PBX solution aur/asterisk-addons 1.4.7-1 (15) Additional modules for Asterisk aur/asterisk-sounds 1.2.1-3 (7) Voicemail voices for Asterisk aur/chan_capi 1.1.2-1 (1) A module for Asterisk to provide CAPI based ISDN/Telephony hardware support. This module provides the connection between the PBX software and ISDN Hardware which provides a CAPI 2.0 compatible interface. aur/chan_capi-fb 1.1.2-1 (0) A module for Asterisk to provide CAPI based ISDN/Telephony hardware support. This module provides the connection between the PBX software and ISDN Hardware which provides a CAPI 2.0 compatible interface. This version is extended for Capi-over-TCP support aur/dahdi 18.104.22.168-2 (4) DAHDI drivers for Asterisk aur/dahdi-tools 22.214.171.124-1 (2) DAHDI tools for Asterisk aur/freepbx 2.5.1-2 (4) Full-featured PBX web application for Asterisk aur/haskell-agi 1.2.2-1 (1) A library for writing AGI scripts for Asterisk aur/iaxclient 2.1beta3-1 (1) Multiplatform IAX library for creating telephony solutions that interoperate with Asterisk aur/pyst 0.2-1 (2) Python Asterisk Gateway Interface (AGI) bindings aur/zaptel 126.96.36.199-1 (8) Zapatel Drivers for Asterisk
Upgrade your system
This will work just like
pacman and will upgrade the system from the repositories.
yaourt -Syu --aur
This will upgrade the system from the repos, but also from AUR, if there are packages coming from there in your system.
Those are maybe the most used options, a better list I took from the yaourt page is this.
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
- 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
- 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
- –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