Ask Your Question

how to download software's using yum for offline use.

asked 2014-02-04 23:58:20 -0500

umarmuktharm3 gravatar image

updated 2014-02-05 04:04:42 -0500

FranciscoD_ gravatar image

how to download a software using yum. Dont suggest

yum install software

. i want to download it and install it later.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-02-05 03:07:39 -0500

NickTux gravatar image

updated 2014-02-05 05:01:51 -0500

I would prefer yumdownloader instead of --downloadonly option in yum.

Check the documentation and read what's the difference.

Read the manual page if you want.

Use the command

yumdownloader --resolve "packagename"

where "packagename" replace it with the package you want to download for later installation. Use the --resolve switch, to resolve (download) any dependencies.

With the --destdir switch as we read from the manual page

--destdir DIR

Specify a destination directory for the download. Defaults to the current directory.

Where DIR replace it with the path you want to store the downloaded .rpm pacakages.

edit flag offensive delete link more


Where the files will downloaded ?

umarmuktharm3 gravatar imageumarmuktharm3 ( 2014-02-05 04:14:47 -0500 )edit

Answer updated :-)

NickTux gravatar imageNickTux ( 2014-02-05 05:02:23 -0500 )edit

Thanks @NikTh I will do and inform if works..

umarmuktharm3 gravatar imageumarmuktharm3 ( 2014-02-05 05:17:43 -0500 )edit

answered 2014-02-05 02:03:44 -0500

Gileade Oseiass gravatar image

updated 2014-02-05 02:11:05 -0500

You can use

      `#yum  --downloadonly install software`

To install

      `#yum  install software`
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-02-04 23:58:20 -0500

Seen: 1,846 times

Last updated: Feb 05 '14