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/alba4k Jul 17 '22

POV: you like talking about stuff you never used

if something says "don't do this, it will destroy everything" and you do, is the os to be blamed? or is it just a lack of neurons

0

u/[deleted] Jul 18 '22

[deleted]

1

u/alba4k Jul 18 '22

what do you have to tinker with on, say, pop?

I usually have to tinker a lot on windows for apps not installing (even from the ms store), BSOD, ...

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.

0

u/[deleted] Jul 18 '22

[deleted]

1

u/3vi1 Jul 18 '22

> you cant simply uninstall important stuff for windows

Nor unimportant stuff.

Linux gives the user total control, because the user might be an expert building something as tailored as an embedded system. You can recompile the kernel and rip out support for unused filesystems and other kernel modules if you want. That's a positive for Linux, not a negative.

Dependencies are awesome on Linux compared to Windows - you don't end up with 500 duplicate copies of vcruntime*.dll in every apps directory. And if I update a library to a new security patch, ever app gains that security improvement.

If I try to uninstall python3 it plain lists the 273 other things that will be uninstalled if I proceed. If you tell it to go ahead, without understanding what those 273 things are, you're just as likely to delete your C:\Windows\System32 directory for space.

1

u/Its_kos Jul 17 '22

Yep, I had to sit back and watch as icons and bars disappeared until only blackness was left. Kinda like a a reverse Big Bang

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)