Debian Setup

Table of Contents

1 Vanilla

2 Basic System

2.1 The sources.list file, add:

# backports
deb http://ftp.debian.org/debian jessie-backports main
# conkeror (the current version startup error)
deb     http://noone.org/conkeror-nightly-debs jessie main
deb-src http://noone.org/conkeror-nightly-debs jessie main

2.2 Install these packages:

2.2.1 X11

xorg xinit tmux stumpwm xcursor-themes
ratpoison conky dzen2
rxvt-unicode-256color
xsel
autocutsel
xdm
pavucontrol # this is GUI to config pulseaudio! Very useful

2.2.2 Essential

global build-essential sudo git cifs-utils curl pkg-config cmake

2.2.3 APP

xpdf feh emacs silversearcher-ag conkeror sqlite3 tree

2.2.4 Helium

exuberant-ctags libsqlite3-dev autoconf graphviz
gnulib libboost-all-dev libgtest-dev libpugixml-dev
llvm clang
feh cmake
2.2.4.1 Note
cd /tmp
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE /usr/src/gtest
make
sudo mv libg* /usr/lib/

Note: if gtest is compiled with g++, clang++ cannot link it! See: http://stackoverflow.com/questions/37321069/googletest-clang-error-compiling-assert-falsefalse To use clang for compilation:

export CC=/usr/bin/clang
$ export CXX=/usr/bin/clang++
$ cmake ..

2.2.5 documentation packages

bash-doc
libstdc++-6-doc
r-doc-info

2.2.6 Extra packages

openjdk-7-jdk
chromium llvm clang
texlive-full
zlib1g-dev

2.2.7 pending packages:

cl-quicklisp # need manual installation
libpng-dev libz-dev libpoppler-glib-dev libpoppler-private-dev imagemagick # for emacs pdf-tools package # need installation

# java developping
antlr4
eclipse
r-base
r-base-dev

doxygen
plantuml

libxpm-dev libjpeg-dev libgif-dev libtiff5-dev # required package for compile emacs
gdb
sysstat

tidy # xml bueatifier

pylint
pylint3
subversion
z3 libz3-dev

gnustep-gui-runtime # for "say" to work, speech!
perl # for building virtual box guest addition
linux-headers-`uname -r`
libsigsegv-dev # handling sigsegv
cloc

# image processing utilities
imagemagick
imagemagick-doc
graphicsmagick

Non-package software:

2.2.7.1 note for cl-quicklisp
  1. use apt to install
  2. locate the file quicklisp.lisp
  3. sbcl –load /path/to/quicklisp.lisp
    1. (ql:installxxx)
    2. (ql:init-xxx)
  4. open emacs, install slime
  5. (ql:quickload "clx-truetype")
  6. run (xft:cache-fonts) once

2.3 Add to sudo

usermod -aG sudo hebi

pull from git repository:

  • dothebi
  • emacs.d
  • info

2.4 default setting

update-alternative --config x-terminal-emulator
update-alternative --config x-www-browser

2.5 git setup

git config --global user.name "Hebi Li"
git config --global user.email "[email protected]"
git config --global credential.helper cache
git config --global push.default simple

2.6 wallpaper setup

feh --bg-fill /path/to/wallpaper.suffix

2.7 Other staff

https://github.com/kiwanami/emacs-edbi You need to install the perl servers:

cpan RPC::EPC::Service DBI DBD::SQLite DBD::Pg DBD::mysql