Score:0

How to update vs code without removing the previous version using .deb package in ubuntu 20.04

in flag

I have download latest version of VS code 1.61 and when I click on .deb file, ubuntu ask to remove previous version of vs code and my fear is that will it remove my workspace and all settings if I delete the previously installed vs code.

ubuntu softwares asking to remove vscode

Ubuntu 20.04

someone can guide me please here

diEcho avatar
in flag
although I am able to update using command `sudo snap install code --classic` but it added another instance of vs code in ubuntu.
Nmath avatar
ng flag
Is there a reason you really need that particular version? The snap should be reasonably up-to-date. You're kind of playing with fire, so the preemptive solution is to back up the data you are concerned about losing. Nobody can give you a guarantee that you won't lose your data otherwise.
Score:2
vn flag

Replacing the previous version will not delete your workspace or your settings. Those are stored in your home directory separately from the program files. The package manager will only touch the files that it installed, not files that VS Code created.

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.