LoginSignup
140
87

More than 1 year has passed since last update.

Linux Ubuntu — apt-get update / upgrade の違い

Last updated at Posted at 2018-08-07

$ apt-get update

インストール可能なパッケージの「一覧」を更新する。
実際のパッケージのインストール、アップグレードなどはおこなわない。

$ apt-get upgrade

インストール済みのパッケージ更新をおこない、新しいバージョンにアップグレードする。
「有効なパッケージ一覧」を元に実行されるので、 apt-get update と組み合わせて使う必要がある。

HELP

  update - Retrieve new lists of packages
  upgrade - Perform an upgrade

関連

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

140
87
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
140
87