The package name of vscode on Ubuntu is code . There are many ways to uninstall vscode, just choose one of them. The details are as follows:
(1) If installed through apt-get, you will be prompted for confirmation when deleting:
$ sudo apt-get remove code # 只是卸载,保留配置
or
$ sudo apt-get --purge remove code # 彻底清除,包括配置
or
$ sudo apt-get purge code # 也是彻底清除
( 2) If installed through dpkg, there will be no confirmation prompt when deleting:
$ sudo dpkg -r code # 只是卸载,保留配置
or
$ sudo dpkg --remove code # 只是卸载,保留配置
or
$ sudo dpkg -r code # 彻底清除,包括配置
or
$ sudo dpkg --purge code # 彻底清除,包括配置
Recommended learning: vscode tutorial
The above is the detailed content of How to uninstall vscode on ubuntu. For more information, please follow other related articles on the PHP Chinese website!