2011-01-31

Lubuntu -- 手動安裝必要軟體

Lubuntu的環境比較單純,所以需要手動安裝很多必要的軟體,所以把它們整理下來

基本開發環境安裝
sudo apt-get install build-essential libx11-dev libgl1-mesa-dev libglu1-mesa-dev

Code::Blocks安裝

先在 /etc/apt/sources.list裡面加入這兩行
deb http://apt.wxwidgets.org/ gutsy-wx main
deb http://lgp203.free.fr/ubuntu/ gutsy universe
$ wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
$ wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install codeblocks

以下兩個是選項
$ sudo apt-get install codeblocks-contrib
$ sudo apt-get install libwxsmithlib0

Qt 開發環境
sudo apt-get install -y libqt4-dev qt4-designer qt4-doc

Gtk 開發環境
sudo apt-get install -y gnome-devel gnome-devel-docs

Sun Java 6
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
sudo apt-get install sun-java6-jdk
sudo update-alternatives --config java6
sudo nano /etc/environment
CLASSPATH = .:/usr/lib/jvm/java-6-sun/lib
JAVA_HOME = /usr/lib/jvm/java-6-sun
sudo apt-get install sun-java6-plugin

沒有留言: