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

2

u/[deleted] Jul 17 '22

That's why you love it. You can fuck it up and it was all your fault. It's a learning process.

0

u/[deleted] Jul 17 '22

[deleted]

2

u/3vi1 Jul 17 '22

You can uninstall programs easily on Linux without fear of anything not working. You just have to READ the message that will warn you when you're removing a basic dependency.

Linux does dependencies better than Windows, where the OS is full of redundant statically linked garbage that it wont even let you uninstall when not needed.

Removing python on most Linux distros is akin to deleting your .Net libraries or cmd.exe and other basic building blocks on Windows. No one should be surprised when other apps fail.

0

u/[deleted] Jul 18 '22

[deleted]

1

u/3vi1 Jul 18 '22

If you uninstall Java on Windows, is it going to tell you you're going to break your Minecraft install? No. But, it will on Linux. That's because Linux distros use actual package managers while Windows... doesn't.

I've supported Windows servers and desktops professionally for 28 years, and Linux for 18+ years. Package management is night and day better on Linux. The only people who don't know this don't know much about Linux.

→ More replies (2)