General Notes Getting Started
Total Page:16
File Type:pdf, Size:1020Kb
General Notes 1. This is an Unofficial Ubuntu 7.04 (Feisty Fawn) Starter Guide. It is neither associated with Ubuntu nor with 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 your "Password:". Please specify your 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 "aptitude" all the time, Read #How to aptitude the easy way (Synaptic) 8. "aptitude" and "wget" requires Internet connection to install/update/download programs 9. All references to "apt-get" have been replaced with "aptitude". You may still safely use "apt- get" if you wish. This may be discussed in the Ubuntu Forums 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 64-bit version replace any "i386" with "amd64" [edit] Getting Started [edit] Where to view Ubuntu screenshots / screencast • Ubuntu 7.04(Feisty Fawn) Screenshots Tour • Ubuntuclips.org - video howto's for human beings • Ubuntu Video - linux videos for human beings [edit] Where to view Kubuntu screenshots / screencast • Kubuntu 7.04(Feisty Fawn) Screenshots Tour [edit] Where to view Xubuntu screenshots / screencast • Xubuntu 7.04 (Feisty Fawn) Screenshots Tour • Official Xubuntu screenshots [edit] Where to look for new programs • http://gnomefiles.org/ • http://www.kde-apps.org/ • http://freshmeat.net • http://sourceforge.net/ [edit] Where to look for style elements for your desktop • http://art.gnome.org/ • http://www.gnome-look.org/ • http://www.kde-look.org/ • http://xfce-look.org/ [edit] Are there other *buntu guides? • http://xubuntuguide.org • Ubuntu Step By Step Guides For Ubuntu Users Ubuntu Users Community Website [edit] Upgrade Ubuntu Edgy to Ubuntu Feisty • Step By Step Upgrade Guide with Screenshots • How to Upgrade Ubuntu Edgy Server to Feisty Server [edit] How to add extra repositories • Read #General Notes • You can add extra repositories using the Software Sources application, which can be found in the menu: System -> Administration -> Software Sources. Check the repositories you think you will need (main, universe, restricted, multiverse). You probably won't need the 'sources' repository. This is the recommended way to add extra repositories: • Another way to add extra repositories is to use following steps (do this at your own risk): • Create a backup of your current list of sources. sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup • Open the list of sources in a text editor Ubuntu (GNOME) users: sudo gedit /etc/apt/sources.list Kubuntu (KDE) users: sudo kate /etc/apt/sources.list Other users (if the above don't work): sudo nano /etc/apt/sources.list • Use the following lines as a template to guide you in editing the repositories in sources.list: You can try replacing the current contents of sources.list with the following lines To use your local mirror you can add "cc." before archive.ubuntu.com, where cc = your country code e.g. deb http://lv.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse ## See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to ## newer versions of the distribution. ## Add comments (##) in front of any line to remove it from being checked. ## Use the following sources.list at your own risk. ## Uncomment deb-src if you wish to download the source packages ## If you have a install CD you can add it to the reposity using 'apt-cdrom add' ## which will add a line similar to the following: #deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Beta i386 (20070322.1)]/ feisty main restricted deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://us.archive.ubuntu.com/ubuntu/ feisty universe #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu feisty-security main restricted #deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted deb http://security.ubuntu.com/ubuntu feisty-security universe #deb-src http://security.ubuntu.com/ubuntu feisty-security universe deb http://security.ubuntu.com/ubuntu feisty-security multiverse #deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse ## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) ## Medibuntu - Ubuntu 7.04 "feisty fawn" ## Please report any bug on https://launchpad.net/products/medibuntu/+bugs deb http://medibuntu.sos-sts.com/repo/ feisty free non-free #deb-src http://medibuntu.sos-sts.com/repo/ feisty 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 feisty-commercial main ## enlightenment e17 beta, use at your own risk ## E17 is in Beta and may break or break your system #deb http://edevelop.org/pkg-e/ubuntu feisty e17 #deb http://e17.dunnewind.net/ubuntu feisty e17 #deb-src http://edevelop.org/pkg-e/ubuntu feisty e17 • Save the edited file • Download needed gpg keys; e.g., use the following command for the PLF repository's gpg key: wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - • If you wish to try out the E17 beta, you will also need to download it's gpg key: wget -q http://lut1n.ifrance.com/repo_key.asc -O- | sudo apt-key add - • Refresh packages list: sudo aptitude update • You may also generate your own sources.list and find other repositories at: http://www.ubuntulinux.nl/source-o-matic • Modify the default Ubuntu sources.list only if you understand what you're doing. Mixing repositories can break your system. [edit] Ubuntu Updates [edit] Apt, Software and Package Basics • Read #General Notes • Read #How to add extra repositories Here is some basic information on how to use the Apt package management tools. • Installing packages sudo aptitude install <packagename> Examples: sudo aptitude install mpd sbackup • Removing packages sudo aptitude remove <packagename> Examples: sudo aptitude remove mpd sbackup • Searching for packages sudo aptitude search <keywords> Examples: sudo aptitude search Music MP3 sudo aptitude search "Text Editor" • Updating Apt database (used after adding/removing Apt repositories) sudo aptitude update • Upgrading packages sudo aptitude upgrade • Upgrade entire distribution sudo aptitude dist-upgrade • Install downloaded Ubuntu (Debian) package (.deb) sudo dpkg -i package.deb • Remove Ubuntu (Debian) package sudo dpkg -r package • Reconfigure/Repair installed package sudo dpkg-reconfigure package Examples: sudo dpkg-reconfigure mpd • Handling ".tar.gz" (Tar/GZip) Archives To extract: tar xvzf package.tar.gz To create: tar cvfz package.tar.gz folder • Handling ".tar.bz" (Tar/BZip) Archives To extract: tar xvjf package.tar.bz To create: tar cvjf package.tar.bz folder • Extracting ".bz" Archives bunzip2 file.bz • Extracting ".gz" Archives gunzip file.gz • Building from Source Make sure you have all the neccesary development tools (i.e. libraries, compilers, headers) sudo aptitude install build-essential sudo aptitude install linux-headers-`uname -r` Extract your package (as detailed above) tar xvzf package.tar.gz Commence the build process cd /path/to/extracted/package ./configure make make install If build is successful, consider making an Ubuntu (Debian) package (.deb) for future use: Install package tools: sudo aptitude install checkinstall Rebuild package using "checkinstall": cd /path/to/extracted/package ./configure make checkinstall Keep the resulting ".deb" file for future use. It can be installed using: sudo dpkg -i package.deb Note: These are basic instructions that may not always work.