2012-12-20 11:32:28 +05:30
|
|
|
.Dd December 20, 2012
|
2012-11-06 14:53:07 +05:30
|
|
|
.Os Void Linux
|
|
|
|
.Dt xbps-install 8
|
|
|
|
.Sh NAME
|
|
|
|
.Nm xbps-install
|
|
|
|
.Nd XBPS utility to install and update packages
|
|
|
|
.Sh SYNOPSYS
|
|
|
|
.Nm xbps-install
|
|
|
|
.Op OPTIONS
|
|
|
|
.Op PKG...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility installs and updates packages in the target root directory.
|
2012-12-20 11:32:28 +05:30
|
|
|
The argument
|
|
|
|
.Ar PKG
|
|
|
|
is a package expression, which is explained in the
|
|
|
|
.Em PACKAGE EXPRESSION
|
|
|
|
section.
|
|
|
|
.Sh PACKAGE EXPRESSION
|
|
|
|
A package expression is a form to match a pattern; currently xbps
|
|
|
|
supports 3 ways to specify them:
|
|
|
|
.Bl -dash
|
|
|
|
.It
|
|
|
|
by package name, i.e:
|
|
|
|
.Dq Sy foo .
|
|
|
|
.It
|
|
|
|
by exact package name and version, i.e:
|
|
|
|
.Dq Sy foo-1.0_1 .
|
|
|
|
.It
|
|
|
|
by specifying a package name and version separated by any of the following version comparators:
|
|
|
|
.Bl -item -width xx -compact
|
|
|
|
.Pp
|
|
|
|
.It
|
|
|
|
.Sy <
|
|
|
|
less than
|
|
|
|
.It
|
|
|
|
.Sy >
|
|
|
|
greater than
|
|
|
|
.It
|
|
|
|
.Sy <=
|
|
|
|
less or equal than
|
|
|
|
.It
|
|
|
|
.Sy >=
|
|
|
|
greater or equal than
|
|
|
|
.Pp
|
|
|
|
Example:
|
|
|
|
.Dq Sy foo>=2.0 .
|
2012-11-06 14:53:07 +05:30
|
|
|
.Sh OPTIONS
|
2012-11-06 15:03:29 +05:30
|
|
|
.Bl -tag -width -x
|
2012-11-06 14:53:07 +05:30
|
|
|
.It Fl A, Fl -automatic
|
|
|
|
Enables automatic installation mode, i.e. package will be treated as orphan
|
|
|
|
if no package is depending on it directly.
|
|
|
|
.It Fl C, Fl -config Ar file
|
|
|
|
Specifies a full path to the XBPS configuration file.
|
|
|
|
.It Fl c, Fl -cachedir Ar dir
|
|
|
|
Specifies a full path to the cache directory, where binary packages are stored.
|
|
|
|
.It Fl d, Fl -debug
|
|
|
|
Enables extra debugging shown to stderr.
|
|
|
|
.It Fl f, Fl -force
|
|
|
|
Forcefully install target package even if another version is already installed,
|
|
|
|
overwritting its package files.
|
|
|
|
.It Fl h, Fl -help
|
|
|
|
Show the help usage.
|
|
|
|
.It Fl n, Fl -dry-run
|
2012-11-06 15:03:29 +05:30
|
|
|
Dry-run mode. Show what actions would be done but don't do anything.
|
2012-11-06 14:53:07 +05:30
|
|
|
.It Fl R, Fl -repository Ar uri
|
|
|
|
Default repository to be used if no repository is specified in configuration file.
|
|
|
|
.It Fl r, Fl -rootdir Ar dir
|
|
|
|
Specifies a full path for the target root directory.
|
|
|
|
.It Fl s, Fl -skip-sync
|
|
|
|
Skip synchronizing remote repository index files.
|
|
|
|
.It Fl u, Fl -update
|
|
|
|
Update target package(s) rather than install. If
|
2012-12-20 11:32:28 +05:30
|
|
|
.Op PKG
|
2012-11-06 14:53:07 +05:30
|
|
|
not set, all installed packages will be updated.
|
|
|
|
.It Fl v, Fl -verbose
|
|
|
|
Enables verbose messages.
|
|
|
|
.It Fl y, Fl -yes
|
|
|
|
Assume yes to all questions and avoid interactive questions.
|
|
|
|
.It Fl V, Fl -version
|
|
|
|
Shows the XBPS version.
|
|
|
|
.Sh FILES
|
2012-11-21 10:00:28 +05:30
|
|
|
.Bl -tag -width /var/db/xbps/.<pkgname>.plist
|
2012-11-06 14:53:07 +05:30
|
|
|
.It Ar /etc/xbps/xbps.conf
|
|
|
|
Default XBPS configuration file.
|
2012-11-21 10:00:28 +05:30
|
|
|
.It Ar /var/db/xbps/.<pkgname>.plist
|
|
|
|
Package metadata properties.
|
2012-11-06 14:53:07 +05:30
|
|
|
.It Ar /var/db/xbps/pkgdb.plist
|
2012-11-21 10:00:28 +05:30
|
|
|
XBPS package database.
|
2012-11-06 14:53:07 +05:30
|
|
|
.It Ar /var/cache/xbps
|
|
|
|
Default XBPS cache directory.
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr xbps-create 8 ,
|
|
|
|
.Xr xbps-dgraph 8 ,
|
|
|
|
.Xr xbps-pkgdb 8 ,
|
|
|
|
.Xr xbps-query 8 ,
|
|
|
|
.Xr xbps-reconfigure 8 ,
|
|
|
|
.Xr xbps-remove 8 ,
|
|
|
|
.Xr xbps-rindex 8
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An Juan Romero Pardines <xtraeme@gmail.com>
|
|
|
|
.Sh BUGS
|
|
|
|
Probably, but I try to make this not happen. Use it under your own
|
|
|
|
responsability and enjoy your life.
|
|
|
|
.Pp
|
|
|
|
Report bugs in http://code.google.com/p/xbps.
|