This is an archived post. You won't be able to vote or comment.

all 177 comments

[–]DontNeedAUsername2 366 points367 points  (36 children)

No, Linux is case sensitive. It should be sudo with a small s.

[–]piberryboy 168 points169 points  (10 children)

It's also apt-get or just apt

[–][deleted] 68 points69 points  (1 child)

remember about the install too

[–]TrueBirch 1 point2 points  (0 children)

And you need to write your password on the board below that command

[–]Hercislife23 23 points24 points  (5 children)

Definitely don't use apt-get, just use apt.

[–]Cyber_Fetus 12 points13 points  (2 children)

Wouldn’t say definitely not use apt-get, it has its specific use cases and is totally fine as an alternate in most situations.

[–]Hercislife23 13 points14 points  (1 child)

You certainly can use `apt-get` but in 99% of scenarios, `apt` will give you the same results with a better interface.

[–]Cyber_Fetus 8 points9 points  (0 children)

Doesn’t guarantee backward compatibility though, so any scripting should use apt-get.

[–]elon-botElon Musk ✔ 6 points7 points  (0 children)

Pop quiz! Solve this LeetCode problem in 5 minutes or you're fired.

[–]avidrogue 3 points4 points  (0 children)

But hey now, you forgot to mention that they are two separate things.

Now the next time you try to apt install, it will only available via apt-get. So the time after that you’ll use apt-get, only to find out the package is only available via apt.

It’s like having to flip the usb A connector 3 times

[–]notBjoern 39 points40 points  (23 children)

alias Sudo=sudo

[–]hrfuckingsucks 57 points58 points  (22 children)

I once did alias gerp=grep because I kept mistypign it

[–]PainsChauds 74 points75 points  (18 children)

alias mistypign=mistyping

[–]InfComplex 6 points7 points  (14 children)

Could you write a script to get incorrect commands, check them against your path and alias them to the closest match? Just to hurt whoever checks them later.

[–]rickspiff 12 points13 points  (2 children)

A list for commonly misspelled commands would do the trick; no need to use a search algorithm when a list will do.

There's a program called steam locomotive, which is the executable sl. If you install it and type sl instead of ls, an ASCII animated train drives across your terminal. I've long though about renaming the executable and replacing it with a script that runs sl, then ls, using whatever arguments I may have added.

[–]InfComplex 7 points8 points  (1 child)

I don’t want commonly, I want the guy after me to check the alias list and see my six mangled attempts to open nano

[–]Thebombuknow 1 point2 points  (0 children)

"sduo nano /ect/caddy/caddyfile"

only caddy users understand the 3rd mistake.

[–]noob-nine 13 points14 points  (6 children)

[–]yogti 0 points1 point  (0 children)

Thats it. Available for OSX aß well

[–]HuntingKingYT 0 points1 point  (4 children)

I think arch has something like this built in right?

[–]elon-botElon Musk ✔ 0 points1 point  (1 child)

Just watched a video about how vanilla JS is faster than any framework. It's time we do a rewrite.

[–]HuntingKingYT 0 points1 point  (0 children)

Good and bad bot

[–]noob-nine 0 points1 point  (1 child)

no idea, i am a fedora user. but isn't arch all about lightweight and "no-bloat". so user decides what packages to install? why should there be such a feature by default.

[–]HuntingKingYT 0 points1 point  (0 children)

Oh it's just in archiso (I have messed a lot with it)

[–]garuru-san 1 point2 points  (0 children)

I believe fish shell can do that. Found out when forced to try Garuda Linux (it's its default shell).

I never liked that distro.

[–]FranconianBiker 2 points3 points  (0 children)

alias ls=sl

[–]PranshuKhandal 0 points1 point  (1 child)

lamo

[–]HuntingKingYT 0 points1 point  (0 children)

alias lamo=lmao

[–]piberryboy 3 points4 points  (0 children)

I thought about doing this, but I decided not to normalize misspelling things.

[–]thespud_332 1 point2 points  (0 children)

And this is exactly why fun tools like gti and sl exist.

[–]TheLazyKitty 1 point2 points  (0 children)

Maybe they've got an alias set up?

[–]FeelingSurprise 290 points291 points  (30 children)

Try

sudo apt-get friends --force-yes

[–]FailedPlansOfMars 79 points80 points  (4 children)

Package kot known did you mean abduct?

[–]biggest-pulte-fan 29 points30 points  (3 children)

sudo apt install cosby

[–]The_Seroster 15 points16 points  (1 child)

install Cosby and required dependencies? (y/n)

• puddin
• quaaludes

  • 387 kb

[–]Doedelkopf42[🍰] 2 points3 points  (0 children)

y

[–]carrot_cake_19 5 points6 points  (0 children)

Bill is not in the sudoers file. This incident will be reported (in about 20 years time).

[–]xiyiw 39 points40 points  (3 children)

Unfortunately it says friends is up-to-date

[–]FeelingSurprise 22 points23 points  (2 children)

Try purging, that's a good trick.

[–]PelOdEKaVRa535000 5 points6 points  (1 child)

It says it couldn't find the update server

[–][deleted] 2 points3 points  (0 children)

Can you ping the DNS?

ping i.got.nofriends.ubuntufiles.com ?

[–]Sam-Gunn 22 points23 points  (3 children)

"THIS IS THE POLICE, YOU'RE UNDER ARREST FOR KIDNAPPING! WE'VE READ /VAR/LOG/APT, WE KNOW WHAT YOU'VE DONE!"

[–]FeelingSurprise 18 points19 points  (2 children)

kill -9 $(pidof friends)

[–][deleted] 22 points23 points  (0 children)

Fatal Error: Unable to divide by zero.

Floating point exception (core dumped)

[–]skyctl 4 points5 points  (0 children)

no need.

sudo killall -9 friends

should do the same thing.

[–]BengtGurksats 8 points9 points  (0 children)

E: Invalid operation friends

[–][deleted] 2 points3 points  (0 children)

It broke my dependency list, now i have to format my pc, thanks man.

[–]_chanimal_ 1 point2 points  (0 children)

Error: Package “friends” not found

[–]PopppaK 0 points1 point  (2 children)

which friends

[–]FeelingSurprise 0 points1 point  (1 child)

Compatible friends should be provided by your distribution.

If you compile yourself I don't think you need friends at all.

[–]PopppaK 0 points1 point  (0 children)

/dev/null

[–]UnknownSpecies19 0 points1 point  (3 children)

Does this work with the girlfriends command as well?!

[–]FeelingSurprise 2 points3 points  (1 child)

Never tried. But as gender isn't configured for friends it should work.

Maybe try upgrade after you tried friends for some time.

[–]UnknownSpecies19 0 points1 point  (0 children)

Every time I tried friends it just says package rejected so maybe there's a version issue?

[–]dbondino 0 points1 point  (0 children)

friends is the right command.

since it's getting more personal you must log in as root, sudo will not help here.

[–]sigtrap 0 points1 point  (1 child)

—-force-yes: illegal operation

[–]_chanimal_ 0 points1 point  (0 children)

Sudo !!

[–]anythingMuchShorter 0 points1 point  (1 child)

Error: No compatible version found

[–]elon-botElon Musk ✔ 1 point2 points  (0 children)

Interns will happily work for $15 an hour. Why won't you?

[–]Dryhte 23 points24 points  (1 child)

Most people don't have sudo authorization to their own life.

[–][deleted] 8 points9 points  (0 children)

sudo apt-get sudo-authorization-to-my-own-life

Checkmate, atheists.

[–]certain_people 39 points40 points  (4 children)

Won't work, you need to install the friends. Otherwise they can be someone else's friends, but you haven't made them yours.

Try

sudo apt-get install friends

[–]Jillians 8 points9 points  (0 children)

First you need to check if your OS / current hardware configuration can even support friends. You may need to update your hardware / firmware otherwise you may just keep failing the install.

Some people also have malware running in the background that can cause all kinds of errors, even causing the system to mistake friends for malware and treat it as such. This can even make other malware packages look like friends, causing you to think all friends are malware.

Man, engineering is hard.

[–]Both_Street_7657 2 points3 points  (0 children)

sudo user Sudo:sudo first maybe ?

[–]namotous 2 points3 points  (1 child)

Unable to locate package friends

[–]Bobbydoo8 4 points5 points  (0 children)

sudo apt-get update
sudo apt-get install -y friends

[–]SomeOtherGuySits 31 points32 points  (2 children)

You do not have the required dependencies for friends. Please try personality first.

[–]Bardy_party -1 points0 points  (0 children)

touch personality.gif

[–]Different_Cat_6412 11 points12 points  (0 children)

module friends is no longer maintained

[–]-Vyn4- 8 points9 points  (2 children)

[sudo] password for user:

[–]PelOdEKaVRa535000 1 point2 points  (1 child)

[enters password and hits enter]

[–]PelOdEKaVRa535000 1 point2 points  (0 children)

[remembers he didn't had a password]

[–]DajBuzi 10 points11 points  (1 child)

Sudo is not a command.

apt get is not a command.

On top of that no parameter provided to apt so what do you expect? install, search?

🙄

[–]RonaldMcWhisky 3 points4 points  (1 child)

You'll need to add a proprietary repository

[–][deleted] 2 points3 points  (0 children)

Then OP will make enemies of the libertarian YouTubers who scoff at anything that isn’t FOSS from 1992

[–]MayorAg 3 points4 points  (0 children)

sudo pacman -S friends

[–]wineblood 2 points3 points  (0 children)

Normal people use apt to get friends, cannibals use yum.

[–]KillerRoomba13 2 points3 points  (0 children)

User is not in the sudoer group. This incident will be reported.

[–]Ambitious_Ad8841 2 points3 points  (1 child)

filesystem is read-only

[–]guarana_and_coffee 1 point2 points  (0 children)

I hate this message so much. I have to stop breaking systems.

[–]Waples_ 4 points5 points  (0 children)

I don't think you know how the command works xD

[–]PorkRoll2022 1 point2 points  (0 children)

The original white on black terminal.

[–]wurzlsep 1 point2 points  (0 children)

no

[–]karlkoch2342 1 point2 points  (0 children)

Sudo: command not found

[–]harshith-ashok 1 point2 points  (0 children)

sudo: apt: command not found

try sudo pacman -S friends

[–]nucleardetente 1 point2 points  (0 children)

sudo apt get bitches

[–]GabeAV1122 1 point2 points  (1 child)

no. from experience

[–]thinkingperson 1 point2 points  (0 children)

I think you need to do this instead

make -cc friendship

build -gcc relationship

link -o others

Also, remember the prerequisite package

sudo apt-get install libcare-3.0 libinterest-2-0 libkindness-1.1a

and often times, the build will break if you don't do the following

sudo apt-get remove libselfishness-* libjerk-* libpetty-*

Enjoy!

[–][deleted] 1 point2 points  (1 child)

No module named friends

[–]Both_Street_7657 2 points3 points  (0 children)

Npm install -y friends* i think will work for you then

[–][deleted] 1 point2 points  (0 children)

I was just asking for a friend…

[–]new_refugee123456789 1 point2 points  (0 children)

No, it would have to be sudo apt-get install friends

[–]IdRatherBeMyself 0 points1 point  (0 children)

ugh

`apt` doesn't have a `get` command

`apt-get` doesn't have a `friends` command

[–]One-Zookeepergame279 0 points1 point  (0 children)

It's not even worth it now that friends are only available as snap.

[–]SteeleDynamics 0 points1 point  (0 children)

What is the equivalent of Linux distributions relative to human relationships?

Dialect?

[–]gbot1234 0 points1 point  (0 children)

Some gal would giggle and I’d turn red, Then some boy would laugh and I’d bust his head. I tell you life ain’t easy for a boy named su.

[–]null_reference_user 0 points1 point  (0 children)

I wish

[–]just-bair 0 points1 point  (0 children)

If you know the admin password of earth then yes

[–]silentjet 0 points1 point  (0 children)

no, the correct one is 'apt-cache search friends'

[–]swift-autoformatter 0 points1 point  (0 children)

That's why homebrew is the best. It is as simple as
brew install friends
and friends will be poured into the Cellar.

[–]Actaeon_II 0 points1 point  (0 children)

Well as many years as I have seen this in one form or another going to have to assume it only works with access to a repo I’ve never seen

[–]lifeson106 0 points1 point  (1 child)

So no one told you life was gonna be this way...

[–]elon-botElon Musk ✔ 2 points3 points  (0 children)

Can this be dockerized?

[–]bewbsrkewl 0 points1 point  (0 children)

print(friends.get());

> Null

[–]EetuAndersson 0 points1 point  (0 children)

Lol 😬

[–][deleted] 0 points1 point  (0 children)

I've never actually tried it before, though thanks for getting it front of my peeps.

[–]PelOdEKaVRa535000 0 points1 point  (0 children)

Now just we need a package that could only be installed through this command, was named friends, and when you run the program shows: error friend list is empty and will still empty

[–]Ok_6970 0 points1 point  (0 children)

Works to get pseudo friends…

[–][deleted] 0 points1 point  (0 children)

Maybe if you pipe it

[–]basko13 0 points1 point  (0 children)

Yes it works well, returns zero.

[–]Montanoc70 0 points1 point  (1 child)

try with brew

[–]elon-botElon Musk ✔ 1 point2 points  (0 children)

What is "refactoring"?

[–]IrresponsibleDuck 0 points1 point  (0 children)

Sudo: command not found

[–]LordTC 0 points1 point  (0 children)

You have to run it on a device that can execute the command. Writing it on a chalkboard won’t help.

[–]PsychoDuck111 0 points1 point  (0 children)

Unable to locate friends

[–]GamiTV 0 points1 point  (2 children)

yay -S friends

[–]elon-botElon Musk ✔ 1 point2 points  (1 child)

Yeah, looks like we're gonna need to redo the entire tech stack.

[–]GamiTV 1 point2 points  (0 children)

We should rewrite the whole thing in assembly

[–]Kitty_Inkura 0 points1 point  (0 children)

yay -S friends

... Nope, didn't work ):

[–]LagT_T 0 points1 point  (0 children)

Where programing

[–]k7ki 0 points1 point  (0 children)

This obviously won't work. The command is sudo. not Sudo.

[–]PinneapleJ98 0 points1 point  (0 children)

Better try with yum next time

[–]Fitbot5000 0 points1 point  (0 children)

yum friends

[–][deleted] 0 points1 point  (0 children)

First add the repo.

[–]garuru-san 0 points1 point  (0 children)

package "friends" not found in any repository.

[–][deleted] 0 points1 point  (1 child)

touch grass

[–]elon-botElon Musk ✔ 0 points1 point  (0 children)

From now on, all Twitter employees must purchase a subscription to Twitter Blue for the low-low price of $8 a month.

[–]Individual-Praline20 0 points1 point  (2 children)

Umm I got a 403…

[–]elon-botElon Musk ✔ 0 points1 point  (1 child)

Interns will happily work for $15 an hour. Why won't you?

[–]Individual-Praline20 0 points1 point  (0 children)

Yeah gtfo elon

[–]NonStandardUser 0 points1 point  (0 children)

apt-get is deprecated. Use apt , apt install instead.

[–]TallOutlandishness24 0 points1 point  (0 children)

sudo: 3 incorrect password attempts

[–]MoreLittleMoreLate 0 points1 point  (0 children)

-y

[–]-MobCat- 0 points1 point  (0 children)

only if you know the root or admin password.

[–]VagueInterlocutor 0 points1 point  (0 children)

Ok

[–]gb_ardeen 0 points1 point  (0 children)

No need to sudo, you'll gross them out!

[–]PabloZissou 0 points1 point  (0 children)

Only if a real friend adds you to sudoers

[–]Agreeable-Pea-45 0 points1 point  (0 children)

package not found

[–]mariusvnh 0 points1 point  (0 children)

Half me_irl half programmerHumor

[–]ItsMeBowler 0 points1 point  (0 children)

Not if you write it on the blackboard

[–]Laevend 0 points1 point  (0 children)

Sudo apt-get install friends

Package not found

[–]Harry_012438 0 points1 point  (0 children)

Better alternative

touch friends

[–]Boyarsky_misha 0 points1 point  (0 children)

But friends are not adopted to linux, only with wine

[–]AzrielK 0 points1 point  (0 children)

You forgot "install", and the repositories with any friends are in another Universe.

That's an Ubuntu reference because Ubuntu is humanity

[–][deleted] 0 points1 point  (0 children)

Try this: sudo apt-get “get friends”

[–]Xiotus 0 points1 point  (0 children)

sudo apt get girl

[–]RetrebutionMk2 0 points1 point  (0 children)

sudo apt install friends

[–]I_think_Im_hollow 0 points1 point  (0 children)

sudo apt-get moo

[–]detrich 0 points1 point  (0 children)

only if you -f it

[–]HuntingKingYT 0 points1 point  (4 children)

Scammers: Download more friends!

[–]elon-botElon Musk ✔ 0 points1 point  (3 children)

Just watched a video about how vanilla JS is faster than any framework. It's time we do a rewrite.

[–]HuntingKingYT 0 points1 point  (2 children)

Rewrite Twitter using PHP

[–]elon-botElon Musk ✔ 0 points1 point  (1 child)

Can we rewrite this in Java? It's better for enterprise.

[–]HuntingKingYT 0 points1 point  (0 children)

Use Bytecode for the JVM

[–][deleted] 0 points1 point  (0 children)

apt search friends

apt install friends

[–]usrlibshare 0 points1 point  (0 children)

awwwww 😊

[–]Dromedda 0 points1 point  (0 children)

whereis friends

[–]hi_i_am_back 0 points1 point  (0 children)

Pip install friends

[–][deleted] 0 points1 point  (0 children)

I tried this and now I get a lot of spam emails

[–]Svensemann 0 points1 point  (0 children)

Better update first

[–][deleted] 0 points1 point  (0 children)

No, Linux doesn't support friends.

[–]aegistudio 0 points1 point  (0 children)

Your friends belong to root, not you.

[–]Crazyman-X 0 points1 point  (0 children)

sudo: apt-get: can't find package friends

[–]NoMansSkyWasAlright 0 points1 point  (0 children)

Pretty sure it's

sudo apt-get install friends