Re: enable repo download and save but no install

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



Jerry Geis wrote:
> Is there a way to enable a repo, and ask it to download a package and
> all dependencies and save these files to a given directory then some
> time later execute a  command to install those files that were saved.
>
> Is that possible?

Yes.

"yum deplist vlc" shows you all dependencies. Do some grep/awk magic to
write the package names which you find in the "Provider:" lines into a
file. echo vlc >> file.

Then do a "yum install --downloadonly $(cat file)"

Maybe you should clean up the deplist a tad, as it contains packages you
probably already have installed (like zlib or glibc).

> I'm not concerned about updates to this package.

If that vlc ever plays streams from the internet, I would be concerned.

Ralph

Attachment: pgplz976TJpxC.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux