Last active
December 27, 2017 00:44
-
-
Save githubnando/5c687cf948149fe56d2b2277859e9422 to your computer and use it in GitHub Desktop.
Ubuntu 17.10 afterinstall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NC='\033[0m' | |
CO='\033[0;31m' | |
USER='ernjs' | |
function display { | |
echo -e "$CO $1 $NC" | |
} | |
function install () { | |
apt-get install -y $@ | |
} | |
function update () { | |
apt-get update | |
} | |
update | |
display "Development, Native and Common Tools" | |
install vim curl npm git exfat-utils exfat-fuse deluge gnome-tweak-tool terminator \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
display "Docker CE From Zesty Repository and docker-compose" | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \ | |
&& apt-key fingerprint 0EBFCD88 \ | |
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable" \ | |
&& update \ | |
&& install docker-ce \ | |
&& groupadd docker; usermod -aG docker $USER \ | |
&& curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose \ | |
&& chmod +x /usr/local/bin/docker-compose | |
display "Google Chrome Stable" | |
curl -O https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
install lsb install gconf-service libgconf-2-4 gconf-service-backend gconf2-common | |
dpkg -i google-chrome-stable_current_amd64.deb | |
display "Host Connector Gnome Shell Extensions" | |
install chrome-gnome-shell | |
display "Sublime 3" | |
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add - | |
install apt-transport-https | |
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list | |
update | |
install sublime-text | |
display "Arc Theme + Flat Icon Remix" | |
install arc-theme | |
display "Centered New Windows" | |
install dconf-editor | |
dconf write /org/gnome/mutter/center-new-windows true | |
display "VLC Player and CODECS" | |
install amrnb amrwb faad2 flac ffmpeg gpac-libs lame libfc14audiodecoder mencoder mplayer x264 x265 gstreamer-plugins-espeak gstreamer-plugins-fc gstreamer-rtsp gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg gstreamer1-plugins-base gstreamer1-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-base-tools gstreamer1-plugins-good-extras gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-good | |
install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | |
install vlc | |
display "Spotify" | |
dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo | |
install spotify | |
display "Guake terminal + ZSH + Shutter" | |
install zsh shutter | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
chsh -s /bin/zsh | |
display "Hostname" | |
hostnamectl set-hostname palebluedot | |
display "Paper Icons" | |
git clone [email protected]:snwh/paper-icon-theme.git paper-icon-theme | |
cd paper-icon-theme | |
install dh-autoreconf | |
./autogen.sh && make && make install | |
display "Google Chrome Stable" | |
curl -O https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
install lsb install gconf-service libgconf-2-4 gconf-service-backend gconf2-common | |
dpkg -i google-chrome-stable_current_amd64.deb | |
display "Phpstorm 2017.3" | |
curl -LO https://download.jetbrains.com/webide/PhpStorm-2017.3.tar.gz | |
tar xvzf PhpStorm-2017.3.tar.gz | |
ls | grep 'PhpStorm-*' | grep -v tar | xargs -I {} mv {} /opt/phpstorm | |
echo -e '[Desktop Entry]\n Version=1.0\n Name=Phpstorm\n Exec=/opt/phpstorm/bin/phpstorm.sh\n Icon=/opt/phpstorm/bin/phpstorm.png\n Type=Application\n Categories=Development' | tee /usr/share/applications/phpstorm.desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment