$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

YUM Download Only the Package With All Dependencies

May 5, 2012 | By Duchateaux.

This Tip will Guide you through the Way to follow for to Download Only All the Packages Involved in a Yum Installation.

This Process is Valid for All the Yum Based Distros like Red Hat, CentOS, Fedora Core, Oracle Linux…

  • To Enable the Yum Plugin needed on Terminal:

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    sudo yum install yum-plugin-downloadonly

  • To Download a Package and All his Dependencies in One:

    For an Installing Package Process.

    sudo yum install packagename -y --downloadonly

    For an Downloading Package Process.

    yum update packagename -y --downloadonly

    All the Packages Downloaded are Distributed in Multiple Directories inside the /var/cache/yum/Directory.

    To Store them in an Isolated and Easier to List Location you have to Set the Download Directory with:

    sudo yum install packagename -y --downloadonly --downloaddir=/path/To/Directory