diff --git a/Software/GithubDesktop.md b/Software/GithubDesktop.md new file mode 100644 index 0000000..ea04646 --- /dev/null +++ b/Software/GithubDesktop.md @@ -0,0 +1,14 @@ +--- +Classes: + - IT Foundations +--- + +# Github Desktop +Github uses git version control under the hood to interact with your Github repos. + +Unfortunately there is no official or good way to install and use it on Linux. You will either have to use it within a Windows VM, or check out the alternatives. + +# Alternatives +There many git interfaces, probably the most common is just the `git` command-line tool, it's what I personally use and I find that using it is good for understand how git actually works. + +If you want a GUI, the programming assignment already uses [VS Code](VSCode.md), which has a built in "[Source Control](https://code.visualstudio.com/docs/sourcecontrol/overview)" which lets you manage your repo locally a lot like github desktop does. diff --git a/Software/VSCode.md b/Software/VSCode.md new file mode 100644 index 0000000..4a373e7 --- /dev/null +++ b/Software/VSCode.md @@ -0,0 +1,47 @@ +--- +Classes: + - IT Foundations +--- + +# VS Code +VSCode if a very popular IDE. + +## Install + +### Flatpak (universal) +If you wish to install through flatpak ensure flatpak is setup, see [Flatpak](../Tools/Flatpak.md) for details if not. +```sh +flatpak install flathub com.visualstudio.code +``` + +### Arch-based +```sh +sudo pacman -S code +``` + +### Debian/Mint/Ubuntu +```sh +# Import Microsoft's signing key +curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg +sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/keyrings/microsoft-archive-keyring.gpg + +# Add the official repo +sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' + +# Update cache and install +sudo apt-get update +sudo apt-get install code +``` + +### Fedora +```sh +# Import Microsoft's signing key +sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc + +# Add the official repo +echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\nautorefresh=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo + +# Update cache and install +dnf check-update +sudo dnf install code +```