您的位置:首页 > 其它

Ubuntu使用问题记录,

2007-06-13 22:42 761 查看
1. 网络收音机streamtuner的安装
sudo apt-get install streamtuner
制作命令:面板里面,/usr/bin/streamtuner
以后就可以直接在面板上点击了,我的默认打开是XMMS
修改参照: http://forum.ubuntu.org.cn/about41936.html&sid=4e3a6aff2c62a632f907a897a92db129
2.XMMS界面乱码问题
sudo vim /etc/environment
加入一条:GST_ID3_TAG_ENCODING=GBK
解决xmms歌曲列表中的乱码问题

如果你的locale是utf8的
那么
sudo cp /etc/gtkrc.zh_CN /etc/gtkrc.zh_CN.utf8
解决xmms菜单中的乱码

3.Emacs 2.3安装 http://forum.ubuntu.org.cn/about13560.html http://forum.ubuntu.org.cn/about18274.html

4.Ubuntu C/C++编译环境安装配置
安装gcc,make
sudo apt-get install gcc g++ libgcc1 libg++ make gdb
测试环境配置
编写CPP文件

$ echo '#include <stdio.h>#include <iostream>using namespace std;int main() { printf("Hello /n"); cout<<"World!!/n";} ' > helloworld.cpp
编写makefile:
$ echo -e 'all:helloworldhelloworld:helloworld.cpp/tg++ -g -o /$@ helloworld.cpp' > makefile
编译执行
$ make all$ helloworld
如果屏幕输出
HelloWorld!!
则安装成功

5,ubuntu软件的卸载和安装
方法一:可以用终端安装或卸载软件。
方法二:用系统自带的“新立得软件包管理器”

在终端里
安装软件 apt-get install softname1 softname2 softname3……
卸载软件 apt-get remove softname1 softname2 softname3……
卸载并清除配置 apt-get remove --purge softname1
更新软件信息数据库 apt-get update
进行系统升级 apt-get upgrade
搜索软件包 apt-cache search softname1 softname2 softname3……

安装deb软件包 dpkg -i xxx.deb
删除软件包 dpkg -r xxx.deb
连同配置文件一起删除 dpkg -r --purge xxx.deb
查看软件包信息 dpkg -info xxx.deb
查看文件拷贝详情 dpkg -L xxx.deb
查看系统中已安装软件包信息 dpkg -l
重新配置软件包 dpkg-reconfigure xxx在“新立得”里
点搜索,输入软件名
在需要安装或卸载的软件上右击-点标记-最后点应用

6.shell 编程
shell编程一篇不错的入门文章 http://myubuntu.blog.com.cn/archives/2006/1963656.shtml -----------------------------------------------------

7安装stardict
1.sudo apt-get install stardict 这样安装好不能翻译东西的
2.下载字典包,可以从官方网站下,说明非常详细. http://stardict.sourceforge.net/Dictionaries.php
3.将下载来回来的字典包解压并移到/usr/share/stardict/dic,如dic不存在可自己手动建立


引用内容
官方的帮助:
Install Dictionaries in Linux:
To install these tarball dictionaries, do this:
tar -xjvf a.tar.bz2
mv a /usr/share/stardict/dic

4.安装真人发音,点击下载发音文件 84M ,解压并移动到/usr/share
5.重启stardict

-------------------------------
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: