Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Things to do after install Elementary OS Loki (0.4)
# First you update your system
sudo apt update && sudo apt-get dist-upgrade
# Clean-up System
sudo apt purge epiphany-browser epiphany-browser-data #browser
sudo apt purge midori-granite #browser
# sudo apt-get purge noise # music player
sudo apt autoremove
sudo apt autoclean
# Properties Commons (to install elementary tweaks)
sudo apt install software-properties-common
# gdebi for easy click-install of *.deb
sudo apt install gdebi
#Install File Compression Libs
sudo apt install rar unrar zip unzip p7zip-full p7zip-rar
# GIT
sudo apt install git
# essential programs
sudo apt install g++ libtool automake htop gparted vlc browser-plugin-vlc firefox inkscape shutter steam filezilla k4dirstat speedcrunch
# Java
sudo apt install openjdk-8-jre openjdk-8-jdk
# Multimedia Codecs
sudo apt install ubuntu-restricted-extras libavcodec-extra ffmpeg
# Elementary Tweak
## 1. adding repository
sudo add-apt-repository ppa:philip.scott/elementary-tweaks
## 2. updating apt-get
sudo apt update
## 3. installing tweaks
sudo apt install elementary-tweaks
## 4. installing wallpapers
sudo apt install elementary-wallpapers-extra
# KDE Connect to sync with other devices
sudo add-apt-repository ppa:vikoadi/ppa
# sudo add-apt-repository ppa:webupd8team/indicator-kdeconnect # alternative ppa
sudo apt update
sudo apt install kdeconnect indicator-kdeconnect
# Google Chrome
sudo apt install libxss1 libappindicator1 libindicator7
## 1. downloading last stable package
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
## 2. installing package
sudo dpkg -i google-chrome-stable_current_amd64.deb
## 3. fixing broken dependencies
sudo apt install -f
## 4. Enable maximize and minimize button on Google Chrome
#gconftool-2 --set /apps/metacity/general/button_layout --type string ":minimize:maximize:close"
rm google-chrome*.deb # free up space
# Install Telegram
mkdir -p ~/Documents/apps/
wget -O ~/Downloads/tsetup.1.1.2.tar.xz https://github.com/telegramdesktop/tdesktop/releases/download/v1.1.2/tsetup.1.1.2.tar.xz
tar -xf ~/Downloads/tsetup.1.1.2.tar.xz -C ~/Documents/apps/
# Install dependencies for flux-gui
sudo apt install python-appindicator python-xdg python-pexpect python-gconf python-gtk2 python-glade2 libxxf86vm1
cd /tmp/
git clone "https://github.com/xflux-gui/xflux-gui.git"
cd /tmp/xflux-gui
python download-xflux.py
sudo python setup.py install
cd
#Install Spotify
## 1. Add the Spotify repository signing key to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
## 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
## 3. Update list of available packages
sudo apt update
## 4. Install Spotify
sudo apt install spotify-client
# VirtualBox
## 1. downloading package
#wget http://download.virtualbox.org/virtualbox/5.1.6/VirtualBox-5.1.6-110634-Linux_amd64.run
## 2. installing package into /opt
#sudo sh VirtualBox-5.1.6-110634-Linux_amd64.run
## 3. downloading extension pack
#wget http://download.virtualbox.org/virtualbox/5.1.6/Oracle_VM_VirtualBox_Extension_Pack-5.1.6-110634.vbox-extpack
## 4. install extension pack
#sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.1.6-110634.vbox-extpack
## 5. listing installed extension packs
#sudo VBoxManage list extpacks
# Atom
wget https://atom.io/download/deb
sudo apt install ./atom-*.deb
rm atom-*.deb # free up space
## Teamviewer 12
## 1. downloading package
wget https://download.teamviewer.com/download/teamviewer_i386.deb
## 2. installing package
sudo dpkg -i teamviewer_i386.deb
## 3. fixing broken dependencies
sudo apt-get install -f
#Reduce overheating and improve battery life
## 1. adding repository
#sudo add-apt-repository ppa:linrunner/tlp
## 2. updating apt-get
#sudo apt-get update
## 3. installing package
#sudo apt-get install tlp tlp-rdw
## 4. starting application
#sudo tlp start
# Elementary Transparent Theme
## 1. adding repository
sudo add-apt-repository ppa:yunnxx/elementary
## 2. updating apt-get
sudo apt-get update
## 3. installing transparent theme
sudo apt-get install elementary-transparent-theme
# Arc-Theme
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/arc-theme.list"
sudo apt-get update
sudo apt-get install arc-theme
# Paper theme
# add daily builds PPA
sudo add-apt-repository ppa:snwh/pulp
# update repository info
sudo apt-get update
# install icon theme
sudo apt-get install paper-icon-theme
# install gtk theme
sudo apt-get install paper-gtk-theme
# install cursor theme
sudo apt-get install paper-cursor-theme
# Synapse launcher
sudo apt install synapse
# Dropbox (specific installation for elementary Loki)
git clone https://github.com/zant95/elementary-dropbox /tmp/elementary-dropbox
bash /tmp/elementary-dropbox/install.sh
# neofetch for Ubuntu 16.10 and below
# add ppa
sudo add-apt-repository ppa:dawidd0811/neofetch
# update repos
sudo apt update
# install package
sudo apt install neofetch
# Keepassx
sudo apt install keepassx
# Gnome system monitor
sudo apt install gnome-system-monitor
# System load indicator
sudo apt install indicator-multiload
# Fira code
mkdir -p ~/.local/share/fonts
for type in Bold Light Medium Regular Retina; do
wget -O ~/.local/share/fonts/FiraCode-${type}.ttf \
"https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true";
done
fc-cache -f
# Git setup
printf "Enter your git user name: \n"
read username
printf "Enter your git email: \n"
read email
git config --global user.name ${username}
git config --global user.email ${email}
# Download git repos
mkdir -p ~/Documents/Github
# Powerline fonts
# clone
git clone https://github.com/powerline/fonts.git ~/Documents/Github/fonts
# install
~/Documents/Github/fonts/install.sh
# My Keepassx database
git clone https://github.com/konstantinbo/my-keepassx-db.git ~/Documents/Github
# Spotify notification script
mkdir -p ~/Documents/scripts/
mkdir -p ~/.icons/
wget -O ~/Documents/apps/sp https://gist.githubusercontent.com/wandernauta/6800547/raw/2c2ad0f3849b1b1cd1116b80718d986f1c1e7966/sp
chmod +x ~/Documents/apps/sp
# install dependencies
sudo apt install libnotify-bin notify-send
# get git repo
git clone https://github.com/konstantinbo/sp-notification.git ~/Documents/Github/sp-notification/
chmod +x ~/Documents/Github/sp-notification/sp-notify
chmod +x ~/Documents/Github/sp-notification/sp-pause-notification
cp ~/Documents/Github/sp-notification/pause-icon.png ~/.icons
# z - jump around
git clone https://github.com/rupa/z.git ~/Documents/Github/z/
# Python2/3 pip
sudo apt install python3-dev python-pip python3-pip
# pip libs
pip3 install scipy pandas numpy sympy matplotlib html5lib thefuck
# Ruby and bropages
sudo apt install ruby ruby-dev
sudo gem install bropages
# Pycharm
wget -O /tmp/pycharm-pro.tar.gz https://download.jetbrains.com/python/pycharm-professional-2017.1.3.tar.gz
tar -zxf /tmp/pycharm-pro.tar.gz -C ~/Documents/apps/
cd ~/Documents/apps/pycharm*/bin/
./pycharm.sh
# install and change shell to zsh
sudo apt install zsh
chsh -s $(which zsh)
# install oh-my-zsh
printf "Enter 'exit' after installation of oh-my-zsh is finished to get back to the installation script. \n "
printf "Press <Enter> to continue. \n "
read input
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
# add additional plugins
git clone https://github.com/arzzen/calc.plugin.zsh.git ~/.oh-my-zsh/custom/plugins/calc/
git clone https://github.com/djui/alias-tips.git ~/.oh-my-zsh/custom/plugins/alias-tips/
git clone https://github.com/zdharma/history-search-multi-word.git ~/.oh-my-zsh/custom/plugins/history-search-multi-word/
git clone https://github.com/supercrabtree/k ~/.oh-my-zsh/custom/plugins/k/
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
# my dotfiles
git clone https://github.com/konstantinbo/dotfiles.git ~/Documents/Github/dotfiles/
# delete existing files in home directory
rm ~/.aliases
rm ~/.zshrc
# create soft links
ln -s /home/$USER/Documents/Github/dotfiles/.aliases /home/$USER/.aliases
ln -s /home/$USER/Documents/Github/dotfiles/.zshrc /home/$USER/.zshrc
source ~/.zshrc
source ~/.aliases
printf "Start Telegram manually in ~/Documents/apps/Telegram . \n"
@m-p-3

This comment has been minimized.

Copy link

commented Aug 9, 2018

@line 71, I had to replace the signing key for Spotify to the following
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90

Based on the official download page
https://www.spotify.com/de/download/linux/

@konstantinbo

This comment has been minimized.

Copy link
Owner Author

commented Oct 16, 2018

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90

Thanks! @m-p-3
Added!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.