Annotated edit history of
InstallingSoftware version 6 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
AlastairPorter |
1 |
Different Linux Distributions have different ways of installing software. |
|
|
2 |
|
|
|
3 |
A generic way is to use a TarBall, which includes the source files for the program. You have to ''compile'' the software so you can run it. |
|
|
4 |
|
|
|
5 |
# Uncompress the file using [tar(1)] |
|
|
6 |
** tar xvf__z__ file.tar.__gz__ |
|
|
7 |
** tar xvf__j__ file.tar.__bz2__ |
|
|
8 |
# Change to the uncompressed directory |
|
|
9 |
** cd file/ |
|
|
10 |
# Run the configure script. This sets up a MakeFile which enables the software to compile and run on your system. |
|
|
11 |
** ./configure |
|
|
12 |
# Build the program |
|
|
13 |
** make |
|
|
14 |
# Change to the SuperUser |
|
|
15 |
** su |
|
|
16 |
# Install the software |
|
|
17 |
** make install |
|
|
18 |
# Close the terminal |
|
|
19 |
** exit |
|
|
20 |
|
|
|
21 |
!!Redhat and Mandriva |
|
|
22 |
Redhat and Mandriva use the Redhat Package Manager (RPM) to install and maintain software. Programs are released as binary files in an rpm package. |
|
|
23 |
|
|
|
24 |
To install: |
|
|
25 |
# Change to the SuperUser |
|
|
26 |
** su |
|
|
27 |
# Install the package |
|
|
28 |
** rpm -Uvh file-1.1-1.i386.rpm] |
|
|
29 |
** __U:__ Upgrade. This will install the program if it isn't installed, and upgrade it if a lower version exists on the system |
|
|
30 |
** __v:__ verbose. Spit out warnings and errors instead of being quiet (not needed) |
|
|
31 |
** __h:__ hash. Display a series of #'s showing progress (not needed) |
4 |
AlastairPorter |
32 |
* Other options |
|
|
33 |
** __i:__ Install. This will only work if you don't have a newer version of the program installed. You should __always__ install new kernel [RPM]s this way to stop your old one being overwritten. |
5 |
PeterHewett |
34 |
|
|
|
35 |
[Mandriva] also has the [urpmi] tool to manage packages and dependancies. |
1 |
AlastairPorter |
36 |
|
|
|
37 |
!!Ubuntu and Debian |
2 |
PerryLorier |
38 |
apt-get install ''packagename'' |
6 |
CraigBox |
39 |
|
|
|
40 |
Look perhaps at the graphical tool 'synaptic' first. |
3 |
GianPerrone |
41 |
|
|
|
42 |
!!SlackwareLinux |
|
|
43 |
installpkg ''packagename.tgz'' |
1 |
AlastairPorter |
44 |
|
|
|
45 |
---- |
|
|
46 |
CategoryBeginners |