Ubuntu:Gutsy cn

From

Image:Ubuntuguide_logo.png


Ubuntu 7.10 (Gutsy Gibbon)

继Ubuntu 7.04(Feisty Fawn)之后,Ubuntu 7.10 (Gutsy Gibbon)于2007年10月18日发布。请加入进来帮助我们测试完善这个指南。

这份手册的英文原作者是马来西亚吉隆坡的Chua Wen Kiat。 目前由拉脱维亚大学(University of Latvia)Linux 中心 维护,任何人都可以参与编辑。

请到官方的 UbuntuGuide.org 论坛 讨论这个指南。

为了防止Wiki遭到蓄意破坏,只有注册用户才能修改这个Wiki和创立新帐号。

如果你有任何新技巧的建议,请到 Talk page 来讨论。

MikrobartOrvilsQuashJiyuu0CargoGabemorrBytecopekrampoSimosStubbyeljacoshaiThunderMHasileadammichaelroachBelisarivsCheatorHankTamalKaotikssoniahKutanMehdirichuxShadymanHavarillfr0zen_penguinLouisShadymanshanlot751EtienneRabid9797Mantas Smelevičiusperspectoffphloseadogsmalugo2debugPakosRedBassCyberAngelCogeeldineroycorreAlgimantasBucinskasUficAntidrugueVahidLouis KingRsinghBorut-TCinglallsTownrayANtuMaLaMpete alleboneGreenstarThe TurkRonBCompotatojoMbrasigma80EnlightenedswineKarthikeyanemorrp1Th0rv4ldjspanglerSevoirForainand other friends of our community edit


Contents


前言

关于 Gutsy

  • Ubuntu 7.10 于2007年10月18日发布。
  • Ubuntu 7.10的代码名是Gutsy Gibbon(勇敢的长臂猿),它是Ubuntu 7.04 Feisty Fawn (易怒的小鹿)的后继版本。
  • 对于桌面和服务器版本,Gutsy将会支持18个月。
  • 如果用户需求更长的支持时间,可以考虑继续使用Ubuntu 6.06 LTS(长期支持版本),其安全支持会直到2011年,而不要更新到或者安装7.10。

如何得知你使用的是哪个版本的Ubuntu

  • 阅读 #概述
  • 在Gutsy中,访问菜单:系统 -> 管理 -> 系统监视器 -> 系统 页

或者,在任何Ubuntu及其衍生版本中,执行下面的命令:

lsb_release -a

Ubuntu的未来版本

  • Ubuntu的发布周期为6个月
  • 基本上在4月份和10月份新版本进行发布
  • 下一个版本计划于2008年的4月24日发布,将会命名为Ubuntu 8.04 (Hardy Heron) (辛劳的苍鹭)。
  • Hardy Heron 将会是长期支持的发布版本,将会在服务器上支持5年,在桌面上支持3年的安全更新。

Ubuntu的早期版本


如果你正在使用一个过时的Ubuntu版本,那么你应该考虑升级到Gutsy。这个版本有很重要的更新,在Gutsy中使用的更新器将会使将来向未来版本迁移更容易。如果你处于生产环境,或者目前所用东西都工作很顺利,你也许希望继续使用一个长期支持(LTS)的版本。

  • Dapper 是最新的长期支持(LTS)版本,下一个长期支持版本将会是Gutsy+1 (Hardy Heron)。

概述

  1. 这是一份Ubuntu 7.10 (Gutsy Gibbon)非官方入门指南。本指南与Ubuntu及Canonical Ltd没有任何关系
  2. 本指南可以ubuntuforums.org的官方论坛上讨论(UbuntuGuide.org 论坛)你现在就可以加入讨论。
  3. 如果你看到浅灰色方框,这意味你必须在终端下运行命令(应用程序-> 附件 -> 终端)或按方框内所提示的内容按其它命令执行。
  4. 为了减少键盘输入错误,请将命令复制后粘贴到终端(在命令上点击鼠标右键-> "复制" or "粘贴"。你也使用"Ctrl+C"复制及"Shift+Insert"粘贴)
  5. "sudo"表示以代替用户执行(SUbstitute User Do)。"sudo"会出现"Password:"的提示,请"Password:"后输入用户密码。举例来说,你可以以系统上别的用户执行命令,如 sudo -u peter <命令> 将以系统上的peter这个用户来执行该命令。
  6. 如果你更深入了解任何命令更多信息,你仅简单通过输入“man”命令去查看帮助页面。例如:"man sudo"将显示"sudo"命令的帮助页面。
  7. 如果你十分厌烦每次都需要键入"apt-get", 请使用新立得软件管理器(Synaptic),这是一个apt-get的图形界面工具。
  8. 使用"apt-get" and "wget"执行安装/更新/下载时,请确保你的计算机连上网络。
  9. 所有引用"aptitude"的地方都将被替换为"apt-get"。你也可以继续使用"aptitude",但是这可能会导致依赖问题。
  10. 下载文件时,在链接上点击鼠标右键->选择 "链接另存为..." -> 确保文件名和扩展名的正确。
  11. 如果你想把UbuntuI翻译成本地语言或在其它方面帮助Ubuntu,请访问https://launchpad.net/
  12. 愿"humanity to others"精神永远与你同在...
如果你使用64位的版本,请将所有的"i386"替换为"amd64"

外部链接声明

这个指南中的文章可能包含外部链接。这能够在保证提供高质量的Howto(如何...)、指令、屏幕截图、视频、指南等等的情况下,让这个指南短一些。但是,Ubuntuguide.org不能对每一个链接的质量进行检查和保证。有时候,有些链接会失效、提供错误信息或者改变他们的内容。所以当你离开Ubuntuguide.org的时候请注意,我们不会对那些链接中的任何信息负责。如果你发现了失效链接或者错误信息的链接,请在这里贴上链接和包含该链接的章节。当然,如果你有时间并且真的很想做一个好人的话,可以帮我们编辑修改这个指南。 谢谢!!

报告无效或者错误信息的链接

如果你发现了失效链接或者错误信息链接,请在这里贴上该链接和发现它的章节。谢谢!


关于 Ubuntu 和官方的衍生版本

Ubuntu 7.10 指南和链接


Ubuntu 屏幕截图

Ubuntu 7.10 屏幕截图展

Kubuntu 7.10 指南和链接

Kubuntu 屏幕截图

Kubuntu 7.10 屏幕截图展

Xubuntu 7.10 指南和链接

Xubuntu 屏幕截图

Xubuntu 7.10 屏幕截图展

Edubuntu 7.10 指南和链接

Edubuntu 官方网站 Wikipedia: Edubuntu

Gobuntu 7.10 指南和链接

Wikipedia: Gobutnu

翻译和本地化

在Ubuntu中对于中文、日文、葡萄牙文和大多数欧洲语言的支持要好于其他的语言。如果你的语言没有足够的支持,那么你可以帮助Ubuntu来翻译它到你喜欢的语言。想要翻译,请访问 https://translations.launchpad.net/ubuntu 然后登陆(如果没有注册的话需要先行注册)。选择你喜欢的语言,然后开始翻译。

更新、升级与安装软件

如何添加额外的源

Work in Progress

菜单操作

将'Feisty'替换为'Gutsy'

  • 选择发布友好的软件源。这些是Ubuntu发布系统的一部分。这是建议的方式。
系统 --> 系统管理 --> 软件源

选中你认为你需要的软件源 (main, universe, restricted, multiverse)。你可能不会需要 'sources'源。

  • 添加第三方软件源。这样的软件源没有被正式监管。有些非常流行,但是,使用这些第三方的源你需要自己承担其风险。
系统 --> 系统管理 --> 软件源 --> 第三方软件 --> 添加

添加你的源的名字。在这个例子中我们将使用 Medibuntu,一个流行的第三方源,而且与Ubuntu没有任何关系。

APT 行: deb http://packages.medibuntu.org/ feisty free non-free
  • 下载所有需要的gpg key文件,并且添加他们到keylist中。这个key将认证这个软件源到你的系统中。Medibuntu源(没有与Ubuntu有任何关系):
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

手动操作

  • 创建当前源列表的一个备份。
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
  • 在文本编辑器中打开源列表文件

Ubuntu 用户:

sudo gedit /etc/apt/sources.list
  • 用下面的文本替代其中内容。
要使用你本地的镜像,你可以在archive.ubuntu.com前面添加"cc." (cc = 你的国家代码)
例如: deb http://lv.archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.

deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

##Universe

deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## Multiverse

deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Backports

deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Canonical Partner Repository 

deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

## PLF REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
deb http://packages.medibuntu.org/ gutsy free non-free
  • 保存编辑好的文件
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
sudo apt-get update

如何从Feisty升级到Gutsy

如何编辑自动更新

Todo

如何手动更新 Ubuntu

Todo

Add-on Applications

其他应用程序

The application in this section need a home. If Editors have the time, please place these apps in an appropriate category. If the category doesn't exist then make it. Destroy this message when complete. Thanks. --KrazyPenguin 06:16, 27 October 2007 (EEST)

Hotwire - Ubuntu 的图形终端

如果你想要一个Ubuntu的图形终端看一下这个也许会很有用

如何在Ubuntu里安装Epiphany网页浏览器

如果你想知道如何在Ubuntu中安装Epiphany网页浏览器,那么请按照下列步骤操作

apturl - Ubuntu Gutsy Gibbon的一个协议处理器(protocol handler)

如果你想从网页浏览器中安装Ubuntu包,这里有一个很简单的工具

在aMSN中启用拖拽功能

Adobe Reader Gutsy amd64/i386

第一步

echo "deb http://packages.medibuntu.org/ gutsy free non-free" | sudo tee -a /etc/apt/sources.list

第二步

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

第三步,我们添加插件和Reader

sudo aptitude install acroread acroread-plugins acroread-escript

然后就可以使用Adobe Reader了

OpenOffice 插件

在Ubuntu中的OpenOffice中打开.docx文件。(对于其他发布来说也同样有效)

首先我们需要下载转换器,我们可以在这里找到它 > [1] 下载 "odf-converter-1.0.0-5.i586.rpm"

如果你还没有安装 alien 的话,那么现在安装它,

 sudo apt-get install alien

然后我们需要转换它,我们不想为了这个就要一个 .deb的包,所以我们使用-ct选项,而不是-k。-ct将其转换为.tgz。

 sudo alien -ct odf-converter-1.0.0-5.i586.rpm

一旦它转换完毕,我们需要解压缩:

 tar xvf odf-converter-1.0.0.tgz

现在在你的桌面上将有3个目录(或者是你解压缩的位置里)

现在运行

 sudo cp usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/
 sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu    /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter
 sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types

然后就好了,你可以打开并且编辑.docx文件了。

Genealogical Research and Analysis Management Program (Gramps)

GRAMPS, the Genealogical Research and Analysis Management Programming System(家谱研究与分析管理程序系统),是一个以Python写成的开源的家谱程序,使用GTK/GNOME作为界面。GRAMPS有导入GEDCOM文件(用于如Windows中的FamilyTree Maker程序)的能力,并且可以生成各种格式的报告,如ABIWord,OpenOffice.org格式,或者HTML和PDF。

sudo apt-get install gramps

桌面

高级桌面特效 (Compiz Fusion)

要启用桌面特效,在这里打开它们:

 系统 > 首选项 > 外观 > 视觉效果

要想自定义选项,安装配置工具:

 sudo apt-get install compizconfig-settings-manager

然后或者在上面的视觉效果中选择"自定义",或者选择:

 系统 > 首选项 -> Advanced Desktop Effects Settings (高级桌面效果设置)

动态系统监控

sudo apt-get install netspeed

右键单击上面的面板,选择"添加到面板..."。添加"系统监视器"(System Monitor)和"网络监视器"(Network Monitor)。右键点击系统监视器,选择首选项。添加你想要监视的资源。

桌面会话记录

是可能包括鼠标指针、声音系统一起录制完整的桌面会话的。这是一个对于屏幕动态捕捉来说非常有用的工具,简单的截屏是无法表达所有事情的。 有三个应用程序可以做这件事情,他们是Istanbul, Wink 和 gtk-recordMyDesktop.

Istanbul
sudo apt-get install istanbul
Wink
sudo apt-get install wink
gtk-recordMyDesktop
sudo apt-get install gtk-recordmydesktop

国际时钟 Gnome Applet (OpenSuse contribution)

要切换到新的国际时钟applet,从这里下载 Here 然后用dpkg来安装。

用右键删除原来的时钟,然后用右键点击空白区域,添加新的applet:

>添加到面板...>Miscellaneous>International Clock>Add

You got it.

添加世界地图,使用它的首选项(Preferences)选择世界的位置。

游戏

Frozen Bubble

要安装 Frozen Bubble 只需要运行:

sudo apt-get install frozen-bubble

或者在 系统 > 系统管理 菜单里使用新立得包管理器,找到它,然后安装即可。

如何解九宫格(Sudoku)游戏

There is a simple Perl script for solving gnome-sudoku. It does not support trial-and-error.

Super Nintendo Emulator (ZSNES) 1.510 for i386/AMD64

For support or questions see http://ubuntuforums.org/showthread.php?t=588744

  • 安装一个第三方的软件源
echo "deb http://packages.dfreer.org gutsy main" | sudo tee -a /etc/apt/sources.list
wget http://packages.dfreer.org/7572013D.gpg -O- | sudo apt-key add -
sudo apt-get update
  • 用下面的命令安装
sudo apt-get install zsnes32 #for amd64 users
sudo apt-get install zsnes   #for everyone else
  • 应用程序 > 游戏 > zsnes or zsnes32

Playstation 模拟器(pSX) 1.13 for i386/AMD64

For support or questions see http://ubuntuforums.org/showthread.php?t=394097

  • 安装一个第三方的软件源
echo "deb http://packages.dfreer.org gutsy main" | sudo tee -a /etc/apt/sources.list
wget http://packages.dfreer.org/7572013D.gpg -O- | sudo apt-key add -
sudo apt-get update
  • 用下面的命令安装
sudo apt-get install psx32 #for amd64 users
sudo apt-get install psx   #for everyone else
  • 应用程序 > 游戏 > pSX or pSX32

KDE 游戏

要安装KDE 3的游戏(推荐Kubuntu的用户),安装kdegames包。

sudo apt-get install kdegames

UrbanTerror 4.0

  • UrbanTerror 4.0 is a Multi-player First Person Shooter. The Game uses the open source quake 3 engine and features many real weapons and free to use servers for multi-player functionality.

More information can be found at UrbanTerror

  • After downloading the script open Terminal into your download directory then make the script executable with the following command:
sudo chmod +x urt40-linux-installer.sh
  • Now double click on the script to execute and follow the directions
  • The install will take awhile as the script executes a download of the necessary files which are about 541MB
  • After the install you will have a nice UrbanTerror icon on your desktop (unless you installed as root)

This easy install script is courtesy of Nexu from the UrbanTerror Forums.

CD/DVD

如何抓取DVD视频

dvd::rip是一个用Perl写的全功能的DVD复制程序。它提供了一个易用但功能丰富的Gtk+图形界面来控制几乎所有抓取和转码处理的方面。他使用广为人知的视频处理瑞士军刀来转码,还用到了许多其它开源工具。

sudo apt-get install dvdrip

如何刻录DVD视频

dvdauthor 是一个可以从合法的mpeg2流生成一个可以在你家里DVD播放器中播放的DVD电影。

sudo aptget install dvdauthor

如何刻录CD/DVD

nautilus-cd-burner是一个基本的、预装的用于刻录CD或者DVD的程序。serpentine是一个预装的音频CD制作程序。nerolinux 是一个 non-free 的 CD/DVD/Blu-Ray/HD-DVD 刻录程序。 k3b 是一个很棒的KDE下的 CD/DVD 刻录工具 (Kubuntu用户的明智的选择)。但是如果你想找一个GTK/Gnome下的替代品,那么可以试试看这些:brasero, cdw/gcdw, gcdmaster, gravemangnomebaker也许会令你产生深刻印象。

dvdisaster 对于由于划盘或者年久的CD或DVD媒体导致的数据丢失提供了额外的安全措施。它可以创建错误修正数据,如果将来盘片损坏后而无法读取某些磁道的话,这些数据将用于恢复数据。

互联网

浏览器插件

Ubuntu 自动安装了浏览网站所需要的Firefox插件。但是如果你想自己安装插件,那么请在终端下运行下列命令:

Java 插件:

sudo apt-get install sun-java6-plugin

Flash 插件:

sudo apt-get install flashplugin-nonfree

或者你想支持开源的 flash 插件:

sudo apt-get install mozilla-plugin-gnash

VLC 插件 (将自动安装 VLC):

sudo apt-get install mozilla-plugin-vlc

MPlayer 插件 (将自动安装 MPlayer):

sudo apt-get install mozilla-mplayer

Real player 插件 (将自动安装 helix-player):

sudo apt-get install mozilla-helix-player

kaffeine 插件 (将自动安装 kaffeine):

sudo apt-get install kaffeine-mozilla

image-zoom 插件 (用于放大或者缩小页面内的图片):

sudo apt-get install mozilla-imagezoom

adblock 插件 (用于阻拦页面中的广告):

sudo apt-get install mozilla-firefox-adblock

Gutsy 包括了通过 Ubuntu 软件源添加Firefox扩展的选项。用于安装这些扩展的选项默认就被安装了。要看或者添加Ubuntu插件的话:

  • 在 Firefox 里,点击工具 > 附加软件
  • 点击 "Get Ubuntu Addons"(取得 Ubuntu 附加软件)
  • 要看所有的可用的插件,点击"Show:"旁边的列表,并且选择"所有可用的应用程序"
  • 选择任何你想要的插件,点击"应用改变"
  • 你可以在Firefox的附加软件窗口中看到你都已经安装了哪些插件。

(注意: 所有的 Ubuntu 插件都可以通过新立得包管理器(Synaptic package manager)取得。)

Shockwave

There is no version of Shockwave for Ubuntu/Linux but WINE can be used to run it. This method will result in 2 Firefox Browsers installed on the computer. Only use the WINE version when using a website that requires it. The native version of Firefox will give better computer performance, so it should used in all other occurrences.

  • Install WINE
  • Download and install Firefox for Windows
  • Download and install Shockwave for Windows

下载管理器 (Downloader for X)

要安装 Downloader for X 只需要运行:

sudo apt-get install d4x

或者在 系统 > 系统管理 菜单里使用新立得包管理器,找到它,然后安装即可。

FTP 客户端 (FileZilla)

FileZilla是一个来自于Windows环境的强大的FTP客户端软件。在它的第三个版本,它实现了跨平台,并且可以在Ubuntu Gutsy软件源中可以得到。

要安装 FileZilla FTP 客户端只需要运行:

 sudo apt-get install filezilla

或者在 系统 > 系统管理 菜单里使用新立得包管理器,找到它,然后安装即可。


如何配置Evolution通过POP/IMAP来使用Gmail处理邮件

Visit http://mail.google.com/mail/ and click settings (should be in top right corner). Select Forwarding and POP/IMAP.

  • If you want to use POP, select either "Enable POP for all mail (even mail that's already been downloaded)" or "Enable POP only for mail that arrives from now on".
  • If you want to use IMAP, select "Enable IMAP".

Save changes.

Open Evolution from Applications -> Internet -> Evolution Mail. If no mail account has been created before, a mail account setup wizard will automatically be opened. Otherwise open it from Edit -> preferences -> Mail Accounts -> Add. Click Forward. Enter your email address for Gmail (including @gmail.com). Click Forward.

  • If you have enabled POP from Gmail set "Server Type" to POP, "Server" to pop.gmail.com, and "Use Secure Connection" to "SSL encryption".
  • If you have enabled IMAP from Gmail, set "Server Type" to IMAP, "Server" to imap.gmail.com, and "Use Secure Connection" to "SSL encryption".

Click Forward. Click Forward. Set "Server" to smtp.gmail.com, and "Use Secure Connection" to "SSL encryption". Click Forward. Click Forward. Click Apply.

Note that IMAP support for GMAIL is being rolled-out currently (Oct. 2007) but is not available to everyone with a GMAIL account yet. So use POP until IMAP is available for every user.

SwiftFox

Swiftfox is the Firefox web browser, but built with optimizations to increase speed on specific CPU types. It is compatible with all Firefox extensions and themes, and uses the same settings location as Firefox, so you can use both transparently.

Instructions from getswiftfox.com

  • Add the Swiftfox repository
 sudo gedit /etc/apt/sources.list
  • Add this line at the bottom
 deb http://getswiftfox.com/builds/debian unstable non-free
  • Update apt sources
 apt-get update
  • Check your CPU compatibility here
  • Install your version of Swiftfox
 apt-get install swiftfox-pentium4
  • Run with
 Programs > Internet > Swiftfox
  • There is also an [installer] available that is distro independent. It is a script that downloads and installs Swiftfox in the /opt directory and attempts to use existing Firefox plugins. The installer is probably the best way for most non-Ubuntu and non-Debian users to install Swiftfox.

Azureus (Java BitTorrent 客户端)

安装Azureus最简单的方法:

sudo apt-get install azureus

但是它需要很多的依赖. 这里讨论一个替换的方法. 另外你可以创建一个 /usr/share/applications/Azureus.desktop文件,文件中包含以下内容,以便让它在主菜单中显示:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Terminal=false
Name=Azureus
Exec=/usr/local/azureus/azureus
Comment=Java BitTorrent client
Categories=Application;Network;
MimeType=application/x-bittorrent;
Icon=/usr/local/azureus/Azureus.png

(这里假定azureus是安装在 /usr/local 目录下)

多媒体播放器

如何安装带多媒体解码器的Mplayer

Simple guide for mplayer and codecs

  • Download SMPlayer (a great front-end for MPlayer) from here and double click to install it. The smplayer front-end is also available to install through synaptic package manager.
在64位系统上让Mplayer能够支持wmv9格式

Playing wmv9 files on AMD64 doesn't exactly work out of the box. To get it working, you will have to install the 32bit version of mplayer, along with all the necessary codecs. On my relatively new install of Gutsy, I didn't need to install any library files, which made getting it to work that much easier. That being said, follow these steps and you should be watching wmv9 files in no time.

Download the version of mplayer32 for Edgy (it works fine) and place into temporary directory

mkdir mplayer32temp
cd mplayer32temp
wget http://folk.ntnu.no/grannas/debs/mplayer32_20070130-1_amd64.deb

Extract the package you just downloaded, and install to the proper locations (hit 'n' when it asks to replace a file)

sudo dpkg -x mplayer32_20070130-1_amd64.deb ./
sudo mv -i usr/bin/* /usr/bin/
sudo mv -i usr/lib32/* /usr/lib32/

Get the latest win32 codecs from mplayerhq (link is current as of Nov 04, 2007), extract and install (again, hit 'n' when it asks to replace a file)

wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
tar jxfv essential-20071007.tar.bz2
sudo mv -i essential-20071007/* /usr/lib/win32/

play a wmv9 file and enjoy.

mplayer32 foobar.wmv

如何安装amaroK多媒体播放器

  • Note: Amarok is already installed if you are using KDE.
sudo apt-get install amarok
  • Run from menu:
Applications -> Sound & Video -> amaroK
如何卸载amaroK
sudo apt-get remove amarok


How to get Mouse over preview of MP3 files working

sudo apt-get install mpg321
sudo apt-get install ubuntu-restricted-extras
sudo apt-get install pulseaudio
sudo apt-get install pulseaudio-esound-compat
sudo apt-get install libasound2-plugins

如何安装VLC媒体播放器

sudo apt-get install vlc
如何卸载VLC媒体播放器
sudo apt-get uninstall vlc

如何安装Banshee音乐管理器和播放器

sudo apt-get install banshee
如何卸载Banshee
sudo apt-get remove banshee

如何编码/解码音频

There is a great command line tool, sox which not just a ordinary encoder/decoder but a good composer. Read its manual for more information.

Input(s) → Balancing → Combiner → Effects → Output

sudo apt-get install sox

sox cannot handle Real Audio format. For that you need mplayer which converts a .rm file to a .wav file and then use sox to convert wave file to other file.

 mplayer -ao pcm:file=output.wav input.rm

如何编码/解码视频

mencoder, avidemux, transcode, ffmpeg2theora, etc. are some video converting tools. Read their manuals for information.

sudo apt-get install mencoder avidemux transcode ffmpeg2theora

如何编辑视频

sudo apt-get install ubuntustudio-video

Text-to-Speech

Visit https://help.ubuntu.com/community/TextToSpeech

编程 / 网页开发

Quanta Plus

(Quanta is a KDE application, but also works on GNOME.) To install Quanta, HTML/XML/PHP/Etc Web Creation Software:

sudo apt-get install quanta kompare kxsldbg cervisia
Applications > Programming > Quanta Plus

Netbeans IDE

Netbeans is a platform independent IDE for Java. But it also supports C/C++, Ruby, portals and lots of other stuffs as plug-ins. At the point of writing, version 5.5.1 is the latest stable release and can be installed by:

sudo apt-get install netbeans5.5

Alternately you can download Netbeans 6.0 beta 2 and install it manually. The size of the installation package varies from 11 MB to 200 MB.

Netbeans with Web & Java EE pack

If you want to use NetBeans for web development and want to integrate with Java EE, download the "Netbeans with Web & Java EE" pack. The plug-in mechanism of installing additional modules are not recommended as it installs it on user directory (~/.netbeans/6.0beta2/modules/) rather than system-wide installation directory (/usr/local/netbeans-6.0beta2/nb6.0/modules/).

Netbeans with Web & Java EE pack comes with 2 built in runtime environments:

  • GlassFish V2 Build 58g
  • Apache Tomcat 6.0.14

Those are ideal for both development and production use. Thus you do not have to install either Sun Java Application Server of Apache Tomcat separately. Also uninstalling Netbeans will not uninstall them. You have to uninstall them separately.

But in case you want to install the servers separately, you typically have to run Netbeans as root. Alternately, you can also change the configuration files' owner/group and permissions of Tomcat and GlassFish to work with Netbeans.

实用程序

压缩工具

Zip, Gzip and Bzip2 are the most popular compression tools available in almost every every Linux. But of late two new compression tools available: p7zip (http://7-zip.org/), ace and rar (http://www.rarlab.com/). 7-zip is a open-source project, but rar and ace are not.

sudo apt-get install rar unrar
sudo apt-get install p7zip-full
sudo apt-get install unace

Ark is the compression tool for kde, and has support for more formats including rar.

sudo apt-get install ark

剪贴板管理器 (Glipper)

To install Glipper simply run:

sudo apt-get install glipper

or use Synaptic Package Manager under System > Administration menu, to locate and install the omonymous package.

密码管理器 (KeePassX)

KeePass is a crossplatform password manager. To install it simply run:

sudo apt-get install keepassx

or use Synaptic Package Manager under System > Administration menu, to locate and install the omonymous package.

如何在nautilus中修复/集成蓝牙

On Some systems bluetooth "Browse Device" fuction doesn't work properly.

To Fix This:

sudo apt-get install gnome-vfs-obexftp

or

sudo aptitude install gnome-vfs-obexftp

如何安装Google Earth (世界地图程序)

Google earth is a world map viewer. It can show 3D buildings and bridges in 3D view. It shows satellite pictures by default. The latest version also includes sky viewer. See http://earth.google.com/ for more details.

Google Earth is available in the Medibuntu Package archive.

First add Medibuntu to your package list

echo "deb http://packages.medibuntu.org/ gutsy free non-free" | sudo tee -a /etc/apt/sources.list

Second add the PGP key of Medibuntu to you keyring

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

Third install Google Earth

sudo aptitude install googleearth


Alternatively you can install Google Earth directly from the Google installer:


Download Google Earth in to Your Desktop. Open terminal and run:

chmod +x Desktop/GoogleEarthLinux.bin
sudo Desktop/GoogleEarthLinux.bin

Follow the instructions to complete the instructions.

如何安装Picasa (来自于Google的照片管理器)

Picasa is software that helps you instantly find, edit and share all the pictures on your computer. Picasa makes advanced editing simple by putting one-click fixes and powerful effects at your fingertips. And Picasa makes it a snap to share your pictures – you can email, print photos home, and even post pictures on your own blog. You can install it in four ways:

sudo apt-get install picasa
  • Download the Self-extracting installer and follow the instruction set for Google Earth.
  • Install the Windows version (with the help of WINE).

如何安装Google Desktop (搜索程序)

Google Desktop is a desktop search application that gives you easy access to information on your computer and from the web. Desktop makes searching your own email, files, music, photos, and more as easy as searching the web with Google. You can download Google Desktop in two ways:

sudo apt-get install google-desktop-linux

如何安装ntop (网络监视工具)

Ntop is a network monitoring utility. You can monitor local devices as well as devices with Netflow output (like a Cisco router). It's very easy to install too, open a terminal and type:

sudo apt-get install ntop

Now that it is installed, you have to do some basic setup. Once again, in the terminal, type:

sudo ntop

You will be asked for a password, and then to confirm the password. This will be the admin password for the ntop web interface. Now, again in the terminal type:

sudo /etc/init.d/ntop start

Thats it! ntop is running! Try browsing to http://127.0.0.1:3000 to get started. Visit http://www.ntop.org/ for more information.


如何安装宗教文字学习应用程序

如何安装Gnomesword (圣经学习程序)
sudo apt-get install gnomesword sword-language-pack-en sword-text-web
  • If you require other languages type:
sudo apt-cache search bible
  • Take a look at the sword-language-pack's and the sword-text's for additional languages and install as needed.

Gnomesword is found under Applications-->Accessories.

  • Under KDE, use kio-sword instead of Gnomesword:
sudo apt-get install kio-sword
How to install a Quran researching tool (Zekr)

Zekr is an open platform Quran study tool for simply browsing and researching on the Quran.

sudo wget http://siahe.com/zekr/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/zekr.list                                                                        
wget -q http://siahe.com/zekr/apt/zekr.debian.gpg -O- | sudo apt-key add -                                                                                                 
sudo apt-get update                                                                                                                                                        
sudo apt-get install zekr ttf-me-quran ttf-sil-scheherazade
sudo apt-get install ttf-farsiweb flashplugin-nonfree
  • Zekr comes with extra Quran translations in Persian, Urdu, French, Russian, English, Turkish, Bosnian, Dutch packaged as zekr-quran-translations-XY where XY is the ISO code of the language. Run
apt-cache search zekr-quran-translations

in a shell to list them all. Then among the result list choose the appropriate package and install it: For example if you want to install English Quran Translations run the following command:

sudo apt-get install zekr-quran-translations-en
[