First off, zypper has more fun.
Add a group so your favorite user can use zypper through sudo.
Use YaST to add a group "zypper" with GID 32000
Modify your favorite user to belong to the group zypper. This is used for password-less zypper usage. Then add the rule to sudo.
Add a new group zypper.
Add your favorite user to the zypper group.
User,group, or user alias %zypper
Host or Host Alias ALL
No Password check
Add command /usr/bin/zypper
Now your user is ready to rock out with zypper.
Add a repository
zypper addrepo (ar) [options] <URI> <alias>
# sudo zypper ar
Index of /distribution/11.0/repo/oss "openSUSE 11.0 OSS"
List all repositories with URI
zypper repos (lr) [options]
# zypper lr -u
Refresh all repositories
zypper refresh (ref) [alias|#|URI]
# sudo zypper ref
List all uninstalled patterns
zypper patterns (pt) [options] [repository]
# zypper pt -u
Install a pattern
zypper install (in) [options] <capability|rpm_file_uri>
# sudo zypper in -t pattern kde4_xgl
Perform a distribution upgrade
zypper dist-upgrade (dup) [options]
# sudo zypper dup
See the zypper wiki
man zypper
#zypper in konqueror







Reply With Quote





Bookmarks