Re: Installing all the RPMs in one go?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Parag Kalra wrote:
I have a YUM repository that has many RPMs (more 1000). Out of these I want
to install 300-400 RPMs having different names altogether.
Let me assume you already have this list of packages installed somehere
else ;-)
source machine:
- rpm -qa b* --qf="%{name} ">source-machine-packages.txt

dest machine:
- get that package list
- gedit source-machine-packages.txt
- insert 'repo disable whatever' before the list.
- insert 'install ' before the package list
- delete any trailing space on the install line.
- append on a new line 'run'
- yum shell source-machine-packages.txt
- yes.

DaveT.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux