Zypper - is a command line tool for package management in OpenSUSE and SUSE
Enterprise Linux platforms
To Install a Package
$ sudo zypper install <package Name>
To update a package
$ sudo zypper update httpd
To upgrade all the packages
$ sudo zypper update
To view all the available updates
$ sudo zypper list-updates
For a full distribution upgrade
$ sudo zypper dup
To delete a package
$ sudo zypper remove <package_name>
To search for a specific package
$ sudo zypper search <package_name>
To view details about a package
$ sudo zypper info htop
To install patches
$ sudo zypper patches
To lock a specific package
it prevents not remove, upgrade the package
$ sudo zypper al <package_name>
To list the locked packages
$ sudo zypper ll
To remove lock from a package
$ sudo zypper rl <package_name>
To view repositories
$ sudo zypper lr
To view complete URI for the repo
$ sudo zypper lr --uri
regards,
T.Dhanasekar