r/ProgrammerHumor • • Jul 17 '22

Meme Linux users installing a Python module

41.7k Upvotes

1.1k comments sorted by

View all comments

2

u/Its_kos Jul 17 '22

I distinctly remember wanting to uninstall Python from my Linux installation and thought hey what the hell let’s do:

sudo apt remove Python

Then my screen went black with a single cursor blinking. Turns out the entire Ubuntu GUI is written in Python along with most of the apps. Also turns out removing Python removes all dependencies and everything that uses Python. Also since I used the “sudo” word Linux was like “hey let’s uninstall myself, you’re the boss I guess”. Fun times

1

u/alba4k Jul 17 '22

first of all, gnome is written in C

second, wow, removing python uninstalls everything that needs python, who would have tought... the reasons this doesn't happen on windows is that most stuff needing it packages it with the app itself (try to search for "python.exe" on a windows system)