Home  >  Article  >  Operation and Maintenance  >  Why does linux come with python?

Why does linux come with python?

青灯夜游
青灯夜游Original
2019-05-21 18:49:526345browse

The reason why linux comes with python: the linux operating system itself requires python, such as linux software upgrade tools yum, apt-get, etc. Among the various scripting languages ​​​​in Linux, in addition to the various shells that come with the system itself, the python language is the most used.

Why does linux come with python?

#Because there are many needs of the operating system itself, all of which require Python.

For example, Linux software upgrade tools, Red Hat-based yum, and Debain/Ubuntu-based apt-get, are all based on Python. And their versions must remain the same as the original ones. Even if you upgrade the Python version, you must pay attention to the fact that the scripts of the old version can still be used normally.

It can be said that among the various scripting languages ​​​​in Linux/Unix, in addition to the various shells that come with the system itself, the other one is the Python language that is used the most. Some systems such as FreeBSD also come with Ruby.

The above is the detailed content of Why does linux come with python?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn