Re: Warning Idiot alert!
Whyatt said:
I know this isn't really the place to ask, but could anyone explain to me how you install programs on linux?
I'm totally confused by the RPM and tar files. I was trying to install firefox and zsnes (a snes emulator) and don't know where to start.
(I have a PC (box?) running mandrake 9.2. 950Mhz AMD, 256meg)
I do miss windows' install icons....
Also does a program only work on certain distros? I know these must be dumb questions, but I'm doing my best to leave windows behind!
Good questions. Software installation is one of the biggest weaknesses in Linux at the moment.
Some programs that are compiled against a particular version of the C libraries or kernel will only work with that version. This is hugely annoying, but is something that has allowed Linux to develop quickly. In the Windows world, Microsoft have been very careful to retain backwards compatability, so a given piece of software will normally install on most versions of Windows. This isn't done to nearly the same extent on Linux which has plus points for development speed and security but definitely a downside when you're trying to find a compiled version of an app for your distro.
There are 4 main install methods for Linux (there are others too)
- RPM (Red Hat package manager) used by Red Hat, Fedora, Mandrake, SuSE and others.
- apt : default on Debian, also usable on most distros these days.
- tar : an archive of files (like a zip archive) - untar them and run an installation script.
- compile from source : get the source code, compile it, install it.
On Mandrake, RPM is the default. Mandrake also has a very nice tool called urpmi which allows you to select software and download/install it automatically from the web.
To install packages on Mandrake, use the Control Centre (which uses RPM and urpmi under the covers). This allows you to install software from the CDs and from Mandrake archives on the web (if you tell it where the archive is). It can also search for updates to software you've got installed and install that automatically.