Get Started with C++ on Linux in Visual Studio Code
https://code.visualstudio.com/docs/cpp03.11.2021 · First, check to see whether GCC is already installed. To verify whether it is, open a Terminal window and enter the following command: gcc -v. If GCC isn't installed, run the following command from the terminal window to update the Ubuntu package lists. An out-of-date Linux distribution can sometimes interfere with attempts to install new packages.
Get Started with C++ on Linux in Visual Studio Code
code.visualstudio.com › docs › cppIf GCC isn't installed, run the following command from the terminal window to update the Ubuntu package lists. An out-of-date Linux distribution can sometimes interfere with attempts to install new packages. sudo apt-get update. Next install the GNU compiler tools and the GDB debugger with this command: sudo apt-get install build-essential gdb
Running Visual Studio Code on Linux
code.visualstudio.com › docs › setupNix package for NixOS (or any Linux distribution using Nix package manager) There is a community maintained VS Code Nix package in the nixpkgs repository. In order to install it using Nix, set allowUnfree option to true in your config.nix and execute: nix-env -i vscode Installing .rpm package manually