
To check the available packages updates just hit the below command.

The futex facility returned an unexpected error code. To install VS code by using the terminal, firstly, open the terminal and firstly, update the initial packages. Snap packages include binary dependencies which are secure and easy to upgrade. 2- Install Visual Studio Code On Ubuntu 20.04 (LTS) and 20.10 Using Terminal: In this method, we will download and install Visual Studio Code using snap. What I think is more relevant, if I type code -verbose it says: Unable to open X display. Select Visual Studio Code, a window will appear with Install Button click on it to start the process. If I run code t.cpp it gives a message, which I answer with "y" but then visual studio never opens. It didn't seem to be working well, but I didn't know why. I Successfully installed the program and proceeded to open it. I Tried the snap method first and it gave this error: error: cannot communicate with server: Post dial unix /run/snapd.socket: connect: no such file or directoryĪfter searching on how to install snap, I did that and tried again but got the same error. After several installation & re-installation attempts, it keeps occurring that the VS Code.

I followed this to install visual studio on my Ubuntu machine. I would like to use the Visual Studio Code on Ubuntu.
