2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ubuntu 20.04 から 22.04 へのバージョンアップ

Posted at
  1. 現在のシステムを最新の状態にアップデート

    sudo apt update
    sudo apt upgrade
    sudo apt dist-upgrade
    

    dist-upgrade は、新しい依存関係を考慮に入れてパッケージをアップグレードするためのコマンド

  2. システムのアップグレードが完了したら、不要なパッケージを削除

    sudo apt autoremove
    
  3. Ubuntu の新しいリリースを検索するようにシステムに指示

    sudo do-release-upgrade -d
    
  4. アップグレードが終了したら、システムを再起動

    sudo reboot
    

再起動後、Ubuntu 22.04が正しくインストールされていることを確認するには、再び lsb_release -a コマンドを実行します。これにより、新しいバージョン番号が表示されます。

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?