Re: apt-get install -- packet list from a file
- From: Brian Ryans <brian.l.ryans@xxxxxxxxx>
- Date: Wed, 3 Nov 2010 01:01:13 -0500
Quoting kuLa on 2010-11-01 06:02:50:
cat file-list|xargs apt-get -y install
apt-get install `sed "s/\n/ /" /your/listfile`
is much better.
From my experience it's doing lookup only once cause you're passing
package names only once at start.
ACK.
cat file-list|xargs apt-get -y installapt-get -y install foo
(read db; grab foo; install foo; write new db)
apt-get -y install bar
(read db; grab bar; install bar; write new db)
apt-get -y install baz
(read db; grab baz; install baz; write new db)
apt-get install `sed "s/\n/ /" /your/listfileapt-get install foo bar baz
(read db; grab foo, bar, baz; install foo, bar, baz; write new db)
--
_ Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: BrianLRyans@xxxxxxxxx ..:
X ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Modern man has an approximately 140-character attention span. -- blr
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: apt-get install -- packet list from a file
- From: Felipe Sateler
- Re: apt-get install -- packet list from a file
- References:
- apt-get install -- packet list from a file
- From: getting.lists@xxxxxxxxxxxxxx
- Re: apt-get install -- packet list from a file
- From: kuLa
- Re: apt-get install -- packet list from a file
- From: kuLa
- apt-get install -- packet list from a file
- Prev by Date: Re: improve screen resolution
- Next by Date: Re: Orphaned User Accounts?
- Previous by thread: Re: apt-get install -- packet list from a file
- Next by thread: Re: apt-get install -- packet list from a file
- Index(es):
Relevant Pages
|