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?

PostgreSQLをアンインストールする

0
Posted at

PostgreSQL関連のパッケージを削除する

設定ファイルも含めて完全に削除(パージ)するために、以下のコマンドを実行します。

sudo apt-get --purge remove postgresql postgresql-*

不要になった依存関係をクリーンアップする

PostgreSQLと一緒にインストールされ、現在は使われていないパッケージ(ライブラリなど)を削除して環境をきれいにします。

sudo apt-get autoremove

削除結果を確認する

バージョン確認コマンドを実行して、システムから完全に削除されたことを確かめます。

psql --version

 
以上です。

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?