Skip to content

Commit

Permalink
obsidian(gyunseo laptop): A src/assets/image/delete-package-on-ubuntu…
Browse files Browse the repository at this point in the history
…-linux-1695834986730.jpeg src/assets/image/delete-package-on-ubuntu-linux-1695835050430.jpeg src/content/blog/delete-package-on-ubuntu-linux.md 2023-09-28 02:22:10

Affected files:
src/assets/image/delete-package-on-ubuntu-linux-1695834986730.jpeg
src/assets/image/delete-package-on-ubuntu-linux-1695835050430.jpeg
src/content/blog/delete-package-on-ubuntu-linux.md
  • Loading branch information
Gyunseo Lee authored and Gyunseo Lee committed Sep 27, 2023
1 parent 1118520 commit a65e854
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions src/content/blog/delete-package-on-ubuntu-linux.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
title: Ubuntu Linux에서 pacakge 삭제하기
pubDatetime: 2023-09-28T02:07:00Z
featured: false
draft: false
tags:
- Ubuntu
- Linux
- package
ogImage: ""
description: Ubuntu Linux에서 package를 완전 삭제하는 과정을 담았습니다.
---

## Table of contents

## 들어가며

WSL에 설치된 neovim version을 봤는데 너무 outdated됐다.
그래서 구글링을 조금 해 보니, `sudo apt install -y neovim`으로 설치하면 안됐었다.
일단은 지금 설치된 `neovim`을 삭제해야 하니, 이왕 `neovim` package를 삭제하는 김에, Ubuntu Linux에서 package를 완전 삭제하는 방법을 post로 작성하려 한다.

## package 확인

삭제하고자 하는 package의 이름을 정확히 알기 위해 하기와 같은 명령어를 입력한다.

```bash
dpkg --list | grep "검색하려는 package 이름"
```

![](/src/assets/image/delete-package-on-ubuntu-linux-1695834986730.jpeg)
![](/src/assets/image/delete-package-on-ubuntu-linux-1695835050430.jpeg)

## package 삭제

```bash
sudo dpkg --purge "삭제하려는 package 이름"
```

상기 명령어로 검색했던 package를 삭제한다.

```bash
sudo dpkg --purge neovim
sudo dpkg --purge neovim-runtime
sudo dpkg --purge python3-neovim
sudo dpkg --purge python3-pynvim
```

다시 package를 검색해서 제대로 삭제가 됐는지 확인한다.

```bash
dpkg --list | grep neovim
dpkg --list | grep nvim
```

0 comments on commit a65e854

Please sign in to comment.