[linux-l] Nochmal Browser-Modularität und: FireFox auf debian

Ivan F. Villanueva B. iv at artificialidea.com
So Nov 11 11:55:36 CET 2007


Am So, Nov 11, 2007 11:14:49 +0100, Oliver Bandel schrieb:
> Hallo,
> 
> also ich wollte das gestern mal mit dem Feuerfuchs ausprobieren.
> Also apt-get angeschmissen und Firefox installiert.
> 
> Dann von Shell aus starten.
> 
> Ergebnis: epiphany startet.

In Debian heisst firefox iceweasel. Evtl. helfen Dir meine Notizen über das
"alternatives" System von Debian:


Other examples:
--------------

        $ ls -ld /usr/bin/wx-config
        lrwxrwxrwx    1 root     root           27 2002-07-14 22:32 /usr/bin/ wx-config -> /etc/alternatives/wx-config

So the wx-config script is handled by the alternatives system. See what the alternative is pointing to:
        $ /usr/sbin/update-alternatives --list wx-config
         /usr/bin/wxbase-2.2-config

or to see all the alternatives:

        $ /usr/sbin/update-alternatives --display wx-config
         wx-config - status is auto.
          link currently points to /usr/bin/wxbase-2.2-config
         /usr/bin/wxbase-2.2-config - priority 60
         Current `best' version is /usr/bin/wxbase-2.2-config.

So. Install a link to my wx-config from a later version. (Remember - Usage:
update-alternatives --install <link> <name> <path> <priority>)

        # update-alternatives --install /usr/bin/wx-config wx-config /usr/local/bin/wxgtk2u-2.4-config 70

(I need a higher priority than 60 to be chosen of the wxbase-2.2 one from the
debian package).
Now to confirm that my one is chosen:

 $ /usr/sbin/update-alternatives --display wx-config
         wx-config - status is auto.
          link currently points to /usr/local/bin/wxgtk2u-2.4-config
         /usr/bin/wxbase-2.2-config - priority 60
         /usr/local/bin/wxgtk2u-2.4-config - priority 70
         Current `best' version is /usr/local/bin/wxgtk2u-2.4-config.

Example for all java binaries:
------------------------------

for i in * ; do update-alternatives --install /usr/bin/$i $i /usr/local/java/jdk/bin/$i 2000 ; done




Mehr Informationen über die Mailingliste linux-l