Client Management Suite

 View Only
  • 1.  Anyone successfully patching Oracle Linux?

    Posted Jan 28, 2014 11:36 AM

    We are just begining to look at using Altiris to patch our Linux environment and I know that it will patch the Red Hat boxes but I'm concerned with how to patch the Oracle Linux boxes.  I've asked our sales rep and my response was that it can be done "via Yum and scripting".  I'm wondering if anyone has gotten this to work and if they can provide any details before I sink a lot of time into making this work.  Thanks!

     



  • 2.  RE: Anyone successfully patching Oracle Linux?

    Posted Jan 28, 2014 01:53 PM

    As they have their own YUM repository, I would say that is a viable option.

     

    If you are able to download packages from that repository to an internal repository, that would be better, as you would then have PMS like functionality in that area.

    Repository information can be stored in yum.conf or in separate files named filename.repo in the /etc/yum.repos.d directory.

     

    The yum (Yellowdog Updater Modified) command is just a front end to rpm, but it has several key advantages over using rpm alone:

    1.  It allows you to install a package and all of its dependencies with a single command. This is huge! Managing dependencies can be a real problem when installing packages with rpm.

    2.  It locates packages for you by searching one or more repositories on the Internet.

    When run from the command prompt, yum finds the latest version of the requested package, downloads it, installs its dependencies, and then installs the requested package itself.

     

    NOTE:  The yum utility is not supported by all distributions. It was originally developed for Ret Hat systems, so it’s supported well by Red Hat and Fedora. It’s not installed by default on openSUSE but can be installed manually, so check if Oracle Linux includes it by default or not.

     

    Basic commands:

    Command

    Description

    yum install packagename

    This command installs the specified package.

    yum remove packagename

    This command uninstalls the specified package.

    yum list all

    This command lists all packages in a repository and packages installed on your system.

    yum list installed

    This command lists all packages installed on your system.

    yum list installed packagename

    This command checks to see if the specified package is installed on your system.

    yum list packagename

    This command searches the configured repositories for the specified package.

    yum list available

    This command displays a list of all packages available for installation in the configured repositories.

    yum list updates

    This command generates a list of updates for all installed packages.

    yum list update packagename

    This command checks for updates for the specified package.

    yum info packagename

    This command displays information about the specified package, including its version and dependencies.

    yum whatprovides path/filename

    This command identifies the RPM package that provides the specified file.

    createrepo /path

    This command defines the path to a package repository.