sudo apt-get install build-essential automake libtool
sudo apt-get install debian-keyring g++-multilib g++-4.2-multilib gcc-4.2-doc libstdc++6-4.2-dbg glibc-doc manpages-dev libstdc++6-4.2-doc
so easy, just :
sudo apt-get install ruby irb rdoc
if your would like the ruby1.9, and and do that:
First ,you can serach the package about vim, you can run : sudo apt-cache search vim |grep vim
sudo apt-cache search vim |grep vim
and select which some one you like
sudo apt-get install vim-full cp /usr/share/vim/vim71/vimrc_example.vim ~/.vimrc sudo apt-get install vim-scripts vim-addon-manager
vim-scripts 默认安装在 /usr/share/vim-scripts ,不能立马生效。要 install的,比如: vim-addons install enhanced-commentify 这个干嘛用的呢,其实,就是作个链接,请看,
deli@deli-laptop:~/.vim/plugin$ ls -ls total 8 8 -rw-r—r— 1 deli deli 8048 2008-05-05 23:52 code_complete.vim 0 lrwxrwxrwx 1 deli deli 52 2008-05-11 22:42 EnhancedCommentify.vim -> /usr/share/vim-scripts/plugin/EnhancedCommentify.vim
(1)安裝好之後,隨便開一個.c or .cpp檔案,先進visual mode選取一段文字,然後按下
"\x" (反斜線+x)
你就會發現這些文字全部被註解掉了!要回覆的話,同樣地選取起來,再按一下"\x"就可以了。
也可以用"\c",會自動跳到下一行。 (2) vim-addons install<TAB> will complete only with the addons that you can install, excluding those which are already installed and taking into account whether or not you're asking to install a personal or system-wide addon). Cool.
vim-addons list 查看可以装的script,比如我的:
deli@deli-laptop:~$ vim-addons list align alternate bufexplorer calendar closetag cvsmenu doxygen-toolkit enhanced-commentify git-commit gnupg info lbdbq matchit minibufexplorer nerd-commenter omnicppcomplete po project sokoban supertab taglist tetris themes utl vcscommand vimplate whatdomain winmanager xml deli@deli-laptop:~$
Appendix: 1. Install ubuntu8.04 from hard desk at IMB Thinkpad T42 把iso里面的.disk casper 解压到根目录
title Ubuntu 8.04 LiveCD find —set-root /ubuntu-8.04-desktop-i386.iso kernel /casper/vmlinuz boot=casper find_iso=/ubuntu-8.04-desktop-i386.iso noapic initrd /casper/initrd.gz ps: 安装时最好不要连网,否则最后,会因为配置APT管理器导致等待过长时间。
2. Enable TrackPoint middle-button scrolling
To use the blue middle TrackPoint button as a scroll wheel, do the following. In a terminal, enter these commands:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup sudo gedit /etc/X11/xorg.conf
In the editor, find the section headed Section “InputDevice” / Identifier “Configured Mouse” and the following lines above the “EndSection” line:
Option "EmulateWheel" "true" Option "EmulateWheelButton" "2"
Save the file. Logout, restart X with Ctrl-Alt-Backspace, and log in again.
3. Multi thread download http://myget.sourceforge.net/ for OPENSSL $ wget http://myget.sourceforge.net/release/myget-0.1.2.tar.gz $ sudo apt-get install libcurl4-openssl-dev libssl-dev .$ ./configure && make $ sudo make install
4. 安抓Opera 浏览器
sudo apt-get install libqt3-mt-dev 到 www.opera.com 下载 ubuntu 8.04的版本 安装即可.
发信人: deli (缘来你也在这里), 信区: Linux 标 题: [记事]Opera装flash 插件 发信站: 新一塌糊涂 (Tue Feb 27 13:08:53 2007), 本站(newytht.net)
install_flash_player_9_linux.tar.gz 解压后,把 flashplayer.xpt libflashplayer.so 放到 /usr/lib/opera/plugins
支持输入法:
重启 Opera.
5. 安装ATI dirver
http://wiki.cchtml.com/index.php/Ubuntu_Hardy_Installation_Guide
Refer to:
http://www.pengkuny.com/post/Install_Ubuntu8.04.html
http://www.columbia.edu/~em36/ubuntuhoarythinkpadt42.htm
(1) http://ashotw.blogspot.com/2008/04/vim-plugin-enhanced-commentify.html
(2) http://upsilon.cc/~zack/blog/posts/2007/09/vim-addons-completion/