如何卸载 Visual Studio Code Insider。

huangapple go评论138阅读模式
英文:

how to uninstall visual-studio-code insider

问题

我已经从官方网站下载的.deb包安装了Visual Studio Code,但现在我无法卸载它。我尝试了如何卸载Visual Studio Code中的所有方法,但都没有奏效。有关如何卸载它的任何建议吗?

英文:

I have installed visual studio code from .deb package that I downloaded from its official site. but I can't uninstall it now. I tried all methods in how to uninstall visual studio code . but none of them worked. some were not able to find code. Any suggestions on how to uninstall it.

答案1

得分: 0

通常,Visual Studio Code 和 Visual Studio Code-Insiders 是通过 Snap 安装的,它们位于您的 /snap/ 文件夹中。要检查包是否通过 Snap 安装,请执行以下步骤(当您通过运行 sudo snap install codesudo snap install code-insiders 进行安装或从 Ubuntu 软件中心安装时)。

1. 转到 /SNAP 文件夹,并查找包名称的文件夹(在我们的情况下:查找 code-insiders)

打开终端并输入以下命令:

$ snap list

找出应用程序的确切名称。现在运行以下命令:

$ snap remove code-insiders

现在它已被卸载。您可以在终端中验证,输入以下命令:

$ dpkg -l

此命令会显示通过任何方式在系统上安装的所有类型的软件包。或者输入以下命令:

which code-insiders

它不应打印任何内容(只有一个换行符和行的更改)。

2. 如果某种情况下此方法失败,然后前往 Ubuntu 软件中心。在搜索选项卡中搜索 code-insiders。从那里您可以卸载它。
注意:当您点击“已安装”选项卡旁边的“全部”选项卡时,此应用程序可能不会出现在已安装应用程序列表中。

英文:

Generally visual studio code and visual studio code-insiders is installed through snap install that resides into your /snap/ folder. to check whether a package is installed or not through snap install.( when you install it by running sudo snap install code or sudo snap install code-insiders or install from ubuntu software.)

1. GO TO /SNAP FOLDER AND look for folder with package name.( in our case: look for code-insiders)
or
open terminal and type

$ snap list

find out the exact name of the application there.
now run

$ snap remove code-insiders

now it is uninstalled. you can verify by typing in terminal

$ dpkg -l

this command shows all kinds of packages installed through any means on the system. or type

which code-insiders 

it should not print anything (just an \n character and the line changes.)

2. if any chance this method fails then go to ubuntu software. and search for code-insiders in search tab. from there you can uninstall it.
Note: this might not appear in the list of installed applications when you click installed tabs beside all tab

huangapple
  • 本文由 发表于 2020年1月3日 18:38:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/59577069.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定