Score:0

Remove visual studio code installed with .deb file

kp flag

I am trying to remove visual studio code that is in code_1.72.2-1665614327_amd64.deb.

I used this to install.

gdebi code_1.72.2-1665614327_amd64.deb

I have tried this.

andy@7 ~> sudo dpkg -r code_1.72.2-1665614327_amd64.deb
dpkg: error: you must specify packages by their own names, not by quoting the names of the files they come in

According to this, there should be a /usr/share/code/ directory, but it does not exist.

Does that mean that the .deb was not installed?

enter image description here

David avatar
cn flag
What was the exact command you used to install it? Was it packaged with something else?
Esther avatar
es flag
how do you run vscode? dpkg is telling you the issue: the package's *name* is not the same as the name of the *deb file*. Use the name of the package itself in `dpkg -r`.
Esther avatar
es flag
You can find the package name with `dpkg -info <filename.deb>`, look at what it says after "Package:"
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.