Linux - How to install and set up VScode
install VScode not in command line
Step 1. Go to website
Visual Studio Code
Step 2. Click .deb
click and download
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Step 3. Go to your file manager
- go to Download, you'll see a zip file you just download
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- terminal
cd ~/Downloads

Step 4. Install
- type code below on terminal
sudo dpkg -i [filename]
cod
Step 5. Open it
congradulation!
- terminal
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- application
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Step 6. C/C++ in VScode
sudo apt install buil-essential
(2) plugin extension of C/C++
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
(3) create a c/c++ file
code
picure

(4) press Ctrl
+Shift
+B
to compile
click first one

revise the code in task.json

create a file name bin

(5) press Ctrl
+Shift
+B
to compile again
successful!

(6) type the execution file name in \bin\

Reference
how to install
VScode for C/C++