Last active
August 29, 2015 14:00
-
-
Save jmmadruga/11058722 to your computer and use it in GitHub Desktop.
Kubuntu 14.04 install scripts
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 | |
# Copyright (c) 2014, Jerônimo Medina Madruga <[email protected]> | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
## Check if you are root | |
if [ `whoami` != root ]; then | |
echo "Please run this script as root" | |
exit | |
fi | |
## Check the connection | |
if ! ping -c 4 www.google.com.br; then | |
echo "You need to be connected in order to use this script" | |
exit | |
fi | |
## Adding third party repositories and updating packages | |
sh -c 'echo "deb http://archive.canonical.com/ubuntu trusty partner" >> /etc/apt/sources.list.d/canonical_partner.list' | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add - | |
add-apt-repository "deb http://download.videolan.org/pub/debian/stable/ /" -y | |
add-apt-repository ppa:kubuntu-ppa/backports -y | |
add-apt-repository ppa:linrunner/tlp -y | |
add-apt-repository ppa:maarten-baert/simplescreenrecorder -y | |
add-apt-repository ppa:n-muench/programs-ppa -y | |
add-apt-repository ppa:nilarimogard/webupd8 -y | |
add-apt-repository ppa:otto-kesselgulasch/gimp -y | |
add-apt-repository ppa:sunab/kdenlive-release -y | |
add-apt-repository ppa:xorg-edgers/ppa -y | |
apt-get update | |
apt-get -f install -y | |
apt-get dist-upgrade -y | |
## Removing unwanted packages | |
apt-get purge amarok* apparmor apport* dragonplayer kaddressbook kcalc kontact* ktorrent* muon-* sieve* telepathy* quassel -y | |
apt-get autoremove -y | |
## Installing packages | |
apt-get install abcde aegisub aegisub-l10n apache2-utils arduino audacity build-essential calibre cups-pdf exfat-fuse firefox firefox-locale-pt fonts-cantarell fonts-comfortaa fonts-roboto gimp gimp-gmic git-core git-doc git-gui gnuplot htop inkscape juk kdeconnect kdenlive kdevelop kile kompare konversation lame libavcodec-extra libdvdcss2 mesa-utils minitube mpg123 ninja-ide ppa-purge qbittorrent qtqr scribus speedcrunch ssh sysstat task testdisk texlive texlive-lang-portuguese texlive-latex-extra texlive-publishers trimage unetbootin unrar vlc vym winff-qt youtube-dl -y | |
apt-get install libdvdcss2 tlp tlp-rdw simplescreenrecorder -y | |
wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
dpkg -i google-chrome-stable_current_amd64.deb | |
rm google-chrome-stable_current_amd64.deb | |
apt-get -f install -y | |
apt-get install ttf-mscorefonts-installer -y |
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 | |
# Copyright (c) 2013-2014, Jerônimo Medina Madruga <[email protected]> | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
# Check if you are root | |
if [ `whoami` == root ]; then | |
echo Please do not run this script as root | |
exit | |
fi | |
# Check the connection | |
if ! ping -c 4 www.google.com.br; then | |
echo You need to be connected in order to use this script | |
exit | |
fi | |
cd ~ | |
git config --global user.name "Jerônimo Medina Madruga" | |
git config --global user.email "[email protected]" | |
git config --global color.ui true | |
git config --global credential.helper cache | |
git config --global credential.helper 'cache --timeout=3600' | |
git config --global push.default nothing | |
ssh-keygen -t rsa -C "[email protected]" -f ~/.ssh/git_rsa | |
mkdir ~/Git | |
wget -c http://www.ecofont.com/assets/files/ecofont_vera_sans_regular.ttf | |
mkdir ~/.fonts | |
mv ecofont_vera_sans_regular.ttf ~/.fonts | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment