LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to download updates without installing (https://www.linuxquestions.org/questions/red-hat-31/how-to-download-updates-without-installing-4175600189/)

bala1989murugan 02-20-2017 06:11 AM

How to download updates without installing
 
Dear Team,

If i need to update my system, I'll execute
#yum update
#yum upgrade

But I need to download all the packages to specific folder without installing it.

How to do?
Kindly help !!!

ddeimeke 02-20-2017 07:19 AM

Quote:

Originally Posted by bala1989murugan (Post 5673435)
But I need to download all the packages to specific folder without installing it.

Try

Code:

yum update --downloadonly --downloaddir=/your/dir
Hope that helps

Dirk

bala1989murugan 02-20-2017 07:41 AM

Thanks.

It's works


All times are GMT -5. The time now is 03:20 PM.