install programes on ubuntu

Asked by GODSMACK

i downloaded itunes fo linux put i don't know how to install it because it's extension is tar.gz .

i'm new in linux &i don't know how to install programes

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Johannes Pilkahn
Solved:
Last query:
Last reply:
Revision history for this message
Best Johannes Pilkahn (j-pilkahn) said :
#1

There are several ways of installing software under Ubuntu. In order of ease and simplicity:

1. from the repositories via either the 'Add/Remove...' gnome menu entry (Applications > see bottom), Synaptic package manager (System > Administration > Synaptic), 'apt-get' or 'aptitude' (from the shell)
2. from a .deb (Debian binary package) file via either the GDebi package installer or 'dpkg' (shell command)
3. from an .rpm (Red Hat binary package), needs to be converted to .deb
4. from source

The tar.gz you downloaded is a compressed archive which yields the apps source.

To install from source code, you need to have the package 'build-essential' (meta-package, contains the GNU C Compiler, short gcc, for instance) installed (run 'sudo apt-get install build essential' from a terminal). Generallt, installing from source requires these steps:
- extract archive (tar -xvjf /path/to/file/archive.tar.gz)
- navigate to target directory (cd /path/to/file/archive/)
- run configuration script (./configure)
- compile (make)
- install (make install)

However, try to make sure you have to compile from source - all common and most uncommon apps are available as .debs, if they don't have a candidate in the repos.

http://psychocats.net/ubuntu/installingsoftware might be a worthy read.

Revision history for this message
GODSMACK (godsmack-dmx) said :
#2

Thanks Johannes Pilkahn, that solved my question.