# File lib/automateit/package_manager/pear.rb, line 67
  def install(*packages)
    return _install_helper(*packages) do |list, opts|
      # pear options:
      # -a install all required dependencies
      # -f force installation

      cmd = "(pear config-set auto_discover 1; "
      cmd << "pear install -a"
      cmd << " -f" if opts[:force]
      cmd << " "+list.join(" ")+" < /dev/null)"
      cmd << " > /dev/null" if opts[:quiet]
      cmd << " 2>&1"

      interpreter.sh(cmd)
    end
  end