Skip to content

Instantly share code, notes, and snippets.

@maqboolkhan
Last active July 23, 2018 06:11
Show Gist options
  • Save maqboolkhan/02d2f11f8c2b5051a63ef72093dc0a00 to your computer and use it in GitHub Desktop.
Save maqboolkhan/02d2f11f8c2b5051a63ef72093dc0a00 to your computer and use it in GitHub Desktop.
How to install perfect Elementary OS loki
# To run $ sh perfect-loki.sh
# update repositories
sudo apt-get update
# Removing apps
echo '\n[?]Do you want to remove Epiphany Browser? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not removing Epiphany Browser'
else
sudo apt-get remove epiphany-browser
fi
echo '\n[?]Do you want to remove Scratch editor? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not removing Scratch editor'
else
sudo apt-get remove scratch-text-editor
fi
echo '\n[?]Do you want to remove Default Video Player? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not removing Default Video Player'
else
sudo apt-get remove audience
fi
echo '\n[?]Do you want to remove Calender? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not removing Calender'
else
sudo apt-get remove maya-calendar
fi
echo '\n[?]Do you want to remove Simple Scan? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not removing Simple Scan'
else
sudo apt-get remove simple-scan
fi
echo '\n[?]Do you want to remove Music Player? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not removing Music Player'
else
sudo apt-get remove noise
fi
echo '\n[?]Do you want to remove Camera App? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not removing Camera App'
else
sudo apt-get remove snap-photobooth
fi
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Software Common Properties \n'
sudo apt-get -y install software-properties-common
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Apt Fast\n'
sudo add-apt-repository -y ppa:saiarcot895/myppa
sudo apt-get update
sudo apt-get install -y apt-fast
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Firefox Browser\n'
apt-fast install -y firefox
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Sublime Text 3\n'
sudo apt-fast install -y apt-transport-https
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-fast update
sudo apt-fast install -y sublime-text
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Elementary Tweaks\n'
# Install tweak tools for Elementary OS Loki
sudo apt-fast install -y software-properties-common
sudo add-apt-repository -y ppa:philip.scott/elementary-tweaks
sudo apt-fast update
sudo apt-fast install -y elementary-tweaks
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Paper Icon and Cursor themes\n'
sudo add-apt-repository -y ppa:snwh/pulp
sudo apt-fast update
sudo apt-fast install -y paper-icon-theme
sudo apt-fast install -y paper-cursor-theme
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Gdebi\n'
sudo apt-fast install -y gdebi
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing TLP laptop battery power saver...\n'
sudo add-apt-repository -y ppa:linrunner/tlp
sudo apt-fast update
sudo apt-fast install -y tlp tlp-rdw
echo '\n[>>>>>>>>>>>>>>>>>>>>] Starting TLP...\n'
sudo tlp start
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Git\n'
apt-fast install -y git
echo '\n[>>>>>>>>>>>>>>>>>>>>] File Compression utils\n'
sudo apt-fast install -y unace unrar zip unzip xz-utils p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Uget Download Manager...\n'
sudo add-apt-repository -y ppa:plushuang-tw/uget-stable
sudo apt-fast update
sudo apt-fast install -y uget
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing GTK+ Font Manager\n'
sudo add-apt-repository -y ppa:font-manager/staging
sudo apt-fast update
sudo apt-fast install -y font-manager
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing GTK+ Task Manager\n'
sudo apt-fast install -y gnome-system-monitor
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing My Weather Indicator\n'
sudo add-apt-repository -y ppa:atareao/atareao
sudo apt-fast update
sudo apt-fast install -y my-weather-indicator
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing VLC Player\n'
apt-fast install -y vlc
echo '\n[?]Do you want to install Java? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not installing Java'
else
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-fast update
sudo apt-fast install -y oracle-java8-installer
fi
echo '\n[?]Do you want to install NodeJS? [Y/n] '
read answer
if echo "$answer" | grep -iq "^n" ;then
echo '[>>>>>>>>>>>>>>>>>>>>] Not installing NodeJS'
else
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-fast install -y nodejs
sudo apt-fast install -y build-essential
fi
echo '\n[>>>>>>>>>>>>>>>>>>>>] Installing Fish Shell with Oh My Fish\n'
echo '\n[>>>>>>>>>>>>>>>>>>>>] Read more about Fish shell here https://hackercodex.com/guide/install-fish-shell-mac-ubuntu/\n'
sudo apt-add-repository -y ppa:fish-shell/release-2
sudo apt-fast update
sudo apt-fast install -y fish
curl -L https://get.oh-my.fish | fish
echo '\n[>>>>>>>>>>>>>>>>>>>>] Changing your defualt shell to Fish shell'
chsh -s /usr/bin/fish
mkdir -p ~/.config/fish
touch ~/.config/fish/config.fish
echo "set -g -x fish_greeting ''" >> ~/.config/fish/config.fish
curl -L https://get.oh-my.fish | fish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment