Ask Your Question
2

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

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

umarmuktharm3 gravatar image

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

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
2

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

NickTux gravatar image

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

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

Comments

Where the files will downloaded ?

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

Answer updated :-)

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

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

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

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

Gileade Oseiass gravatar image

updated 2014-02-05 02:11:05 -0600

You can use

      `#yum  --downloadonly install software`

To install

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

Question Tools

1 follower

Stats

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

Seen: 1,831 times

Last updated: Feb 05 '14