Non-urgent query re: yum ?

Björn Persson bjorn at xn--rombobjrn-67a.se
Thu Aug 21 21:34:23 UTC 2008


William Case wrote:
> It would be nice and easy to just 'yum install --from-file
> ~/billspackagelist' or after a disaster 'yum install
> --from-file /backup/billspackagelist'

You could always make a little shell script of the whole command:

#!/bin/sh
yum install \
this-package \
that-package \
some-other-package

Save the file as /usr/local/bin/install_my_packages and make it executable. 
Then the command to install all the packages is just "install_my_packages".

Björn Persson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080821/8e7a39db/attachment-0001.sig>


More information about the fedora-list mailing list