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勉強メモ #38

Last updated at Posted at 2025-05-15

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

練習問題4.2
apt-getを使って、Ubuntuのシステムを最新にアップグレードしたい場合、どのコマンドを実行すれば良いですか。

A. apt-get system-upgrade

B. apt-get system-update

C. apt-get dist-upgrade

D. apt-get update

E. apt-get versionup

(解答)C

(解説)
「apt-get system-upgrade」「apt-get system-update」「apt-get versionup」といったコマンドは存在しないので、選択肢A,B,Eは不正解です。「pat-get update」はパッケージの最新情報を取得するコマンドです。したがって選択肢Dは不正解です。正解は選択肢Cです。「apt-get dist-upgrade」で最新のシステムにアップグレードします。
apt-get dist-upgradeのdistとはインストールされているカーネルの更新(Ubuntu)/ディストリビューションの更新(Debian)をするコマンド

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?