YUM software management, yum Software
YUM is an RPM front-end program designed to solve the RPM dependency problem, rather than manually installing all the software on which it depends. It uses the repository to save and manage RPM packages. The repository configuration files are saved in the/etc/yum. repos. d/director
YUM--RPM Package Management ToolsHow to use:Yum install-y vim-enhanced (Install vim-enhanced pack)Yum Remove vim-enhanced (unload vim-enhanced pack)Yum List (list RPM package Library, network resources)Yum List |grep vim (List of packages with vim characters, with @ is already installed, not with the installed)
Configure the network yum source and local yum source for RHEL7.2 and RHEL6.5, rhel7.2rhel6.5
RHEL7.2 configure local yum Source
[Root @ localhost ~] # Monut/dev/sr0/mnt # attach a cd
[Root @ localhost ~] # Rm-rf/etc/yum. repos. d /*
[Root @ localhost ~] # Vim/etc/yum. repos
Configuration and usage of local yum source and network yum source in CentOS 6.5
Configuration and usage of local yum source and network yum source in CentOS 6.5
1. Local yum Source
1. The system has installed the yum software pac
1. The origins of YumTo address the dependencies between programs, Redhat has introduced a tool called update. Although this tool has achieved its purpose, the user experience is not very good. Later, a Redhat-based two release version of Yellowdog, which also introduced a tool: Yellowdog update modifier, abbreviated to YUM. Because it is more useful than update, it is popular. Later caused Redhat to abandon update without using Yum2. Features of YumY
On the internet to see someone like the following summary
Yum-y Update
Upgrade all packages, change software settings and system settings, upgrade the system version kernel
Yum-y Upgrade
Upgrades all packages, does not change software settings and system settings, System version upgrades, the kernel does not change
Test the difference between the so-called Yum
Configure the yum repository and rpm package, and the yum repository rpm
Job 1:
1) Add a 15 gb scsi hard disk before enabling Linux.
2) enable the system, right-click the desktop, and open the terminal.
3) It is a newly added hard disk partition. The size of a primary partition is 5 GB, and the remaining space is extended. One logical partition is divided on the extended partition, And the size is 5 GB.
N has not been written for a long time. His life lies in sports. His blog lies in updates. Let's update it.
The platform is still in RedHat 5. The preparation is very simple. You only need a DVD.
Of course, the old saying is:VmwarevmNot a physical machine, but mostly the same, not exactly!
What is the yum server used? Simply put, it is used to install software. Isn't there a saying that using a computer is equivalent to using software? Alth
Red Hat Enterprise Linux Server (RHEL) Yum installs the software when this system is not a registered with the portal. Portal support would be disabled. Red Hat Enterprise Linux Server (RHEL) Yum service is paid because there is no payment, so yum can not be used to install software, such as RHEL want to install LNMP must first set up
In the current network environment, in most cases, CentOS or redhat (for example, CentOS) server is isolated from the public network, so need to find a server to mount their own Yum source.First, the offline Yum source package productionOffline yum source can download image files from the official website directly (how to use the following will be introduced), yo
Based on redhat6.4 local yum and ftp yum source configuration, redhat6.4ftpyum SourceZookeeper is the process of configuration in my project. There is absolutely no problem:
When the program is updated, some installation packages are missing, and the lack of dependency Packages may cause various problems during RPM installation. However, yum is used for installat
First, prefaceThe configuration of Yum was described earlier (please visit http://windchasereric.blog.51cto.com/5419433/1676777 for details). But there is no problem, although we have the warehouse point to an available warehouse server, but with the continuous upgrade and revision of Linux, we still need to constantly modify the warehouse configuration files, if only one is OK, if we have more than a Linux system, then the change in the workload will
System environment: CentOS 6.7 Environment, vmwareworkstation virtual machine softwareYum Source: Domestic Yum Source 163We all know that using Yum can easily install some of the most commonly used software. and a lot of RPM packages need to manually solve the dependency problem when installing, it is very laborious for beginners. The use of yum installs automati
RPM-UVH http://repo.webtatic.com/yum/ ...
My is php5.4,centos6.7, but update the Yum source still can't find Php54w-devel, where is the Yum source available?Or do you want yum install php54w before you can execute php54w-devel after you download the yum source?
Reply
Test yum-y upgrade and yum-y update respectively.
Before upgrade
System Version: CentOS5.5
Kernel version: 2.6.18-194. el5
Simple configuration file modification before Upgrade
After yum-y upgrade is upgraded
System Version: centos5.7
Kernel version: 2.6.18-194. el5
System and software configurations are not modified
After
Problem:$ yumFile "/usr/bin/yum", line 30Except Keyboardinterrupt, E:^Syntaxerror:invalid syntaxReason:This is because Yum uses Python as the command interpreter, which can be found from the first line of the/usr/bin/yum file #!/usr/bin/python. Compatibility between Python versions is not very good, making 2. There is a syntax inconsistency between version X and
Problem:$ yumFile "/usr/bin/yum", line 30Except Keyboardinterrupt, E:^Syntaxerror:invalid syntaxReason:This is because Yum uses Python as the command interpreter, which can be found from the first line of the/usr/bin/yum file #!/usr/bin/python. Compatibility between Python versions is not very good, making 2. There is a syntax inconsistency between version X and
Configure YUM in Linux and YUM in Linux
1. Create a mount directory
# Mkdir/mnt/iso
Mount the CD to the/mnt/iso directory # mount-o loop/dev/hdc/mnt/iso
2. Go to the/etc/yum. repos. d/directory # cd/etc/yum. repos. d/
Create a repo file # mkdir repo
Copy the file with the suffix ". repo" to the repo folder # mv *. r
Centos7 installing the Python3 will conflict with the Python2.7 version, causing the Yum version to match, causing Yum to be unable to use the problem.Cause: Yum calls Python, and the boot/usr/bin/yum is a Python script. Yum is not compatible with python2.7, so
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.