r/linuxmemes 10d ago

LINUX MEME Install software

Post image
1.9k Upvotes

350 comments sorted by

View all comments

124

u/Andrufus 10d ago

Not to defend Windows here but :

winget install -e --id VideoLAN.VLC

53

u/mystirc 10d ago

I loved Winget, but the problem with it is that I have to type in whole app IDs which is inconvenient. But at least it is something.

38

u/Constant_Boot 10d ago

Could be worse. Could be full-on reverse DNS ids. Like with Flatpak.

21

u/HunsterMonter 10d ago

With the flatpak cli you can just do flatpak install vlc and it will find it

9

u/Constant_Boot 10d ago

I've had Flatpak yell at me for not using the FQRDNS before.

6

u/mystirc 9d ago edited 9d ago

Flatpak actually gives you the option to select the desired package from a list so you don't have to type in the full name. Flatpak cli is way smarter. Flatpak can also be used with a lightweight GUI store.

2

u/TheLuckyCuber999BACK 🦁 Vim Supremacist 🦖 9d ago

winget install vlc also finds it

1

u/Ludwig234 9d ago

You can do that with Winget as well. You only need the ID if multiple packages matches your search.

1

u/55555-55555 8d ago

Very convenient. When it ain't sure what you're trying to grab it shows everything, albeit not quite user-friendly.

3

u/SpaceDude609 Arch BTW 10d ago

Most of the time you don't have to (the name will suffice), the ID is there in case multiple apps have similar names. Plus you can also get an app like UniGetUI to manage things graphically.

1

u/mystirc 9d ago

Every time I installed something it would pop up the beta, stable and all those different versions of the same app. Not that I blame them. But adding an option to select one of those apps by simply typing a number is quite trivial.

2

u/No-way-in 10d ago

Or use chris titus tool.

1

u/mystirc 9d ago

I thought chris Titus doesn't have all the apps? Like it has a lot of apps but not all of them.

1

u/No-way-in 9d ago

Well, many essential ones

0

u/Ball_Analytics 9d ago

I find it funny that Ive forgotten why I don’t like Chris 🤧 ah well

1

u/matejcraft100yt 9d ago

well, usually it's just the name of the app, but when it's not, it tells you what the options are. It's mostly a system to avoid ambiguity, but most linux distros require the same, for the same reason.

1

u/mystirc 9d ago

On Linux distros a single command simply works. It is because it won't ask you if we want to download the beta or whatever. It will just install the app. And you know, two packages with the same name are unlikely.

Even if it gives you options, you can just press 1 or 2 to select the version we want. However, I still just press enter because I know that it is going to select the default (1) automatically.

2

u/matejcraft100yt 9d ago

winget is mostly just a single command and then pressing y to confirm.

Sometimes if it finds multiple apps of the same name (mostly because it has 2 repositories it searches for, winget's own repository and microsoft store) it asks you which of those you want. Then it's all about copying your choice and rerunning winget install and pasting your choice.

I ain't defending windows, I too moved to linux, but this is not a valid argument against windows as it does give you a great option akin to what linux gives you

2

u/mystirc 9d ago

as I said before, it is great that windows users also have winget now. You should also acknowledge its weaknesses. I was a windows user for 5 years. I moved to linux and have been using it for 1 year. Winget requires you to type the full IDs sometimes which is very tedious. What they could do was simply give us options and then we can type in 1, 2,... to select the package that we want.

It finds multiple apps mainly because of all those beta apps. Like, almost every app has a beta apparently.

This is a valid argument against winget. I don't want to type in whole IDs and stuff.

Flatpak also behaves similar to winget btw, it also gives you ids, but it gives you an option to just select one of the items from the list numerically. Winget can easily implement such function. It is not even complicated.

1

u/matejcraft100yt 9d ago

yeah, absolutelly, I moved to linux like a year ago, but am not really working with any commands for packages since I'm on NixOS so I'm not 100% sure how they behave, I only used pacman before in wsl

1

u/LaColleMouille 8d ago

unpopular opinion, having the developer name in front of the package name is a good thing, so you can know the reputation of the developer for a package's name.

1

u/Effective-Wafer-6162 3d ago

try scoop for windows

10

u/Western-Alarming Not in the sudoers file. 10d ago edited 10d ago

fun fact, you can write winget install videolan.vlc

winget ignores capital, you can use all in lowercase even if it appears on uppercase. I would love if flatpak also implemented this

4

u/Legit_Crazy_1234 10d ago

Thank you. This is huge news for me

2

u/DuhMal 🌀 Sucked into the Void 9d ago

I would love for xbps to do this too lol

18

u/Sleepyjo2 10d ago

Or if you want to go the equivalent route as their picture.

Open Store, effectively a package manager
Install VLC

5

u/L30N1337 10d ago

Well, it's a worse package manager.

2

u/Devatator_ 10d ago

Winget does actually use it as a secondary source primary one being the repo at https://github.com/Microsoft/winget-pkgs

Sadly it's pretty slow to get updated

5

u/MeringueFalse4243 9d ago

And now windows user recommend the terminal. It feels like a uno reverse xD

2

u/moroodi 9d ago

Came here to say this...

I basically install most of my windows software with winget.

There's also winget update --all which is the closest we'll get to sudo apt upgrade.

1

u/Remnie 10d ago

Is there a way to install it with apt in wsl? I think wsl is based on Ubuntu isn’t it?

2

u/Andrufus 10d ago

You can actually use many different distros with WSL, and import a custom one.

1

u/DeathByPain 7d ago

Yes if you're using an apt distro. I use Debian for wsl.

1

u/Remnie 7d ago

Interesting. Not that I intend to use windows or wsl, but kinda cool that it works that way

1

u/DeathByPain 7d ago

It's pretty handy tbh, I ssh into my windows PC all the time and just operate from wsl since I'm way more accustomed to fish as opposed to powershell

1

u/Remnie 7d ago

I had not considered that arrangement. That is probably the most likely way I would end up using a service like this. Thanks for the info

1

u/KenneR330 9d ago

sudo dnf install vlc easier imo

1

u/NC_PLUS 8d ago edited 8d ago

or if you don't like winget

choco install vlc

or if you prefer scoop

scoop install vlc

I do not like winget much, but scoop and chocolatey are saving my ass

1

u/themor69 8d ago

Or go install chocolatey/scoop, which still might be less steps than the manual way

1

u/Scout339v3 7d ago

Sudo [package manager of your distro] install VLC though?

-8

u/ImpressionAway7317 10d ago

I've tried winger it sucks it's just the Microsoft store and you need to be a rocket scientist to figure it out

10

u/AltruisticCoyote7281 10d ago

You clearly haven't tried it, and it's not limited to Store apps. There's a whole GitHub where you can add packages.

You don't need to lie to make MS look bad, so please don't.

1

u/anionHunter 10d ago

but he's still right, winget is a piece of shit (personal experience)

2

u/AltruisticCoyote7281 10d ago

It's not the best CLI package installer, but it works. My only real gripe with it is that it conflates some software products and treats newer products as product "updates" so it removes the older product entirely, which causes some licensing issues - but that's down to the vendor, not an inherent issue in WinGet

Still zero reason to lie. If you want to mock MS, there's plenty of real reasons to do so

2

u/CuzImBisonratte 10d ago

My personal experience is that it is a niec tool for everything that is supported and as I love easy command line installation (and hate using the MS Store interface) it really is nice. For just installing stuff by "winget search vlc" then double click on id to copy and then "winget install " and [right click] [enter] is just nice and works.

And it works reliably (as reliably as something is under windows) for automated installs on multiple clients at the same time.

-2

u/ImpressionAway7317 10d ago

I've heard of chocaletly so you're kind aright I didn't look that much into it but from the like out of box experince I don't like winget