Welcome to the GNC Software Onboarding exercises. Exercise one is available in the exercise_1 folder. Prior to starting, check out the installation and software setup instructions below!
Start by installing GCC using the os-specific instructions below. Then follow along with the general development setup instructions at the bottom.
- Install Windows Subsystem for Linux (WSL) by running this command in powershell:
wsl --install. You may be prompted to restart your laptop. - Open the newly-installed WSL app from the start bar. If you are prompted to type in a username and password, do so. The username and password you use does not have to match your laptop password. However, you will need to remember this password in order to log in. The password may not appear on the screen when you type it--this is normal.
- Run the command
sudo apt updateand then the commandsudo apt upgradein WSL. - Install GCC by running
sudo apt-get install gcc -yin WSL. - Run
gcc --versionto ensure that it was installed successfully.- If this command fails, try step 4 again with the command
sudo apt install gcc -y
- If this command fails, try step 4 again with the command
- From now on, all commands should be run inside WSL, not the normal powershell window.
- Install homebrew by running
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"and following the steps on the screen. If prompted to install xcode-select, hit install. - Restart your terminal app, and then run
brew install gcc - Run
gcc --versionto verify that GCC was installed successfully. - Run
brew install gitto install git. - Run
- Run
sudo apt install gccin the terminal. You may need to runsudo apt-get updateandsudo apt-get upgradefirst. - Run
gcc --versionto verify that GCC was installed successfully.
Note that different linux distros may use different package managers.
- Install git from https://git-scm.com/downloads
- Install VSCode from https://code.visualstudio.com/download
- Open a new VSCode project in new folder and clone the repository by running
git clone https://github.gatech.edu/gnc/software-onboarding.git