Pisi CLI Operations (package Operations)

Installing Packages

install command with package-name parameter is used in order to install packages. Multiple packages can be

installed by separating the package names by a space.

 pisi install package-name  
 pisi install package-name1 package-name2  

Installing just one package without installing all the upgradable packages available

 pisi it package-name –ignore-safety  

 

Removing packages

remove command with package-name parameter is used in order to remove packages. Multiple packages can

be removed by separating the package names by a space.

 pisi remove package-name  
 pisi remove package-name1 package-name2  

 

Upgrading Packages

upgrade command with package-name parameter is used in order to upgraded packages. Multiple packages

can be upgraded by separating the package names by a space.

 pisi upgrade package-name  
 pisi upgrade package-name1 package-name2  

All available packages can be upgraded by using upgrade command without any parameters.

 pisi upgrade  

 

Excluding Packages from upgrade

To update all the updatable packages except Creating Repository Index

firefox

 pisi upgrade -x firefox  

Similarly, if you don’t want to update the packages that are part of the desktop.kde system component, do :

 pisi upgrade -x desktop.kde  

Updating just one package without updating the others

 pisi upgrade package-name –ignore-safety  

 

Getting Package Information

info command with package-name parameter is used in order to get information about a package. Getting

information for multiple packages can be achieved by separating the packages names by a space.

 pisi info package-name  
 pisi info package-name1 package-name2  

 

Building Packages from Source

build command with package-address parameter is used in order to build packages from source.

 pisi build /home/example/pisi/repo/pisi-index.xml  

 

Building Packages from Source Repository

emerge command with package-name parameter is used in order to build a package and all dependencies

from the source repository.

 pisi emerge package-name  

 

Listing Packages

list-available command with repo-name parameter is used in order to list all packages in the proper repository

 pisi list-available repo-name  

list-available command is used in order to list all packages in the all repositories.

 pisi list-available  

 

Listing Upgrades

list-upgrades command is used in order to list upgrades in all repositories.

 pisi list-upgrades  

 

Listing Installed Packages

list-installed command is used in order to list installed packages.

 pisi list-installed  

list-installed command with repo-name parameter is used in order to list installed packages from a proper repository

 pisi list-installed repo-name  

 

Listing Pending Packages

list-pending command is used for listing pending package operations.

 pisi list-pending  

 

Configuring Pending Packages

configure-pending command is be used in order to configure packages which are not already configured by COMAR

 pisi configure-pending  

 

Searching Packages

 pisi search package1 package2  

 

Checking Packages

check command with package-name parameter is used for checking if the package is installed correctly.

 pisi check package-name