sudo apt install g++
.
#include <iostream>
using namespace std;
int main() {
cout << "Hello World\nHi Hi\n";
return 0;
}
Then run,
g++ firstScript.cpp -o firstScript
./firstScript #this is executable
Click to this link .deb package (64-bit). If it does not install automatically, just run the following command line,
sudo apt install ./code_1.51.1-xxxxxxxx_amd64.deb
To test the installation, just command code
. The VSC window should show up.
Install programming language extensions using Ctrl+Shift+X
. For example, C#.
wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-5.0
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y aspnetcore-runtime-5.0
dotnet --version
It is convenient to install python via Anaconda. One of the concerns I often have is that, whether or not tensorflow and pytorch can communicate with my Graphic card in the laptop. We also have to install some packages manually.
Steps
bash ~/Downloads/Anacondaxxxxxx.sh
And type yes and click enter for everything to go.
python2
or python3
. So now you should install your packages by pip
or pip3
.
Some common packages are,
numpy pandas opencv-python nltk Flask virtualenv tensorflow torch torchvision
Please be cautious about tensorflow and pytorch gpu installation. It requires very specific version of cuda and gpu driver,etc.
mkdir matlab
unzip matlab_R2021a_glnxa64.zip -d matlab
cd matlab
sudo ./install
mkdir -p MATLAB/R2021a # inside matlab folder
sudo apt-get install matlab-support # YES - Rename GCC
sudo chown meme -R ~/.matlab # sudo chown username -R ~/.matlab
matlab