EDN首页   博客首页

日志档案

发表于 2008-3-11 22:47:55

1

标签: 无标签

ubuntu user guide



General Notes


  1. This is an Unofficial Ubuntu 6.06 (Dapper Drake) Starter Guide. It is not associated with Ubuntu and Canonical Ltd.
  2. This guide can be discussed at the official UbuntuGuide.org Forum at ubuntuforums.org. Stop by and join the discussion.
  3. Guide is tested on a full installation of the Ubuntu 6.06 x86 Install CD (Dapper Drake)
  4. If you see a bluish box, this means you have to execute the commands in Terminal mode (Applications -> System Tools -> Terminal) or use the content of that box as mentioned in some other instructions.
  5. To reduce typo mistakes, copy and paste the commands into Terminal mode (right click on the commands -> "Copy" or "Paste". You can also use Ctrl+C to copy and Shift+Insert to paste it)
  6. "sudo" means superuser do. "sudo" will prompt for "Password:". Please specify user password
  7. If you want more information about any command, simply look at the manual page for it using the "man" command. For example, "man sudo" will display the manual page for the "sudo" command.
  8. If you are tired of typing "apt-get" all the time, Read #How to apt-get the easy way (Synaptic)
  9. "apt-get" and "wget" requires Internet connection to install/update/download programs
  10. To download file, right click on the link -> Select "Save Link As..." -> Make sure file name and extension are correct
  11. If you wish to help translating Ubuntu to your native language or to help Ubuntu otherwise visit https://launchpad.net/
  12. May the "humanity to others" spirit be with you always...


If you are using Kubuntu you don't need to install Gedit anymore, becouse now there's a symbolic link from "gedit" to "kate", so you can use all the commands below with no problems. By the way, if you want to use gedit as your editor, do:
sudo apt-get install gedit
If the "gedit" command (symbolic link) is not working, you could also create it:
sudo ln -s /usr/bin/kate /usr/bin/gedit
If you are using 64-bit version replace any "i386" with "amd64"

Getting Started

What is Ubuntu

What is new in Ubuntu 6.06 Dapper Drake

Where to view Ubuntu screenshots / screencast

Videos

Where to view Kubuntu screenshots / screencast

Videos

http://osvids.com/files/page3-108-pop.html

Where to find a list of all the programs/libraries that comes with Ubuntu

Where to download Ubuntu

Where to order Ubuntu CDs for absolutely FREE

Where to find help for Ubuntu

Where to look for new programs

Where to look for style elements for your desktop

Repositories

How to add extra repositories

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backupsudo gedit /etc/apt/sources.list
  • Replace everything with the following lines
## Add comments (##) in front of any line to remove it from being checked.   ## Use the following sources.list at your own risk.  deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiversedeb-src http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse## MAJOR BUG FIX UPDATES produced after the final releasedeb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiversedeb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse## UBUNTU SECURITY UPDATESdeb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiversedeb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiversedeb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse## PLF REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)deb http://packages.freecontrib.org/ubuntu/plf dapper free non-freedeb-src http://packages.freecontrib.org/ubuntu/plf dapper free non-free 
  • Save the edited file
sudo apt-get update
  • You can also integrate your sources.list using this one really very complete: sources.list (be sure to replace "it" from "it.archive.ubuntu.com" occurances with your country code or delete "it." completely)
Use your own sources.list file only if you understand what you're doing

Ubuntu Updates

How to manually update Ubuntu

sudo apt-get updatesudo apt-get upgrade

OR

Use Update Manager: System -> Administration -> Update Manager

Add-On Applications

How to use Easy Ubuntu

  • Read #General Notes
  • Easy Ubuntu is a small straight-forward utility that allows novice users to easily install a wide variety of content for Ubuntu such as media codecs, fonts, Macromedia Flash and Sun Java.
wget http://robotgeek.org/eu/easyubuntu-3.0.tar.gztar -zxf easyubuntu-3.0.tar.gzcd easyubuntusudo python easyubuntu.py
  • From the Easy Ubuntu window, check the appropriate boxes to download and install content to Ubuntu.

How to install Clipboard Daemon for GNOME

wget -c http://easylinux.info/uploads/gnome-clipboard-daemon-1.0.bin.tar.bz2sudo tar jxvf gnome-clipboard-daemon-1.0.bin.tar.bz2 -C /usr/bin/sudo chown root:root /usr/bin/gnome-clipboard-daemonsudo chmod 755 /usr/bin/gnome-clipboard-daemonsudo gnome-clipboard-daemon &export EDITOR=gedit && crontab -e
  • Add the following line at the end of file
@reboot gnome-clipboard-daemon
  • Save the edited file

How to install J2SE Runtime Environment (JRE) with Plug-in for Mozilla Firefox

sudo apt-get install sun-java5-jre sun-java5-plugin
  • When asked, agree with DLJ license terms.
  • To configure J2SE as the default JVM (necessary for programs such as Frostwire, RSSOwl and as a plugin for Mozilla Firefox):
sudo update-alternatives --config java

Then choose the option that corresponds to J2SE.

How to install Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox

sudo apt-get install flashplugin-nonfreesudo update-flashplugin
  • Restart Mozilla Firefox

How to install PDF Reader (Adobe Reader) with Plug-in for Mozilla Firefox

sudo apt-get install acroreadsudo apt-get install mozilla-acroreadsudo apt-get install acroread-plugins

How to install Download Manager (Downloader for X)

sudo apt-get install d4x

How to install FTP Client (gFTP)

sudo apt-get install gftp

How to install File share utility (DC++)

wget -c http://easylinux.info/uploads/linuxdcpp.tar.gz sudo tar zxvf linuxdcpp.tar.gz -C /optsudo gedit /usr/share/applications/dcpp.desktop
  • Insert the following lines into the new file
[Desktop Entry]Encoding=UTF-8Name=DC++Exec=/opt/linuxdcpp/ldcppTerminal=falseType=ApplicationStartupNotify=trueIcon=/opt/linuxdcpp/pixmaps/linuxdcpp.svgCategories=Application;Network;
  • Save the edited file