Created
February 10, 2014 22:41
-
-
Save hicolour/8925730 to your computer and use it in GitHub Desktop.
yaourt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unique syntax of Yaourt and Pacman | |
Synchronize with the repository db package: | |
# pacman -Sy | |
Upgrading your entire system: | |
# pacman -Su | |
Forcing the system update skipping errors: | |
# pacman -Suf | |
Install one or more packages: | |
# pacman -S <package-name> <package-name-2> | |
Remove one or more packages: | |
# pacman -R <package-name> <package-name-2> | |
Remove a package and its dependencies: | |
# pacman -Rs <package-name> | |
Remove a dependency of the package (useful for re-installing the same): | |
# pacman -Rdd <package-name> | |
Empty the cache and remove unused repo: | |
# pacman -Scc | |
Search for an installed package: | |
# pacman -Q <package-name> | |
Finding information on an installed package: | |
# pacman -Qi <package-name> | |
Membership of the file-packages: | |
# pacman -Qo <package-name> | |
or: | |
# pacman -Qo /path/of/file | |
Install a package is not present in the repository: | |
# pacman -U /path/<package-name>.tar.gz | |
Download a package without installing it: | |
# pacman -Sw <package-name> | |
Remove unused dependencies: | |
# pacman -R $(pacman -Qdtq) | |
For more information visit WiKi or pacman man. | |
Yaourt (Yet AnOther User Repository Tool) | |
Installation: | |
To install Yaourt open a terminal as root and modify with your favorite editor the configuration file of pacman: | |
# nano /etc/pacman.conf | |
at the end of the file and add the lines: | |
[archlinuxfr] | |
SigLevel = Optional TrustAll | |
Server = http://repo.archlinux.fr/$arch | |
save and run the command: | |
# pacman -Sy base-devel yaourt | |
Additional Features: | |
In addition to all the features of pacman, yaourt includes many additional features and is recommended to be used with a simple user and not root. Let’s see what they are and how to use them. | |
Search and install a package: | |
$ yaourt <package-name> | |
Update the system also including the installed packages from the AUR: | |
$ yaourt -Syua | |
Update packages on the server git, svn bzr: | |
$ yaourt -Syu -devel | |
Create a package from source: | |
$ yaourt -Sb <package-name> | |
Manage (modify, merge, remove) the *. Pacnew or *. Pacsave: | |
$ yaourt -C | |
Download the PKGBUILD for this package in the AUR: | |
$ yaourt -G <package-name> | |
Back up the Local Database: | |
$ yaourt -B | |
Display statistics about installed packages etc.: | |
$ yaourt --stats | |
To learn early and quickly these commands you should use Yaourt-GUI, a gui for pacman and yaourt bash commands that returns to its use so as to store them and use them when they become more practical. Obviously the project is “made alexiobash.com” and you can find it HERE or in the Project section of this site. | |
Guide of the old site dark-linux.net | |
ArchLinux, Linux archlinux, li |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment