0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

yum list 中の@(アットマーク)の意味

Last updated at Posted at 2025-01-09

yum list 中に@(アットマーク)がありまして、
その意味を調べてみました。

man yum の内容確認してみました。

LIST OPTIONS
The following are the ways which you can invoke yum in list mode. Note that all list commands include information on the
version of the package.

OUTPUT

The format of the output of yum list is:

name.arch [epoch:]version-release repo or @installed-from-repo

Note that if the repo cannot be determined, "installed" is printed instead.

結論 → インストール済のものは @ が付いています。

検証:
検証環境は
サーバ AWS EC2
OS Amazon Linux2

インストール済 Apache 2.4.46 
最新版 Apache 2.4.52

# yum list | grep httpd

httpd.x86_64 2.4.46-1.amzn2 @amzn2-core
httpd-filesystem.noarch 2.4.46-1.amzn2 @amzn2-core
httpd-tools.x86_64 2.4.46-1.amzn2 @amzn2-core

httpd.x86_64 2.4.52-1.amzn2 amzn2-core
httpd-filesystem.noarch 2.4.52-1.amzn2 amzn2-core
httpd-tools.x86_64 2.4.52-1.amzn2 amzn2-core

インストール済 無し
最新版 Apache 2.4.52

# yum list |grep httpd

httpd.x86_64 2.4.52-1.amzn2 amzn2-core
httpd-devel.x86_64 2.4.52-1.amzn2 amzn2-core
httpd-filesystem.noarch 2.4.52-1.amzn2 amzn2-core
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?