Home >Operation and Maintenance >Linux Operation and Maintenance >Why does linux come with python?
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.
#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!