Skip to content

Instantly share code, notes, and snippets.

@rlandas
Forked from h4cc/Makefile
Last active November 11, 2015 10:13
Show Gist options
  • Save rlandas/602acb5296d6a09a8d1c to your computer and use it in GitHub Desktop.
Save rlandas/602acb5296d6a09a8d1c to your computer and use it in GitHub Desktop.
UBUNTU Install packages
#
# Ubuntu 14.04 LTS (Trusty Tahr)
#
# Basic packages i usually install
#
# Author: Julius Beckmann <github@h4cc.de>
#
.PHONY: all update upgrade graphics darktable networking google_chrome dropbox archives media pandoc system harddisk docker filesystem apache2 php mysql memcached mongodb tools encfs_manager nautilus httpie erlang elixir openoffice owncloud
all:
@echo "Installation of ALL targets"
make update
make upgrade
make graphics darktable
make networking google_chrome dropbox
make media pandoc
make archives system harddisk docker filesystem tools encfs_manager httpie nautilus
make apache2 php mysql memcached mongodb
make openoffice owncloud
make erlang elixir
update:
sudo apt-get update
upgrade:
sudo apt-get -y upgrade
graphics:
sudo apt-get -y install gimp gimp-data gimp-plugin-registry gimp-data-extras geeqie graphviz libav-tools jpegoptim
darktable:
sudo apt-add-repository -y ppa:pmjdebruijn/darktable-release
make update
sudo apt-get -y install darktable
networking:
sudo apt-get -y install pidgin filezilla vinagre remmina chromium-browser pepperflashplugin-nonfree
google_chrome:
rm -f google-chrome-stable_current_amd64.deb
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
rm -f google-chrome-stable_current_amd64.deb
dropbox:
echo 'deb http://linux.dropbox.com/ubuntu trusty main' | sudo tee /etc/apt/sources.list.d/dropbox.list
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
sudo apt-get update
sudo apt-get -y install dropbox
# Broken package somehow ?
#nautilus-dropbox
archives:
sudo apt-get -y install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller
media:
sudo apt-get -y install openshot openshot-doc vlc ubuntu-restricted-extras libavformat-extra-54 libavcodec-extra-54 libdvdread4 blender gstreamer0.10-plugins-bad gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly totem libxine1-ffmpeg
sudo /usr/share/doc/libdvdread4/install-css.sh
pandoc:
sudo apt-get -y install pandoc pandoc-citeproc texlive texlive-latex-extra texlive-latex-base texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-lang-german preview-latex-style dvipng nbibtex
presentation:
sudo apt-get -y install pdf-presenter-console
system:
sudo apt-get -y install icedtea-7-plugin openjdk-7-jre subversion rabbitvcs-nautilus git curl vim network-manager-openvpn gparted gnome-disk-utility traceroute cloc whois mssh inotify-tools openssh-server sqlite3 etckeeper stress gksu
#--- Fixing psyhon keyring problems
sudo apt-get install python-keyring python-gnomekeyring
#--- Raise inotify limit
echo "fs.inotify.max_user_watches = 524288" | sudo tee /etc/sysctl.d/60-inotify.conf
sudo service procps restart
harddisk:
sudo apt-get -y install smartmontools gsmartcontrol smart-notifier
docker:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
make update
sudo apt-get -y install lxc-docker
filesystem:
sudo apt-get -y install exfat-fuse exfat-utils e2fsprogs mtools dosfstools hfsutils hfsprogs jfsutils util-linux lvm2 nilfs-tools ntfs-3g reiser4progs reiserfsprogs xfsprogs attr quota f2fs-tools
apache2:
sudo apt-get -y install apache2-mpm-prefork apache2-utils
sudo a2enmod rewrite
php:
sudo apt-get -y install libapache2-mod-php5 php5-apcu php5-mongo php5-json php5-imagick php5-xdebug php5-memcached php5-memcache php5-mcrypt php5-intl php5-geoip php5-gearman php5-cli php5-sqlite php5-mysql php5-ldap php5-gmp php5-gd php5-curl php-pear php5-dev
# mcrypt needs to be enabled, whatever...
sudo php5enmod mcrypt
# - Set php timezone to berlin in all php.ini files.
sudo sed -i 's@;date.timezone =@date.timezone = "Europe/Berlin"@g' /etc/php5/*/php.ini
# - Active writing of PHAR files for cli.
sudo sed -i 's@;phar.readonly = On@phar.readonly = Off@g' /etc/php5/cli/php.ini
# Activate mongo extension
sudo php5enmod mongo
#- PhpMyAdmin with 24 hours session lifetime.
sudo apt-get -y install phpmyadmin
#sudo sh -c "echo \"<?php $cfg['LoginCookieValidity'] = 3600 * 24; // 24 hours.\" > /etc/phpmyadmin/conf.d/LoginTimeout.php"
mysql:
sudo apt-get -y install mysql-server
memcached:
sudo apt-get -y install memcached
mongodb:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
make update
sudo apt-get -y install mongodb-10gen
tools:
sudo add-apt-repository -y ppa:tualatrix/ppa
make update
sudo apt-get -y install ubuntu-tweak htop meld guake password-gorilla retext terminator vim geany ghex
httpie:
sudo apt-get -y install python-pip
sudo pip install --upgrade httpie
encfs_manager:
sudo add-apt-repository -y ppa:gencfsm/ppa
make update
sudo apt-get -y install gnome-encfs-manager
nautilus:
sudo apt-get -y install nautilus-open-terminal nautilus-image-converter nautilus-compare nautilus-wipe
sudo add-apt-repository -y ppa:nilarimogard/webupd8 && sudo apt-get update && sudo apt-get install nautilus-columns
erlang:
rm -f erlang-solutions_1.0_all.deb
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
rm -f erlang-solutions_1.0_all.deb
make update
sudo apt-get -y install erlang
elixir:
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
make update
sudo apt-get -y install elixir
openoffice:
[ ! -f Apache_OpenOffice_4.1.0_Linux_x86-64_install-deb_de.tar.gz ] && wget http://downloads.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/de/Apache_OpenOffice_4.1.0_Linux_x86-64_install-deb_de.tar.gz
mkdir -p apache-open-office
tar xfvz Apache_OpenOffice_4.1.0_Linux_x86-64_install-deb_de.tar.gz -C apache-open-office
sudo dpkg -i apache-open-office/de/DEBS/*.deb
sudo dpkg -i apache-open-office/de/DEBS/desktop-integration/*.deb
owncloud:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
wget -O - http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/Release.key | sudo apt-key add -
make update
sudo apt-get -y install owncloud-client
#--- Ubuntu 14.04 LTS (Trusty Tahr)
#-
#- Basic packages i usually install
#
# - Check out the code:
# sudo apt-get -y install git ; git clone https://gist.github.com/7be7f940325614dc59fb.git provision ; cd provision
#
# - Install all groups with:
# make all
#
# - Install only single groups
# make php apache2 mysql memcached
#
# This is now a Makefile :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment