this post was submitted on 16 Jun 2023
128 points (100.0% liked)

Memes

1357 readers
4 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AccountMaker@slrpnk.net 16 points 1 year ago (2 children)

When I was first starting out my programming adventures with Python, someone told me that I should work with Python 3 instead of 2 because that's what will be maintained in the future (this was some 8 years ago). I decided to listen and when I got home I opened up my terminal, wrote:

sudo apt-get remove python

Followed by

sudo apt-get install python3

Only to be suddenly greeted with:

sudo: command not found

[–] madeindjs@lemmy.ml 4 points 1 year ago (1 children)

I remember I did the same mistakes few years ago. If I'm not mistaken, there is a big warning message when you try to remove Python, no?

[–] SubArcticTundra 2 points 1 year ago

Why does removing python remove half the OS though? Does it remove all the things that depend on it?

[–] copylefty 2 points 1 year ago

Haha I've done this.

I somehow did some bash wizardry that reinstalled all the packages that were removed with python and was good to go. Nice to see someone else did the exact same thing though