Ubuntu使用问题记录,

本文汇总了一系列Ubuntu系统下的实用操作技巧,包括网络收音机Streamtuner的安装使用、XMMS界面乱码问题的解决方法、C/C++编译环境的安装配置教程、常用软件的安装与卸载命令、Emacs的安装步骤以及StarDict词典的安装指南等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

-------------------------------
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值