In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Suse linux zypper command how to use, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Zypper se xxxxx is a search package
Zypper in xxxxx is equivalent to your apt-get install xxxx.
Zypper rm xxxx deletion
Zypper up xxxx update software
In the past, the most commonly used online software installation tool for linux such as red hat or debian is yum or apt-get command, but suse linux has a more useful tool: zypper.
Suse official source
Zypper ar http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.3/repo/oss/suse main
Zypper ar http://download.opensuse.org/distribution/11.3/repo/non-oss/suse/ nonoss
Zypper ar http://download.opensuse.org/update/11.3/suse update
After adding, you need to refresh:
Zypper refresh
Common command
Install a software package
Zypper install package_name
Install a version of the software package
Zypper install package_name=version
Install all software packages that start with a word name
Zypper install package_name*
Uninstall a software package
Zypper remove package_name
Upgrade a software package
Zypper update package_name
To install and remove multiple packages at a time, use + /-or ~ /! Modify keys to install and delete packages at one time:
Zypper install emacs-vim
Or:
Zypper remove emacs + vim
You can use this command to get a list of all available new packages:
Zypper list-updates
Similarly, to list all the required packages, use:
Zypper list-patches
The specific software management is as follows:
Install, in installation package.
Remove, rm delete the software package.
Verify, ve verify the integrity of the dependencies of the software package.
Update, up updates the installed packages to the new version.
Dist-upgrade, dup performs the upgrade of the whole system.
Source-install, si installs source code packages and their compilation dependencies.
For example: upgrade openssh
Uninstall openssh with zypper first
Then install a new openssh package (either rpm or tar)
Note: configure network or yast under / etc/sysconfig/network
Yast configuration
After reading the above, have you mastered how to use suse linux's zypper command? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.