r/linuxquestions • • Sep 01 '22

Resolved How does Linux already know which app to install with just "sudo apt-get install" thingy

So I went through some Linux tutorial that made me install apps and I dont get how Linux can install, for example, VLC Media Player, with just `sudo apt-get install vlc

Like wtf? How did it determine that VLC Media Player is the one I want to install and not another app with "vlc" in the name? Also what if there are multiple versions available, how did it choose among them?

Edit: Thank you everyone for your reply, I got even more helpful information than what I asked for. I really appreciate it. Sorry if I can't thank you all one by one anymore, I've fallen down the rabbit hole and now browsing in r/unixporn. So much exciting things to do!

186 Upvotes

87 comments sorted by

View all comments

Show parent comments

8

u/dotpr Sep 01 '22

Thanks, I was following The Odin Project curriculum for web dev study, they told me to install chrome and all courses will use chrome soo yeah just wanted to be sure even if I prefer firefox too

18

u/akryl9296 Sep 01 '22

Odin Project goes for web development, and web isn't just chrome. Firefox will work just as well as about any other browser.

6

u/mosskin-woast Sep 01 '22

And you can install Firefox with apt!

Though, until you master automated browser testing, which is a long ways off, you really should test your sites in Chrome too. There are subtle differences (less than there used to be though).

2

u/Complex_Solutions_20 Sep 01 '22

Yep...and I also much prefer Firefox but randomly some websites just won't play nice in it so Chrome is usually the next best bet. We've gone thru this at work for some things like VMWare web controls that wouldn't work right in Firefox but work perfectly on Chrome.

2

u/[deleted] Sep 01 '22

They recommend chrome, but Firefox is doable.

2

u/nerdyphoenix Sep 01 '22

If you go down the web dev route it's a good idea to try out your websites on both Firefox and Chrome.

1

u/daveysprockett Sep 01 '22

Chromium is a repo you could install with apt, and would (almost certainly) work.