.TH zpm-repo 8 2018-11-30 "ZPM 0.2" .SH NAME zpm-repo \- manage remote package repositories .SH SYNOPSIS .B zpm repo [ .BI -R " path" ] [ .BI -d " path" ] [ .I subcommand ... ] .SH DESCRIPTION zpm-repo manages remote repositories .PP zpm-repo operates in several modes: list, add, del(ete), url, .SS list lists each defined remote repository, along with its priority, url, and a unix timestamp of the last time it was refreshed. .SS add zpm-repo add \fIname url\fR .PP add a new repository. The name is arbitrary. .SS del zpm-repo del \fIname\fR .PP Delete the named repository. Also delete any cached packages downloaded from this repository. .SS url zpm-repo url \fIname [ newurl ]\fR .PP Print or set the url of a given repository. .SS pri zpm-repo pri \fIname [ newurl ]\fR .PP Print or set the priority of a given repository. .SS fetch zpm-repo fetch \fIname downloadargs\fR .PP download a given package, download is an alias for fetch. .SS update zpm-repo update \fIname\fR .PP Update repository metadata. Pull is an alias for update. .SS packages zpm-repo packages \fIname\fR .PP List packages contained in a repo. .SS contents zpm-repo contents \fIname package\fR .PP List files contained in a given package of a repo. .SS purge zpm-repo purge \fIname purgeinfo\fR .PP Deletes packages from the repository package cache. Deletes all packages if purgeinfo is not given. .SH OPTIONS .TP \-R specify a root directory for packages .TP \-d specify a zpm database where repository information is stored. .SH EXAMPLES zpm repo .SH EXIT STATUS 0 on success non zero on failure .SH FILES /var/lib/zpm/local.db .SH ENVIRONMENT ZPMDB .SH AUTHOR Nathan Wagner .SH SEE ALSO .BR zpm (8) .BR zpm-fetchurl (8)