From 61e8daea885221d8345243a5708ef782f3f5e1fa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 3 Jun 2012 08:08:29 +0200 Subject: [PATCH] xbps-bin.8: document the 3 ways to install pkgs, with grammar help by xdave. --- bin/xbps-bin/xbps-bin.8 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bin/xbps-bin/xbps-bin.8 b/bin/xbps-bin/xbps-bin.8 index 683f2a8b..f411c643 100644 --- a/bin/xbps-bin/xbps-bin.8 +++ b/bin/xbps-bin/xbps-bin.8 @@ -1,4 +1,4 @@ -.Dd May 31, 2012 +.Dd June 3, 2012 .Os Void GNU/Linux .Dt xbps-bin 8 .Sh NAME @@ -159,6 +159,15 @@ Install binary package(s) from repository pool by specifying .Em pkgname(s) or .Em package pattern(s) . +Three different ways exist to install packages: by specifying just the +.Em package name , +the best available version from repositories will be installed; by specifying a +.Em package pattern +with '>' '<' '>=' or '<=' +.Em ( foo>=2.0 ) +or by specifying an exact package version delimited +by the equal sign, i.e +.Em ( foo=1.0) . The first repository matching the arguments will be used. The package(s) will be .Em downloaded (if found in a remote repository),