


Linux-xa3t:~ # zypper mr -kt #enable rpm files caching for remote repos Example:7 Adding Repository Linux-xa3t:~ # zypper mr -Ka #disable rpm files caching for all repos Linux-xa3t:~ # zypper mr -rk -p 70 upd #enable autorefresh and rpm files ‘caching’ for ‘upd’ repo and set its priority to 70 Linux-xa3t:~ # zypper mr -d 6 #disable repo #6 Zypper repositories can be modified by alias, number, or URI, or by the ‘–all, –remote, –local, –medium-type’ aggregate options. Repository 'openSUSE-13.1-Update-Non-Oss' is up to date.Īll repositories have been refreshed. Repository 'openSUSE-13.1-Update' is up to date. Repository 'openSUSE-13.1-Oss' is up to date. Repository 'openSUSE-13.1-Non-Oss' is up to date. Or linux-xa3t:~ # zypper lr 4.1) List Repos URI in Table.Ĥ.2) List Repos by priority linux-xa3t:~ # zypper lr -pĮxample:5 Refreshing Repositories. Zypper> Example:4 Listing defined Repositories linux-xa3t:~ # zypper repos Example:3 Open Zypper Shell or session linux-xa3t:~ # zypper sh D, -dry-run Test the removal, do not actually remove. U, -no-clean-deps No automatic removal of unneeded dependencies. u, -clean-deps Automatically remove unneeded dependencies. force-resolution Force the solver to find a solution (even an aggressive one). R, -no-force-resolution Do not force the solver to find solution,let it ask. debug-solver Create solver test case for debugging. C, -capability Select packages by capability. n, -name Select packages by plain name, not by capability. t, -type Type of package (package, patch, pattern, product).

r, -repo Load only the specified repository.

Remove packages with specified capabilities.Ī capability is NAME, where OP is one of =, >. Syntax : zypper help linux-xa3t:~ # zypper help remove linux-xa3t:~ # zypper Examples:2 Getting help for Specific zypper Command. Open the Terminal, type the Zypper command and press enter, it will display all the global options and command that can be used within zypper. Example:1 List the available global options & commands.
