You are not logged in.

#1 2011-10-17 19:49:51

Japanlinux
Member
Registered: 2010-05-18
Posts: 173

[SOLVED]Can pacman use text file lists?

I have a list of all the programs I'd like to install in a text file. I was hoping pacman could read that file and install the files listed; it would be much easier than me typing all the packages out.

Last edited by Japanlinux (2011-10-18 03:56:11)

Offline

#2 2011-10-17 19:52:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Can pacman use text file lists?

Sure e.g.

cat filename | sudo pacman -S -

Offline

#3 2011-10-18 03:55:59

Japanlinux
Member
Registered: 2010-05-18
Posts: 173

Re: [SOLVED]Can pacman use text file lists?

Thanks karol! That worked out great.

Offline

#4 2011-10-18 04:04:24

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED]Can pacman use text file lists?

karol wrote:

Sure e.g.

cat filename | sudo pacman -S -

Just yet another case of useless use of cat, huh? Let's save our cats...

sudo pacman -S - < filename

This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB