Skip to content

Instantly share code, notes, and snippets.

@yaph
Last active February 15, 2021 22:49
Show Gist options
  • Save yaph/4757476 to your computer and use it in GitHub Desktop.
Save yaph/4757476 to your computer and use it in GitHub Desktop.
Ubuntu post install scripts

Download and install latest version from http://continuum.io/downloads. Add entry to .bashrc

bash Anaconda-1.9.2-Linux-x86_64.sh
source ~/.bashrc

Update conda

conda update conda

Create datamining env

conda create -n datamining python=3 anaconda
source activate datamining
conda update ipython
sudo apt-get install nodejs nodejs-legacy npm libgnome-keyring-dev
mkdir ~/app
cd ~/app
git clone https://github.com/atom/atom
cd atom
script/build
sudo script/grunt install
git clone [email protected]:yaph/git-tools.git
ln -s /home/ramiro/repos/pub/git-tools/*.sh /home/ramiro/bin
git clone [email protected]:yaph/sandbox.git
ln -s /home/ramiro/repos/pub/sandbox/converter/*.sh /home/ramiro/bin
mkdir bin
mkdir -p repos/pub
mkdir -p repos/priv
sudo pip install virtualenvwrapper

System Settings

Brightness & Lock

  • Deactivate: Dim screen to save power
  • Lock: off
  • Turn off screen when inactive for: Never

Security and Privacy

Files & Applications

  • Record file and application usage: off

Search

  • Include online search results: off

Terminal

  • General: Use custom default terminal size: 132 x 24
  • Colors: Green on Black
  • Background: Transparent background
ssh-keygen
ssh-copy-id <username>@<host>
sudo apt-get install abiword chromium-browser gimp gftp icoutils keepassx python-gpgme ssh xclip
# drivers
sudo apt-get install brother-lpr-drivers-extra
# dev
sudo apt-get install curl git gitk htop phantomjs python-pip mysql-server r-base vim
# Apache
sudo apt-get install apache2 libapache2-mod-fcgid
# postgresql
sudo apt-get build-dep python-psycopg2
sudo apt-get install postgresql postgresql-server-dev-all
# FIXME no installation candidate
* ffmpeg
* libavcodec-extra-53 ssh xclip
# Laptop energy consumption
sudo apt-get install powertop
sudo apt-get remove unity-lens-shopping unity-lens-video unity-lens-photos unity-lens-music brasero gwibber gwibber-service rhythmbox librhythmbox-core8 transmission-common libreoffice-impress libreoffice-draw libreoffice-presenter-console libreoffice-writer
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment