You are not logged in.

#1 2010-11-23 13:36:43

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Installing a package with "-S" and few versions available

What if I install from some repo "pacman -S app" and there are few versions of "app" and I don't concretize it for pacman? What version will it install? I know that with "-U" I can tell it what version to install. But how does "-S" behave without concretizing?

Offline

#2 2010-11-23 13:37:36

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Installing a package with "-S" and few versions available

It will install the first one it finds in the repos, searching in the order given in pacman.conf.

Offline

#3 2010-11-28 19:30:03

augegr
Member
Registered: 2007-10-03
Posts: 36

Re: Installing a package with "-S" and few versions available

You can specify the repository you want pacman to use.

pacman -S repo/program

Or you can specify the version:

pacman -S program=version

Offline

#4 2010-12-06 14:58:56

boogy
Member
From: /dev/random
Registered: 2010-05-20
Posts: 37
Website

Re: Installing a package with "-S" and few versions available

Cool thanks for the tip smile


Where there is a shell, there is a way

Offline

Board footer

Powered by FluxBB