1. Installing and Removing Packages

This is done with two simple commands:

urpmi <package_name>

With this command the package_name will be installed if it exists. If the package contains the package_name string it will also work. If more than one package matches, you will see a numbered list of potential matches: just type the number of the one you are interested in and tap Enter.

If the package you are trying to install has dependencies (other packages it needs to function correctly) its list will be displayed. Review it and press the Y key to install all packages.

urpme <package_name>

This command will remove the package package_name. If other installed packages depend on the one you are trying to remove, a list will be presented along with the reason why they will have to be removed. Review the list and press the Y key to remove all packages.

[Tip] Tip

Both urpmi and urpme support the --auto option to handle the dependencies automatically, without further prompts.

Consult the urpmi(8) and urpme(8) man pages for more information about these commands' options.