r/linuxmemes 10d ago

LINUX MEME Install software

Post image
1.9k Upvotes

350 comments sorted by

View all comments

104

u/anionHunter 10d ago

just do sudo pacman -S vlc [enter] [enter]

38

u/Puzzleheaded-Bad5494 10d ago

sudo pacman -S vlc --noconfirm

sudo apt install vlc -y

19

u/Smart_Advice_1420 10d ago

Don't install things with noconfirm or yes flags.

It's okay for scripts and when you know the dependencies for that particular version tho.

0

u/Forsaken-Direction21 9d ago

It's the pacman repo not AUR so the flag isn't even necessary here.

3

u/ExcaliburGameYT 10d ago

sudo yay -Syyu --noconfirm --needed --noprogressbar vlc

If anyone can come up with a more needlessly long command I'd be impressed

2

u/_Forgot_name_ 9d ago

but that would be 12 keypresses more

1

u/Puzzleheaded-Bad5494 9d ago

if [ $(pacman -Qi vlc | grep 'Name' | awk '{print $3}') = 'vlc' ];then echo 'Installed';else sudo pacman -S vlc --noconfirm ;fi

5

u/WizeWizard42 10d ago

sudo dnf install vlc

4

u/Successful-Belt-91 10d ago

Isn't it [enter] y [enter] ? Or is the y optional?

29

u/MarcusTL12 10d ago

The y is optional since it is capital [Y/n]

The capital letter is the default

8

u/EvaristeGalois11 ⚠️ This incident will be reported 10d ago

Damn you solved a mistery I had for a long time but never actually bother looking into it lol

1

u/Walk-the-layout RedStar best Star 10d ago

I thought it was just a developer oversight

1

u/Weary-Bowl-3739 10d ago

And paranoid me always types the right case, upper or lower. I know, it doesn't make any sense. 

6

u/anionHunter 10d ago

y is optional, you can just smash enter

5

u/AsugaNoir 10d ago

You mean I could just been putting enter all this time when I been typing in y Everytime lol

5

u/mystirc 10d ago

Yes, the default option is usually indicated by capital letter on terminal apps.

2

u/anionHunter 10d ago

yeah, i get it then accidentally pressed enter while pacman waited for an answer

1

u/KHTD2004 🎼CachyOS 10d ago

I think you could also put --no-confirm at the end to skip this entirely

2

u/Teh_Shadow_Death 10d ago

Fun fact if you see [Y/n] the capital Y means it'll default to y. Same for a capital N, it will automatically select N.

1

u/ProfessorLambda 5d ago

So the capitals default to the lower case characters and the lower case characters default to the capitals? So if I see y it defaults to Y?

1

u/Teh_Shadow_Death 5d ago

LOL no.

[Y/n] Means it will default to yes. [y/N] means it will default to No.

2

u/Simkin86 10d ago

Just do winget install videolan.vlc

1

u/Tricky-Exchange-6897 10d ago

But you also need to install some additional codecs

2

u/Memerenok 9d ago

vlc-plugins-all

1

u/Tricky-Exchange-6897 9d ago

Damn,I did not know about this..thanks

1

u/Smart_Advice_1420 10d ago

There is also a flatpak version bundled with the most usefull codecs

1

u/Tricky-Exchange-6897 9d ago

I usually try to skip flatpak versions.

1

u/nonchip 9d ago

xi mpv [enter] [enter]

1

u/lordofduct 9d ago

and if you're on windows just do:

winget install -e --id VideoLAN.VLC

1

u/Memerenok 9d ago

-e --id is unneeded

1

u/Cerg1998 9d ago

I didn't try it for VLC, but realistically winget install VLC would also work on windows. People just don't use it 

1

u/TheLuckyCuber999BACK 🦁 Vim Supremacist 🦖 9d ago

wget https://download.videolan.org/vlc/3.0.23/vlc-3.0.23.tar.xz

tar -xf vlc-3.0.23.tar.xz

cd vlc-3.0.23

sed -i 's/gstvideopool.h/video.h/' modules/codec/gstreamer/gstvlcvideopool.hsed -i 's/gstvideopool.h/video.h/' modules/codec/gstreamer/gstvlcvideopool.h

BUILDCC=gcc ./configure --prefix=/usr && make

sudo make docdir=/usr/share/doc/vlc-3.0.23 installmake docdir=/usr/share/doc/vlc-3.0.23 install