Yum usage summary

Source: Internet
Author: User
Yum usage summary the basic operations of yum include software installation (local, network), upgrade (local, network), uninstall, and some query functions. Yuminstalllrzsz-yyuminstallvim-yyuminstalltcpdump-yyuminstallsysstat-y yum usage summary
Basic yum operations include software installation (local, network), upgrade (local, network), uninstall, and some query functions. Yum install lrzsz-yyum install vim-yyum install tcpdump-yyum install sysstat-y svn yum install subversion-y scp yum install openssh-clients-y telnet yum-y install telnet download tool yum install wget-y compression tool yum install-y unzip zip configure in case of this exception: error: no acceptable C compiler found in $ PATH yum install gcc-y-bash: make: command not found yum-y install automake autoconf libtool make # yum Install bochs if there is a local rpm file, you can use # yum localinstall ur. rpm causes yum to search for the data in the existing repository (usually connected to the repository to download the updated data first). If this software is found, it analyzes its dependencies and then downloads and installs the required software. If you need to uninstall it, you can use # yum remove bochs or # yum erase bochs, which will also dissolve the corresponding dependencies. if you delete firefox, R will be deleted at the same time, because R relies on firefox to update a software, you can use # yum update firefox. if it does not contain the following program name, all software that can be upgraded will be upgraded. If obsolete software needs to be processed (such as deleted), you can add the -- obsolete parameter or use upgrade. If you need more automated operations (to avoid answering some questions), you can also add some parameters, such as # yum-y upgrade. if you finish a system-level upgrade, a lot of rpm and other things will be downloaded, this will occupy a lot of hard disks. you can use # yum clean packages to delete the relevant rpm files. Others include headers, packages, cache, metadata, all to see which rpm provides a program that can use $ yum provides/bin/rpm and $ yum list rpm will list rpm-related information, while $ yum list info gives detailed instructions, where can I use yum to install the file? View/etc/yum. conf to check which files have been installed, cat/var/log/yum. log has a cachedir setting. by default, files downloaded are not saved in/var/cache/yum by default, and are automatically deleted after installation. Modify keepcache and change 0 to 1. That is: cachedir =/var/cache/yumkeepcache = 1 ========================= Other download gitgit clone git: // canonware.com/jemalloc.git Download wget http://redis.googlecode.com/files/redis-2.6.14.tar.gzyum List | grep XXX install rpm-ivh package name (* supported): install rpm package rpm-e package name (not supported *): uninstall rpm Package
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.