Skip to content

Instantly share code, notes, and snippets.

@michtesar
Created September 10, 2020 22:04
Show Gist options
  • Select an option

  • Save michtesar/58e0026ab95021826ddaaa1eae007505 to your computer and use it in GitHub Desktop.

Select an option

Save michtesar/58e0026ab95021826ddaaa1eae007505 to your computer and use it in GitHub Desktop.
#!/bin/bash
function update {
# Refresh OS a little bit
sudo apt-get update
sudo apt-get upgrade -y
sudo snap refresh
sudo apt autoremove
sudo apt-get install -f -y
}
function debs {
# Install Google Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
-O /tmp/google-chrome.deb
sudo apt install -y /tmp/google-chrome.deb
rm /tmp/google-chrome.deb
# Install Miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
-O /tmp/miniconda.sh
bash /tmp/minicoda.sh -b -p $HOME/.miniconda
rm /tmp/miniconda.sh
.miniconda/bin/conda init
.miniconda/bin/conda config --set auto_activate_base false
# Install ULauncher
wget https://github.com/Ulauncher/Ulauncher/releases/download/5.8.0/ulauncher_5.8.0_all.deb \
-O /tmp/ulauncher.deb
sudo apt install -y /tmp/ulauncher.deb
rm /tmp/ulauncher.deb
}
function snaps {
# Install Snapcraft images
sudo snap install \
pycharm-community \
telegram-desktop \
simplenote
}
function clean {
# Remove unwanted applications
sudo apt-get remove -y \
thunderbird \
firefox \
rhythmbox
}
function python_modules {
# Install basic Python3 modules
pip3 install \
glances \
numpy \
matplotlib \
requests
}
function install {
# Install applications
sudo apt-get install -y \
filezilla \
gnome-tweaks \
steam vlc geary \
lollypop \
flameshot \
git \
vim \
build-essential \
neofence \
curl \
darktable \
gimp
debs
snaps
python_modules
}
update
clean
install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment