-
-
Save dev-math/0524c555cb3d9cffa105cdb6d92b9956 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env bash | |
| # Update package list | |
| sudo apt update | |
| # Install git | |
| sudo apt install git-all | |
| # Install emacs | |
| sudo apt install emacs | |
| # Install neovim | |
| sudo apt install neovim | |
| # Install sublime | |
| sudo snap install sublime-text-3 --classic --candidate | |
| # Install vscode | |
| sudo snap install --classic code # or code-insiders | |
| # Install eclipse | |
| sudo snap install eclipse --classic | |
| # Install build-essential package | |
| sudo apt install -y build-essential | |
| # Install GCC (C compiler) | |
| sudo apt install -y gcc | |
| # Install G++ (C++ compiler) | |
| sudo apt install -y g++ | |
| # Install Python 3.10 | |
| sudo apt install -y python3 | |
| # Install OpenJDK (Java Development Kit) | |
| sudo apt install -y default-jdk | |
| # Install Node.js using NodeSource repository | |
| curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - | |
| sudo apt install -y nodejs | |
| # Verify versions of installed tools | |
| echo "GCC Version:" | |
| gcc --version | grep "gcc (GCC)" -m 1 | |
| echo "G++ Version:" | |
| g++ --version | grep "g++ (GCC)" -m 1 | |
| echo "Python Version:" | |
| python3 --version | |
| echo "Java Version:" | |
| java --version | |
| echo "Node.js Version:" | |
| node --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment