The Pisi Linux CLI Package Management   Leave a comment

CLI Package Management

This is a guide to the CLI commands available for PiSi – the Pisi Linux package management system.For general usage and information on the CLI (Commmand-Line Interface) itself

For information on the PiSi GUI package manager

Pisi Commands

General information:

  • Usage: pisi [options] [arguments]
  • Most of the commands have an abbreviated form (shown within brackets). For example: pisi it amarok instead of pisi install amarok
  • A lot of the commands allow you to be selective when using arguments. For example: pisi install amarok firefox krusader digikam. Or, where a command such as pisi up would upgrade all packages, you could restrict it to specific packages: pisi up amarok firefox and so on.
  • Default name for repository index file is pisi-index.xml, but compressing it as pisi-index.xml.bz2 can be used to reduce bandwidth usage.
  • Options:

–version                             Show program’s version number and exit

-h [–help]                           Show this help message and exit

-D [–destdir] arg                Change the system root for PiSi commands

-y [–yes-all]                        Assume yes in all yes/no queries

-L [–bandwidth-limit] arg   Keep bandwidth usage under specified KB’s

-v [–verbose]                     Detailed output

-d [–debug]                       Show debugging information

-N [–no-color]                   Suppresses all colouring of PiSi’s output

-u [–username] arg

-p [–password] arg


Command Function Example
add-repo (ar) Add a repository (remote) pisi add-repo
Add a repository (local) pisi add-repo /home/example/pisi/repo/pisi-index.xml
blame (bl) Package owner and release information pisi blame package-name
build (bi) Build PiSi packages pisi build /home/example/pisi/repo/package/pspec.xml
check Verify installation pisi check package-name
clean Clean stale locks pisi clean
configure-pending (cp) Configure pending packages pisi configure-pending
delete-cache (dc) Delete cache files pisi delete-cache
delta (dt) Creates delta packages
disable-repo (dr) Disable repository pisi disable-repo repo-name
emerge (em) Build & install PiSi source packages from repository pisi emerge package-name
enable-repo (er) Enable repository pisi enable-repo
fetch (fc) Fetch a package pisi fetch package-name
graph Graph package relations pisi graph package-name
help (?) Prints help for given commands pisi help or pisi help package-name
history (hs) History of pisi operations pisi history
index (ix) Index PiSi files in a given directory pisi index
info Display package information pisi info package-name
install (it) Install PiSi packages pisi install package-name
list-available (la) List available packages in the repositories pisi list-available repo-name
list-components (lc) List available components pisi list-components
list-installed (li) Print the list of all installed packages pisi list installed
list-newest (ln) List newest packages in the repositories pisi list-newest
list-pending (lp) List pending packages pisi list-pending
list-repo (lr) List repositories pisi list-repo
list-sources (ls) List available sources pisi list-sources
list-upgrades (lu) List packages to be upgraded pisi list-upgrades
rebuild-db (rdb) Rebuild databases pisi rebuild-db
remove (rm) Remove PiSi packages pisi remove-repo package-name
remove-repo (rr) Remove repositories pisi remove-repo repo-name
search (sr) Search packages pisi search search-key1 search-key2
search-file (sf) Search for a file pisi search-file /path/file
update-repo (ur) Update repository databases pisi update-repo repo-name
upgrade (up) Upgrade PiSi packages pisi upgrade
upgrade -x (up -x) Upgrade excluding named PiSi package or groups pisi upgrade -x package-name or pisi upgrade -x detsktop.kde

Veröffentlicht 15. Oktober 2014 von groni in Allgemein

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

Du kommentierst mit Deinem Abmelden / Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s

%d Bloggern gefällt das: