Ubuntu:Edgy Tr

From

Gayri Resmi Ubuntu 6.10 (Edgy Eft) Başlangıç Kılavuzu

As Ubuntu 6.10 (Edgy Eft) has just been released, this guide is still a work in progress. Your help in testing and perfecting this guide is needed.

This guide was started by Chua Wen Kiat (Kuala Lumpur, Malaysia). It is now being maintained by the Linux Center of University of Latvia, and everyone else who is willing to contribute.

This guide can be discussed at the official UbuntuGuide.org Forum at ubuntuforums.org. Stop by and join the discussion.

Unfortunately, because of wiki-vandalism, only registered users can edit this wiki, and only registered users can create you an account. If you wish to join and help, let us know. We will create you an account. [ ubuntuguide -at- ubuntuguide.org ] Don't forget to say what username you would like and why do you need it (what would you like to change or add to guide) .


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



Older versions


Full list of all the subpages: Ubuntu:Edgy_Tr/TOC


Contents


General Notes

  1. This is an Unofficial Ubuntu 6.10 (Edgy Eft) 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. If you see a bluish box, this means you have to execute the commands in Terminal mode (Applications -> Accesories -> Terminal) or use the content of that box as mentioned in some other instructions.
  4. 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)
  5. "sudo" means superuser do. "sudo" will prompt for "Password:". Please specify user password
  6. 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.
  7. If you are tired of typing "apt-get" all the time, Read #How to apt-get the easy way (Synaptic)
  8. "apt-get" and "wget" requires Internet connection to install/update/download programs
  9. To download file, right click on the link -> Select "Save Link As..." -> Make sure file name and extension are correct
  10. If you wish to help translating Ubuntu to your native language or to help Ubuntu otherwise visit https://launchpad.net/
  11. May the "humanity to others" spirit be with you always...


If you are using 64-bit version replace any "i386" with "amd64"

Ubuntu:Edgy Tr/GettingStarted

Repositories

How to add extra repositories

sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
  • Replace everything with the following lines
To use your local mirror you can add "cc." before archive.ubuntu.com (cc = your country code)
e.g. deb http://lv.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
## 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 edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
deb http://packages.freecontrib.org/plf edgy-plf free non-free
deb-src http://packages.freecontrib.org/plf edgy-plf free non-free                                               
                                                                                                                                         
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) 
deb http://archive.canonical.com/ubuntu edgy-commercial main

## Listen
#deb http://theli.free.fr/packages/ edgy listen
  • Save the edited file
wget http://packages.freecontrib.org/ubuntu/plf/12B83718.gpg -O- | sudo apt-key add -
sudo apt-get update
  • Modify the default Ubuntu sources.list only if you understand what you're doing. Mixing repos can cause breakage.

Ubuntu Updates

How to manually update Ubuntu

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dselect-upgrade

OR

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

Add-On Applications

How to install EasyUbuntu

  • 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.

Open a terminal from Menu -> Accessories -> Terminal and run the following commands

wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.023.tar.gz
tar -zxf easyubuntu-3.023.tar.gz
cd easyubuntu
cp packagelist-dapper.pot packagelist-edgy.pot
cp packagelist-dapper.xml packagelist-edgy.xml
sudo python easyubuntu.in
  • From the Easy Ubuntu window, check the appropriate boxes to download and install content to Ubuntu.
  • Note: Users of the previous EasyUbuntu 3.0 version may experience issues with installing Flash and Java.
  • If you would like automatic update, then follow these instructions:

depending on which version of Ubuntu you're using:

On Ubuntu:

sudo gedit /etc/apt/sources.list

On Kubuntu:

sudo kate /etc/apt/sources.list

On Xubuntu:

gksudo mousepad /etc/apt/sources.list

In your text editor which will open, add to the bottom of your /etc/apt/sources.list file:

deb http://easyubuntu.cafuego.net main easyubuntu

From now on, EasyUbuntu should be automatically updated.

How To Uninstall EasyUbuntu
sudo apt-get remove easyubuntu
  • Delete the easyubuntu directory

How to install Automatix2 on Ubuntu, Kubuntu, and Xubuntu

  • Read #General Notes
  • Automatix2 is Automatix written in python with a more user friendly interface and better overall design for automating the installation of the most commonly requested applications in Ubuntu/Kubuntu/Xubuntu linux.
  • Note: Before installing, please note that certain codecs it provides may be prohibited in certain countries. You are responsible for ensuring those laws are not broken.
sudo gedit /etc/apt/sources.list 
  • Add the following lines at the end of file
## Automatix repo
deb http://www.getautomatix.com/apt edgy main
  • NOTE: Kubuntu/Xubuntu users will need to uncomment (remove the # before the word "deb") all the additional sources as well as add the automatix repository.
  • Acquire GPG key
wget http://www.getautomatix.com/apt/key.gpg.asc
gpg --import key.gpg.asc
gpg --export --armor 521A9C7C | sudo apt-key add -

  • Update APT
sudo apt-get update
  • Run the following commands to install Automatix2
sudo apt-get install automatix2

  • Automatix2 can be started from the the Menu
Menu -> System -> Automatix
  • Automatix2 can be run from terminal by typing the folowing
automatix2

Another script to install additional programs

wget http://www.iki.fi/kuparine/comp/ubuntu/install.sh
sh install.sh

More information about this installation method can be found at http://www.iki.fi/kuparine/comp/ubuntu/install.html

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

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

sudo apt-get install sun-java5-jre sun-java5-plugin
  • When asked, agree with DLJ license terms.

How to install JRE v5.0 Update 9

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

Choose "Java Runtime Environment (JRE) 5.0 Update 9" and click on "Download"
Accept License Agreement 
Download the "Linux self-extracting file"
  • Install the required tool :
sudo apt-get install java-package
  • Create the Ubuntu package :
fakeroot make-jpkg jre-1_5_0_09-linux-i586.bin
  • Install the resulting package :
sudo dpkg -i sun-j2re1.5_1.5.0+update09_i386.deb


  • Restart Mozilla Firefox
  • If you get an error, try changing the 09's in the filenames to the appropriate version number.

How to install Java Development Kit (JDK) v5.0

sudo apt-get install sun-java5-jdk
  • Accept the licence agreement that appears.
  • Set Sun's JVM as default Java version:
sudo update-java-alternatives -s java-1.5.0-sun
  • Edit /etc/jvm and move /usr/lib/jvm/java-1.5.0-sun to the top of JVMs offered:
gksudo gedit /etc/jvm

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

sudo apt-get install flashplugin-nonfree
sudo update-flashplugin

Note: if you get an error message that the package is not found, try the Gnash (GNU Flash substitute)

sudo apt-get install libflash-mozplugin
  • Restart Mozilla Firefox


Note: if firefox crashes when visiting a website with flash content, do the following:

sudo gedit /usr/bin/firefox

and add the following line as last but one line of the file:

export XLIB_SKIP_ARGB_VISUALS=1

Now firefox shouldn't crash anymore. (Launchpad bug report: [1])

  • Restart Mozilla Firefox


Note: if sound doesn't work in Flash Player (for example on YouTube):

sudo apt-get install alsa-oss
gksudo gedit /etc/firefox/firefoxrc

Change:

FIREFOX_DSP=""

To:

FIREFOX_DSP="aoss"
  • Restart Mozilla Firefox. Now sound should work in Flash Player.

How to update to Flash Player 9 Beta 2 (Macromedia Flash) Plug-in for Mozilla Firefox

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

wget http://download.macromedia.com/pub/labs/flashplayer9_update/FP9_plugin_beta_112006.tar.gz
tar xvzf FP9_plugin_beta_112006.tar.gz
sudo cp flash-player-plugin-9.0.21.78/libflashplayer.so /usr/lib/flashplugin-nonfree/ 
  • Restart Mozilla Firefox

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

sudo apt-get install acroread mozilla-acroread acroread-plugins
  • Applications -> Office -> Adobe Reader
  • Restart Mozilla Firefox

Note: Adobe Reader 7.0 will not run if SCIM is running. You are running SCIM if you have installed another language to Ubuntu via System -> Administration -> Language Support. To circumvent, do the following

gksudo gedit /usr/bin/acroread

Change:

#!/bin/sh
#

to:

#!/bin/sh
#
GTK_IM_MODULE=xim

Save the file. Now Adobe Reader 7.0 should work.

See also:

How to install Download Manager (Downloader for X)

sudo apt-get install d4x
  • Applications -> Internet -> Downloader for X
How to uninstall Download Manager (Downloader for X)
sudo apt-get remove d4x

How to install a password manager (Revelation)

sudo apt-get install revelation
  • Applications -> Accessories -> Revelation Password Manager
How to uninstall Revelation
sudo apt-get remove revelation

How to Automatically cycle Flickr images as your Ubuntu desktop wallpaper

Check here for Ubuntu Wallpapers You want to make your ubuntu desktop more Colourful and Beautiful this is for you

How to install FTP Client (gFTP)

sudo apt-get install gftp
  • Applications -> Internet -> gFTP
How to uninstall gFTP
sudo apt-get remove gftp

How to install IRC Client (XChat)

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

sudo apt-get install xchat xchat-systray 
  • Applications -> Internet -> XChat IRC
How to uninstall XChat
sudo apt-get remove xchat xchat-systray

How to install File share utility (LinuxDC++)

wget -c http://easylinux.info/uploads/linuxdcpp.tar.gz
sudo tar zxvf linuxdcpp.tar.gz -C /opt
gksudo gedit /usr/share/applications/linuxdcpp.desktop
  • Insert the following lines into the new file
[Desktop Entry]
Encoding=UTF-8
Name=LinuxDC++
Exec=linuxdcpp
Terminal=false
Type=Application
StartupNotify=true
Icon=/opt/linuxdcpp/pixmaps/linuxdcpp.png
Categories=Application;Network;
  • Save the edited file
  • Applications -> Internet -> LinuxDC++
  • If you whant to build the latest version from CVS use this guide

How to install P2P BitTorrent Client (Azureus)

Note: Program included in Automatix2. I you have already used Automatix2, this program may have been installed

sudo apt-get install azureus
  • Applications -> Internet -> Azureus
(Alternative Method)

The above method installs a version of Azureus compiled with gcj, the free alternative to Sun's Java.

wget http://kent.dl.sourceforge.net/sourceforge/azureus/Azureus_2.5.0.0_linux.tar.bz2
sudo tar jxvf Azureus_2.5.0.0_linux.tar.bz2 -C /opt/
sudo gedit /usr/share/applications/azureus.desktop
  • Add the following to the new file
[Desktop Entry] 
Name=Azureus
Comment=Java BitTorrent Client
Exec=/opt/azureus/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;
  • Save the edited file
  • Applications -> Internet -> Azureus