• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Installation von tar.gz-datei (z.B. Thunderbird 2.0)

kailash

Newbie
ich moechte gern Thunderbird 2.0 installieren, aber finde kein paket in YaST.
oder hab ich was uebersehen? eine andere Quelle vielleicht?

habe mir deshalb die tar.gz-Datei von Mozilla direkt runtergeladen und mochte gern lernen, wie man sowas installiert (denn ich habe auch noch eine andere .bin und eine .exe warten...)

fand das: tar.gz-Dateien entpacken Sie wie folgt:
in Konsole: tar xvfz dateiname.tar.gz
Dabei wird ein Verzeichnis in dem Pfad angelegt, in dem Sie sich gerade befinden. Die weiteren Arbeitsschritte zur Installation dieser Dateien entnehmen Sie bitte der README-Datei, die in diesem neuen Verzeichnis enthalten ist.
soweit so gut, aber die README-Datei versteh ich einfach nicht mehr:
Gibt's eine einfachere Loesung, um die Datei zu installieren?
wenn nicht, was steht da annaehernd??? (sorry, aber das ueberfordert mich)

mozilla/xpfe/bootstrap/init.d/README:
This file describes the mechanism for installing and executing
initialization and termination scripts used to implement pluggable
shell scripts to modify the behaviour of SeaMonkey/ FireFox/ ThunderBird/SunBird.

File names in the mozilla/init.d/ and %user_profile%/init.d/
(for example ${HOME}/.mozilla/init.d/ for SeaMonkey) are of the form
[SK]nn<filename> where 'S' means "run this script at application startup",
'K' means "run this script at application termination", and 'nn' is the
sequence number for killing or starting the job.
When the application (e.g. SeaMonkey) starts scripts prefixed with 'S' are
executed (first those in the app's installation directory, then those in
user's profile directory), on termination those scripts prefixed with 'K'
are being executed (first those in user's profile dir, finally those in
mozilla's installation directory).

** Rules (for Mozilla Pluggable Init Script API Version 2):
* When executing each script a single argument is passed to it - argument
'stop' for scripts prefixed with 'K' and the argument 'start' for scripts
prefixed with 'S'.
An exception of this rule are scripts with the suffix *.sh - they are called
"inline" in the current shell process which starts/terminates the app. These
scripts have FULL ACCESS to all variables of the calling script (which means
these scripts can set/modify/unset environment variables used by the app).
Since these scripts run in the same shell the author of such scripts should
ensure that no namespace collisions occur (e.g. accidential modify variable
names used by the parent script).

* Any files which do not match the [SK][0-9][0-9]* pattern are FORBIDDEN
in ${HOME}/.mozilla/init.d/ and %dist_bin%/init.d/. The only
exception is this README file.

* The following environment variables are defined if ${MOZ_PIS_API} is equal
or greater than "2" (none of these variables is guranteed to exists before
API version "2"):
- "MOZ_PIS_API":
Integer value describing the version of the "Mozilla Pluggable Init Script
API". Current version is "2".
- "MOZ_PIS_MOZBINDIR":
Relative (!!) or absolute path to the location where the mozilla binary
is located.
- "MOZ_PIS_SESSION_PID":
Process id of the initial application launch script. In this case used as
session identifier. The value identifies the current application
session. Note that one user may run multiple application sessions (with
differnt profiles) in parallel. "stop"-scripts must ensure that they
only affect resources created by the "start"-script of the same session
(identified via "MOZ_PIS_SESSION_PID") and same machine (use 'uname -n'
on demand).
- "MOZ_PIS_USER_DIR":
Name of the user dir (e.g. ".mozilla" for Mozilla, ".phoenix" for Phoenix
etc.)
The full path to the users profile base directory can be constructed using
"${HOME}/${MOZ_PIS_USER_DIR}/"
- "HOME":
Absolute path to users home directory.

* Shell scripts must test the existence of any MOZ_PIS_*-variables before using
them. It may happen that any of these variables may not exists in a future
version of this API.
If any of the requested MOZ_PIS_*-variables is not set the script should print
an error message to stderr and exit with error code 1.

* Mozilla pluggable init shell scripts MUST NOT rely on any other variable names
than those starting with "MOZ_PIS_";
"HOME" is the only exception of this rule.

* The namespace "MOZ_PIS"/"moz_pis" is reserved for the "Mozilla Pluggable
Init Script API". Scripts MUST NOT use function names, file names or variable
name which start with "MOZ_PIS"/"moz_pis".

* Scripts ending with *.sh (=scripts called in the same shell process as the
mozilla startup script) MUST use their own name space for function and
variable names.
The usage of single-letter variable names (Example: ${i}) is STRICTLY
FORBIDDEN!
This rule does not apply to scripts which operate in their own child process.

* Scripts ending with *.sh (=scripts called in the same shell process as the
mozilla startup script) restricted to the Bourne Shell syntax.
Any extensions supported by ksh, ksh93, dtksh and bash are FORBIDDEN.
This restriction does not apply to non-inline shell scripts; they may choose
their interpreter freely (even #!/usr/bin/perl).

* Pluggable shell scripts must have the "readable" and "executable" permission
bit (e.g. chmod a+rx) set for "user", "group" and "others" when being placed
in */init.d/

* The only allowed way to test whether a mozilla supports the Mozilla Pluggable
Init Script API is to test for "$dist_bin/init.d/README".
The following fragment of a XPI install.js script illustrates the test:
-- snip --
/* Test whether this mozilla supports pluggable init shell scripts */
var fProgram = getFolder("Program");
var init_d_readme_path = getFolder(fProgram, "init.d/README");
logComment("# Checking whether '" + init_d_readme_path + "' exists.");
if (!File.exists(init_d_readme_path)) {
logComment("# init_d_readme_path missing");
alert("Your version of Mozilla does not support " +
"pluggable init shell scripts.\n" +
"You need at least Mozilla 1.7a (or later).");
cancelInstall(ACCESS_DENIED);
return;
}
-- snip --

* Scripts must be able to handle that "start" and "stop" are being called
multiple times (for example when one user works in different profiles).
The PIS framework provides "MOZ_PIS_SESSION_PID" to identify the current
running session.

* There is no gurantee that "stop"-scripts are being called. The user, admin
or a reboot may prevent the execution of the "stop" scripts; the "start"
scripts should include a check to cleanup orphaned resources (orphaned
resources can simply be identified via checking whether MOZ_PIS_SESSION_PID
is still a valid PID).

* Inline shell scripts are allowed to abort the start sequence with "exit".
This will PREVENT mozilla from being launched. USE THIS FUNCTIONALITY ONLY
in EMERGENCY cases or if the user has been asked (GUI etc.) to abort.
It is STRONGLY recommended to call 'moz_pis_startstop_scripts "stop"' to
ensure that the "stop"-scripts are being executed (please do not do that
from "stop" scripts, that will end in an endless loop).
Example:
-- snip --
if [ ! -f "/usr/local/lib/libgtk.so" ] ; then
echo "${0}: Fatal error: libgtk.so not found." 1>&2
moz_pis_startstop_scripts "stop"
exit 1
fi
-- snip --
** Rules (for Mozilla Pluggable Init Script API Version 3):
NOT DEFINED YET
# EOF.
 
OP
K

kailash

Newbie
ja danke, RPM habe ich gefunden (ach so viele quellen...)!

neue Version wollte ich haben, weil ich die Einstellungen und mails reinkopieren will (aus der vorher unter WinXP benutzten Version 2.0).
dachte, das geht sonst vielleicht nicht...
 

joeis

Newbie
Hallo,

ich hbe zwar noch kein Thunderbird eingespiel, aber den Firefox nehme ich immer von der original-Quelle ... heute hatte sich wieder eine neue Version (2.0.5) upgedatet ;-)

Also nach dem entpacken ist das Teil dann auch schon fertig. Gehe in's neue Verzeichnis
"thunderbird" und rufe das Programm auf:
$ ./thunferbird

Das ist alles. Am besten, Du kopierst es Dir vorher dahin, wo es sinnvollerweise stehen soll, also in ein bin-Verzeichnis.
Ich würde es nach /usr/local/thnderbird kopieren und die ausführende Dateiei "thunderbird" dann dann nach /usr/bin linken

Grüße
joeis
 

tomm.fa

Administrator
Teammitglied
Ich habe es vernünftigerweise über YaST installiert, Version 2.0.0.5 ! Damit bekomme ich beim nächsten Online-Update wenigstens keine Probleme und ich musste nicht soviel kopieren und schieben ! :wink: Außerdem können sich noch andere Probleme ergeben, wenn etwas "nebenher" (also nicht mit dem jeweiligen Paketmanager bzw. generell nicht als RPM) installiert wird.
 
Oben