[Linux学习日记]Ubuntu推荐软件以及简单脚本编写
昨天已经将Ubuntu 9.10的安装过程写了一遍,当然仅仅装好系统还是什么都做不了。今天主要推荐下我这些天用的软件和写一些简单的脚本使系统更易于使用。
Ubuntu是一个很依赖网络的Linux发行版本,安装文件仅仅700M,除了基本的系统需要的部分几乎都需要通过网络进行更新。首先我们需要配置 Ubuntu的软件源,默认的软件源是Ubuntu自带的,国内网络上有很多的软件源,教育网上也有许多高校的更新源,著名的比如ftp://debian.ustc.edu.cn
,ftp://ftp3.singhua.edu.cn
,
ftp://ftp.sjtu.edu.cn
.打开终端,输入sudo gedit /etc/apt/sources.list .打开文件后将其中的url用找到的源替换掉,保存关闭.
然后我们就可以使用配置好的源更新或者下载应用程序。在桌面下可以使用新立得来操作,但是更加推荐在终端中使用aptitude命令,需要root权限。
搜索:aptitude search 软件名
安装:aptitude install 软件名
移除:aptitude remove 软件名
Ubuntu自带了很多应用程序,但是很多并不是十分好用,我们可以安装自己喜欢的应用程序.
网络聊天.
QQ:腾讯官方Linux QQ,不过貌似9.10下会有bug,可能丢失所有好友,官网下载
Eva:山寨QQ
sudo aptitude install eva
MSN: 推荐用 emesene,一个python写的客户端 sudo aptitude install emesene
飞信: pidgin的插件我跑不了,索性装了libfetion
.记住用飞信号登录,别用手机,不然上不去
多媒体播放.
音乐: 系统自带的音乐播放器因为版权问题没有mp3解码器..所以装一个audacious吧.比较像千千静听
sudo aptitude install audacious2
视频: 推荐安装smplayer,自带各种解码器.
sudo aptitude install smplayer
系统设置.
Ubuntu tweak:貌似国人写的一个软件,可以很方便的设置系统,各种灵活的定制,让系统更易于使用
sudo aptitude install ubuntu-tweak
pdf.
系统自带的pdf阅览器同样不好用,推荐foxit reader for linux
office.
系统自带的open office无悬念的还是不好用,不过凑合.推荐下个永中office,比较接近ms office.
字典.
星际译
相关文档:
Redhat5下利用yum安装SVN客户端
由于Redhat5自带的SVN的版本是1.4.1的,比较老,不能读取SVN1.5的库,所有要更新:
直接运行:yum update subversion
会抱错:
http://ftp.sjtu.edu.cn/centos/5/updates/i386/repodata/repomd.xml: [Errno 14] HTTP Error 403: Forbidden
将repo地址改称USTC(科大的),
......
首先申明,我是菜鸟.菜到什么程度,大家看看下面的代码.
代码要求:取得1000次单独创建进程的时间.
[code:1:fdac913669]#include
#include
#include
#include
#include
strut timeval {
long tv_sec; /* 秒数 */
long tv_usec; /* 微秒数  ......
How to change the hostname of a Linux system
Normally we will set the hostname of a system during the installation process. Many peoples don’t care about this, and don’t change the hostname even if for example this was set to something really stupid by the datacenter that installed the ......
用GCC开发linux应用程序(经典)
2009年11月01日 星期日 23:58
作为自由软件的旗舰项目,Richard Stallman 在十多年前刚开始写作 GCC 的时候,还只是把它当作仅仅一个 C程序语言的编译器;GCC 的意思也只是 GNU C Compiler 而已。经过了这么多年的发展,GCC 已经不仅仅能支持 C语言;它现在还支持 Ada 语言、C++ 语言、Ja ......