Skip to main content

Is Python mandatory? [Resolved]

One of my friends told me that without Python, Linux cannot get ip, cannot open network stack and can't make "port switching"...

What do you think about that, is python really must for a Linux system or it is just another tool like other interpreters, languages etc...

(also he says BusyBox is not linux, and Android has already Python inside)

Question Credit: tanaydin
Question Reference
Asked October 10, 2018
Posted Under: Unix Linux
3 Answers

Python is not mandatory for Linux, and there are plenty of small "embedded" Linux systems that don't have it.

However, many distributions require it. So RHEL may have a dependency on Python because some of their management tools and scripts have been written in it. On those systems python is a requirement.

credit: Stephen Kitt
Answered October 10, 2018

It isn't necesarry in terms that the system won't function if it isn't there but some distros have tools that are written in Python.

Anaconda, which is the installer for RHEL, CentOS, Fedora, Oracle Linux, and Scientific Linux, is written in Python as are yum and dnf which are the package managers.

portage, which is the package manager for Gentoo, is also written in Python.

credit: Nasir Riley
Answered October 10, 2018
Your Answer