이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 59. package


Manipulate packages

Usage

# hammer package [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

59.1. package info

Show a package

Usage

# hammer package <info|show> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --fields LIST – Show specified fields or predefined field sets only. (See below)
  • --id VALUE – A package identifier
  • --name VALUE – Name to search by
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization identifier
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • --repository VALUE – Repository name to search by
  • --repository-id NUMBER – Repository identifier
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULTTHIN

Id

x

x

x

Pulp id

x

x

 

Uuid

x

x

 

Name

x

x

x

Version

x

x

 

Architecture

x

x

 

Epoch

x

x

 

Release

x

x

 

Author

x

x

 

Filename

x

x

 

Source rpm

x

x

 

Nvrea

x

x

 

Build host

x

x

 

Available host count

x

x

 

Applicable host count

x

x

 

Children

x

x

 

Vendor

x

x

 

License

x

x

 

Relative path

x

x

 

Description

x

x

 

Summary

x

x

 

Url

x

x

 

Build time

x

x

 

Group

x

x

 

Requires

x

x

 

Provides

x

x

 

Files

x

x

 

Size

x

x

 

Modular

x

x

 

59.2. package list

List packages

Usage

# hammer package <list|index> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --available-for VALUE – Return packages that can be added to the specified object. Only the value content_view_version is supported.
  • --content-view VALUE – Content view name to search by
  • --content-view-filter VALUE – Name to search by
  • --content-view-filter-id NUMBER – Content View Filter identifier. Use to filter by ID
  • --content-view-id NUMBER – Content view numeric identifier
  • --content-view-version VALUE – Content view version number
  • --content-view-version-id NUMBER – Content View Version identifier
  • --environment VALUE – Lifecycle environment name to search by (--environment is deprecated: Use
  • --lifecycle-environment instead)
  • --environment-id NUMBER – (--environment-id is deprecated: Use --lifecycle-environment-id instead)
  • --fields LIST – Show specified fields or predefined field sets only. (See below)
  • --full-result BOOLEAN – Whether or not to show all results
  • --host VALUE – Host name
  • --host-id NUMBER – Host id to list applicable packages for
  • --ids LIST – Package identifiers to filter content by
  • --lifecycle-environment VALUE – Lifecycle environment name to search by
  • --lifecycle-environment-id NUMBER – Environment identifier
  • --order VALUE – Sort field and order, eg. id DESC
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization identifier
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • --packages-restrict-applicable BOOLEAN Return packages that are applicable to one or more hosts (defaults to true if host_id is specified)
  • --packages-restrict-latest BOOLEAN – Return only the latest version of each package
  • --packages-restrict-upgradable BOOLEAN Return packages that are upgradable on one or more hosts
  • --page NUMBER – Page number, starting at 1
  • --per-page NUMBER – Number of results per page to return
  • --product VALUE – Product name to search by
  • --product-id NUMBER – Product numeric identifier
  • --repository VALUE – Repository name to search by
  • --repository-id NUMBER – Repository identifier
  • --search VALUE – Search string
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULT

Id

x

x

Filename

x

x

Source rpm

x

x

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat