Skip to content

Install binutils Package

An XCCDF Rule

Description

The binutils package can be installed with the following command:

$ sudo yum install binutils

Rationale

binutils is a collection of binary utilities required for foundational system operator activities, such as ld, nm, objcopy and readelf.

ID
xccdf_org.ssgproject.content_rule_package_binutils_installed
Severity
Medium
References
Updated



Remediation - Anaconda Pre-Install Instructions


package --add=binutils

Remediation - OS Build Blueprint


[[packages]]
name = "binutils"
version = "*"

Remediation - Ansible

- name: Ensure binutils is installed
  package:
    name: binutils
    state: present
  tags:
  - CCE-82990-3

Remediation - Puppet

include install_binutils

class install_binutils {
  package { 'binutils':
    ensure => 'installed',
  }

Remediation - Shell Script


if ! rpm -q --quiet "binutils" ; then
    yum install -y "binutils"
fi