What is the relationship between yum, rpm, and repo from CentOS installation R?
Install the software by double-hitting .exe (or. dmg) in the graphic interface, which may cause great discomfort on the Linux server. Previously, I used Google directly, and threw the installation command directly to bash no matter how many days, so I hope to install it smoothly ......
But today, when I want to reinstall the R language, since it was previously manually compiled and installed, now you need to use yum for installation, but there is always an error (yum installation processes some dependencies to make rstudio-server Run Smoothly ). I don't want to endure this kind of feeling, so I understood the relationship between yum, rpm, and repo:
Software Package Management System
First, yum, rpm, and repo all belong to the software package management system. The problem with re-installing the R language that I encountered today is the lesson of blood and tears: less than had to compile and install the software on their own, or it would be a mess after a long time of management, most software can be uniformly installed and managed through the Linux software package management system. The Linux release moderator should have two major package management technical camps: deb of Debian, and Red Hat. rpm:
Package Management System |
Release (partial list) |
Debian Style (. deb) |
Debian, Ubuntu, Xandros, Linspire |
Red Hat Style (. rpm) |
Fedora, CentOS, Red Hat Enterprise Linux, OpenSUSE, Mandriva, PCLinuxOS |
To put it bluntly, Ubuntu. deb is equivalent to CentOS. rpm is equivalent to Windows. .exe is equivalent to OSX. dmg.
Upper and lower layer software package tools
A software package management system usually consists of two types of tools: the underlying tool is used to install and delete Software Package files (rpm); the upper-layer tool completes metadata search and dependency parsing (yum ).
We can use yum and rpm to install software: