Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b7bd30b793596885026bf9af06521666c6efc84c
commit b7bd30b793596885026bf9af06521666c6efc84c Author: Miklos Vajna <[email protected]> Date: Thu Apr 2 17:15:30 2009 +0200 docs/pacman-g2: cleanup diff --git a/docs/pacman-g2.txt b/docs/pacman-g2.txt index 8756c1d..903efe9 100644 --- a/docs/pacman-g2.txt +++ b/docs/pacman-g2.txt @@ -11,46 +11,46 @@ the `pacman-g2` command. Here are some basic actions with `pacman-g2`: Actions usually used with remote installation from an FTP server: ---------------- +---- # pacman-g2 -Sy ---------------- +---- Updates the package database. Before searching for packages or installing them from an FTP server, you will have to use this command. ---------------- +---- # pacman-g2 -Su ---------------- +---- Upgrades all packages that are currently installed but a newer version of the package is available on the FTP server. ----------------- +---- # pacman-g2 -Syu ----------------- +---- The combination of the above two, that is the command most users use daily. ----------------- +---- $ pacman-g2 -Sup ----------------- +---- Prints the URL of all packages that pacman-g2 should download. This way you can download the packages anywhere and then just copy them to /var/cache/pacman/pkg. This is very useful if you have limited bandwidth at your computer, but you can access high bandwidth elsewhere. ------------------------ +---- # pacman-g2 -S sendmail ------------------------ +---- Installs sendmail with all of its dependencies from the FTP server. If it conflicts with any package, you will be asked if pacman-g2 is allowed to remove them. --------------------- +---- $ pacman-g2 -Ss perl --------------------- +---- Searches in the package database (on the FTP server). This example will probably display the perl package and all perl modules. @@ -59,22 +59,22 @@ Regular expression based search is also supported. Of course, you can treat packages as normal files, and you can manually add/remove/etc them. Here are some examples: ------------------------------- +---- # pacman-g2 -U zsh-4.2.1-1.fpm ------------------------------- +---- Adds (or if it's already installed, upgrades) the zsh package, which is located in the current directory. ------------------ +---- # pacman-g2 -R qt ------------------ +---- Removes the qt package. --------------------- +---- $ pacman-g2 -Qs perl --------------------- +---- Shows every installed packages whose name contains the string perl. @@ -82,9 +82,9 @@ Generally, if you want to turn off checking for conflicting files, you should use the -f parameter, and if you want to turn off all dependency checking, you should use the -d switch. --------------- +---- $ pacman-g2 -h --------------- +---- This displays all the switches we discussed above, and a lot more. Once again, these are only the basics. _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
