Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the difference between source installation and yum installation

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Most people do not understand the knowledge points of this article "source code installation and yum installation is different", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "source code installation and yum installation is different" article.

First, yum installation and source code installation, different ways

1. Yum installation is to download the rpm package from the yum source locally and install the rpm package. This rpm package is a binary package compiled and installed by someone else. This approach is not so much an installation as a more accurate update.

2, source code installation, download is the source code package, to compile and install, the compilation process, you can set parameters.

Second, yum installation and source code installation, advantages and disadvantages analysis

1. Advantages and disadvantages of yum installation

The advantages of yum installation, operation and maintenance are very clear, install things, convenient and fast, especially without considering package dependency.

Yum installation shortcomings, installation process, human intervention, can not be installed on demand. Install whatever is in the source, and the installed version is relatively low.

2. Advantages and disadvantages of source code installation

The advantages of source code installation, compilation and installation process, you can set parameters, according to the requirements, installation, and the installation of the version, you can choose your own, greater flexibility.

The disadvantage of source installation is that the dependent package is not available or the version is too low due to the installation package is too new or other problems. At this time, it is necessary to solve the problem of package dependency, some packages in the linux system, one depends on one, may install a small thing, it is necessary to solve the dependency problem of a bunch of packages, spend a lot of time to solve the problem of package dependency, gain and lose. Too much source code installation, do not dare to upgrade the system, upgrade the system, may lead to the previous manual installation of things, can not be used.

Many operators believe that the performance of source code installation is better than that of yum installation, and it is definitely better to install it according to the parameters than to install a lot of yum. For those who think so, I can only say that he does not know how to configure. I don't know anything about what I installed. In my opinion, the same version of yum installation and source installation are exactly the same.

Take apache, for example, this thing, which is very common, is used as one of the most extensive tools for web. When installing source code,. / configure, you can add a lot of parameters to achieve customization. Yum installation is also possible, yum installation installed a lot of apache modules, some modules are not used at all, waste system resources and affect performance for no reason. But we can configure httpd.conf, ah, do not need modules, we can not LoadModule ah, by modifying the configuration file, we can achieve the same effect of root code installation. Do not rule out a small number of software, after installation, can not configure the situation, that is, how many things are installed, there are no configuration files to configure.

I think, for people who have just come into contact with linux, source code installation is very necessary, so that you can know what you are doing, during the installation process, you will definitely encounter a lot of problems, encounter problems, solve problems. It's the only way to grow. Don't use yum all the time. If there is something wrong with yum installation, you will be dumbfounded and don't know how to solve it. This is very sad.

The above is about the content of this article on "what is the difference between source installation and yum installation". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report