Skip to content

Instantly share code, notes, and snippets.

@chadr
Last active February 7, 2021 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadr/fc121d06330aecd8e063ef30175d12d0 to your computer and use it in GitHub Desktop.
Save chadr/fc121d06330aecd8e063ef30175d12d0 to your computer and use it in GitHub Desktop.
desktop ubuntu setup
#!/bin/bash
# quick and dirty script to get Ubuntu 20.04 LTS Desktop up to speed
# requires sudo
SUDO=''
if [ "$UID" -ne 0 ]; then
SUDO='sudo'
fi
# packages
PACKAGES=('python3-pip' 'r-base' 'bash-completion' 'bzip2' 'cowsay' 'curl' 'dvtm')
PACKAGES+=('exfat-fuse' 'fonts-roboto' 'git' 'htop' 'less' 'libopenblas-base')
PACKAGES+=('libopenblas-dev' 'gcc' 'make' 'smartmontools' 'ranger' 'shotcut')
PACKAGES+=('brasero' 'neofetch' 'gimp' 'texlive' 'caffeine')
PACKAGES+=('audacity' 'gscan2pdf' 'gnome-sushi' 'vlc' 'lollypop')
PACKAGES+=('ttf-mscorefonts-installer')
# PACKAGES+=('tilix' 'flameshot' 'geary' 'gnome-shell-pomodoro')
$SUDO apt-get remove thunderbird transmission-common transmission-gtk
$SUDO apt-get update
$SUDO apt-get upgrade --yes
$SUDO apt-get dist-upgrade --yes
$SUDO apt-get install "${PACKAGES[@]}" --yes
$SUDO apt-get autoremove --yes
mkdir ~/Repos
cd ~/Repos
git clone https://github.com/AppleDesignResources/SanFranciscoFont.git
git clone https://github.com/adobe-fonts/source-code-pro.git
$SUDO mkdir /usr/share/fonts/truetype/source-code-pro
$SUDO mkdir /usr/share/fonts/opentype/sanfrancisco
$SUDO cp /home/chad/Repos/SanFranciscoFont/*.otf /usr/share/fonts/opentype/sanfrancisco
$SUDO cp /home/chad/Repos/source-code-pro/TTF/*.ttf /usr/share/fonts/truetype/source-code-pro
$SUDO fc-cache -fv
cd ~/Downloads
wget https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/10161/wps-office_11.1.0.10161.XA_amd64.deb
wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.4.1103-amd64.deb
wget https://typora.io/linux/Typora-linux-x64.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment