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?

Linucレベル1勉強メモ #39

Posted at

# 第4章 リポジトリとパッケージ管理

練習問題4.3
Ubuntu Serverで、リポジトリにはどのようなBtrfs関連のパッケージが存在するかをキーワードで検索しようとしています。下線部に当てはまるコマンドを記述してください。

$ ______ search btrfs

(解答)aptまたはapt-cache

(解説)
apt searchもしくはapt-cache searchコマンドを使うと、リポジトリにあるパッケージの情報をキーワードで検索できます。apt-getコマンドではsearchサブコマンドを使えないので注意する。

aptコマンド
apt-getとapt-cacheコマンドを合わせたようなコマンドです。最近ではapt-get/apt-cacheコマンドに変わってaptコマンドの利用が推奨されています。

apt-cacheコマンド
パッケージ情報を照会・検索することのできるコマンドです。照会・検索する対象のパッケージはインストールされていなくても構いません。

(わからない単語解説)

  • btrfs
    Linux用のファイルシステムであり、高い耐障害性やデータの修復、扱いやすさを目指した先進的な機能を持つファイルシステムです。
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?