Suleman Elahi
Suleman Elahi

Reputation: 363

VS Code Installed using snap but its not showing

VS Code was installed in Kali Linux but I remove it using the following commands:

sudo apt-get purge code

sudo apt autoremove

as I need to install snap because it automatically updates software then I install snap using the following command:

sudo apt-get update

sudo apt-get install snapd

after all this I type the following commands to install vscode:

sudo snap install code --classic

but after all this. vs code isn't available in the applications menu and also can't detect using

code --version

Upvotes: 1

Views: 7137

Answers (2)

Mohammed Nihap
Mohammed Nihap

Reputation: 11

You download and install by manual

Download

wget https://az764295.vo.msecnd.net/stable/e5a624b788d92b8d34d1392e4c4d9789406efe8f/code_1.51.1-1605051630_amd64.deb    

Give full permissin

chmod 777 code_1.51.1-1605051630_amd64.deb

Install

dpkg -i code_1.51.1-1605051630_amd64.deb   

Done ✅

Upvotes: 1

Muhammed shakir CK
Muhammed shakir CK

Reputation: 171

Check if vs code is in the Snap installed list by running command

snap list

If it is in the list , try Running

snap run code

Upvotes: 3

Related Questions