Lubuntu Setup for Programming

igni發表於2012-11-23

Lubuntu Setup for Programming

Memo to setup a light weight linux env for programming usage.

Env

  • Oracle Virtual Box
  • lubuntu-i386 12.10

Basic Setup Steps

  1. enable su mode and set the sudo profile

    su passwd root

    sudo visudo

    add a defaults line: Defaults env_reset , timestamp_timeout=-1

  2. install make and gcc

    su

    apt-get update

    apt-get install make gcc git git-web

  3. install VB guest addition

    /media//VBox..../VBoxLinuxAddtion.run

  4. install editors

    apt-get install vim7 emacs24

  5. customize ~/.bashrc

  6. git

Python

  • sudo apt-get install python-dev (resolve the python.h issue)
  • install virtualenv find a place to save

    curl -0 https://raw.github.com/pypa/virtualenv/master/virtualenv.py > virtualenv.py

  • use virtualenv created *env*s to install other libraries

Clojure

  • Clojure 1.4 (apt-get will install openjdk 7)

    sudo apt-get install clojure1.4

  • Get the lein.sh, launch a nrepl

    lein.sh nrepl

  • make sure to install the nrepl, clojure-mode, parent-edit, ac-nrepl, auto-complete-mode with emacs24's package-install

相關文章