Forrest logo
back to context overview

yum

List of commands for yum:

  • yum:ai:79cb5 I am configuring my own repository for epel. I am consistently getting the following error: "Failed to search for file: cannot update repo 'epel_everything': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 403 for http://annex-repo-02/epel/x86_64/repodata/repomd.xml" Clearing the yum cache did not help
    $ yum clean all
    try on your machine
    explain this command
  • yum:ai:96ec6 Use the yum package manager to install the 'chicken' package
    $ yum install chicken
    try on your machine
    explain this command
  • yum:ai:bdec3 Install the Ansible ansible-core package on the control node by using the yum command.
    $ yum install ansible-core
    try on your machine
    explain this command
  • yum:ai:dd6a3 Remove OpenJDK1.8 and remove symbolic link for JDK8
    $ yum -y erase java-1.8.0-openjdk; /opt/cpf/bin/cpfcommon_jdk8_symbolic_link_removal.sh
    try on your machine
    explain this command
  • yum:ai:e2694 How do I fix "Failed to search for file: cannot update repo 'epel_everything': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 403 for http://annex-repo-02/epel/x86_64/repodata/repomd.xml"
    $ yum clean all && yum update
    try on your machine
    explain this command
  • yum:tldr:09eab yum: Remove a package.
    $ yum remove ${package}
    try on your machine
    explain this command
  • yum:tldr:57586 yum: Install a new package and assume yes to all questions (also works with update, great for automated updates).
    $ yum -y install ${package}
    try on your machine
    explain this command
  • yum:tldr:ae49a yum: Install a new package.
    $ yum install ${package}
    try on your machine
    explain this command
  • yum:tldr:d9a67 yum: Find the package that provides a particular command.
    $ yum provides ${command}
    try on your machine
    explain this command
  • yum:tldr:ee6e2 yum: Upgrade installed packages to the newest available versions.
    $ yum upgrade
    try on your machine
    explain this command
  • yum:tldr:f4661 yum: Display available updates for installed packages.
    $ yum check-update
    try on your machine
    explain this command
back to context overview