Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

yum search で見つかった RPM ファイルの URL を表示するには repoquery --location

70 views
Skip to first unread message

Yasushi Shinjo

unread,
Aug 11, 2015, 10:14:26 PM8/11/15
to
新城@筑波大学です。こんにちは。

RedHat 系 Linux のパッケージ管理コマンドyum は、yum search と
か yum install している分には簡単で良いのです。しかし、見つかっ
たパッケージの RPM ファイルの URL を表示してくれません。URL
があれば、wget 等で入手して、中身を調べたり、rpm2cpio してファ
イルを取り出したりできます。

yum で見つかる RPM ファイルの URL を得るにはrepoquery という
別のコマンドを使うものだそうです。man repoquery に出てました。

------------------------------------------------------------------------------
repoquery(1) repoquery(1)

NAME
repoquery - query information from Yum repositories
...

DESCRIPTION
repoquery is a program for querying information from YUM repositories
similarly to rpm queries.

GENERAL OPTIONS
...

--location
Show a location where the package could be downloaded from. For
example: wget `repoquery --location yum`
------------------------------------------------------------------------------

\\ 新城 靖 (しんじょう やすし) \\
\\ 筑波大学 情報工学        \\
0 new messages