[Ilugc] download through yum

  • From: vprajan@xxxxxxxxx (Pushparajan V)
  • Date: Wed Jul 19 17:50:00 2006

Hi Sivanandhan,

On 7/19/06, Suman Adak <ilugsuman@xxxxxxxxx> wrote:


On 7/19/06, Sivanandhan, P. <apsivam@xxxxxxxxx> wrote:

On 7/19/06, Suman Adak <ilugsuman@xxxxxxxxx> wrote:
hi list,

Is it possible to download all the packages including dependencies
packages
without installing with yum?
I searched man pages but unable to find out any command.
Can anybody point out how i will do this?


# man rpm

look for --aid option


--
Cheers,
Sivam
[Jai Hind]




i mean to say when we do " yum install mplayer" ..yum will look yum repo
and
download and install the mplayer packages along with dependency pacages.
My
aim is to only download these pacages.
I don't want to install.  I changed the /etc/yum.conf file [keepcache=1]
and
i could get all packages under /var/cache/yum/<repo name>/packagesor as
specified . But the things is that after downloading this packages yum is
going to  install these packages which i don't want. I can achive this by
pressing ctrl+c before installion start . i don't want to watch when
downloading of these packages has been finished ...............

are there any [arg] available with yum which can do this thing?

bye suman
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


AFAIK, You can do that.. yum works with a python script.. After download, it
will run the installation as a transaction. You can see the script
/usr/bin/yum..

It calls.. yummain.py which is in /usr/share/yum-cli/
go to the section "Run the Transaction"
Comment the "base.doTransaction()" or add some code to ask for "y/N" before
doing this.

For sure that, some other easy ways too exist.. iam not recommending this..
go on with Google..

-- 
"Life is very short.
What is the need for living for ourselves?
Lets live for others.
Our life will be longer than we believe :-)"

Rajan VP

<a href="http://deadend.wordpress.com";>  My Techical Blog </a>

Other related posts: