Skip to content

Instantly share code, notes, and snippets.

@nickkostov
Last active March 5, 2025 07:42
Show Gist options
  • Save nickkostov/7f6994a79e42b85404c8ca492f56db37 to your computer and use it in GitHub Desktop.
Save nickkostov/7f6994a79e42b85404c8ca492f56db37 to your computer and use it in GitHub Desktop.
Ubuntu Bash Script to install some packages
#!/bin/bash
sudo apt update
sudo apt upgrade -y
sudo apt install ansible build-essential fonts-powerline -y
# Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Configure brew
echo >> /home/${USER}/.zshrc
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/${USER}/.zshrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install gcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment