[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Ceci est une ancienne révision du document !


Navigateur Google Chrome sous Slakware

Selon Google, Chrome est un navigateur Web construit pour être rapide, simple et sécurisé. Notez que ce paquetage a peu de choses à voir avec chromium puisque c'est un paquetage précompilé par Google, au lieu d'être un paquetage qu'un utilisateur peut compiler localement à partir de son source : Projet Chromium.

Google Chrome n'est pas installé comme application par défaut dans Slackware mais il est plutôt fourni comme une application installable par un Slackbuild, créé par Patrick Volkerding qui est disponible dans le répertoire extra de l’arborescence Slackware. Au moment de l'écriture de ce HOWTO , le Slackbuild de Google Chrome est disponible dans le répertoire extra de Slackware 13.37 et 14.

Installation de la version stable de Google Chrome sous Slackware 14

Dans l'arborescence de Slackware, le répertoire google-chrome à l'intérieur du répertoire extra contient un README qui fournit des instructions simples à suivre pour cette installation. En utilisant un mirroir Slackware , on peut facilement télécharger le SlackBuild de Google Chrome. Le répertoire du SlackBuild est aussi disponible sur les CD/DVDs d'installation de Slackware (version 13.37 et 14 au moment de l'écriture), que vous pouvez vous procurer ici Boutique Officielle Slackware (pensez à une petite donation)

The following simple steps illustrate the installation of a Stable release of Google Chrome in Slackware 14:

1. Visit the official Google Chrome download page.

2. Click the download button, and select either:

  • 32 bit .deb (for Debian/Ubuntu).
  • Or 64 bit .deb (for Debian/Ubuntu).

3. Select a download package that is appropriate for your architecture:

  • 32 bit .deb (for Debian/Ubuntu) for a 32-bit version of Slackware.
  • 64 bit .deb (for Debian/Ubuntu) for a 64-bit version of Slackware.

4. Read and accept the license terms.

5. Download the .deb package.

6. Copy the extra/google-chrome Slackbuild folder into a temporary location (/tmp for example).

7. Move or copy the downloaded .deb package (google-chrome-stable_current_i386.deb or google-chrome-stable_current_amd64.deb) package in the same folder (/tmp/google-chrome).

8. In a terminal log in as root:

su -

9. Change into the temporary directory:

cd /tmp/google-chrome

10. Run google-chrome.SlackBuild script as root:

sh google-chrome.SlackBuild

11. At completion of the SlackBuild execution, a message similar to the following one will appear:

Slackware package /tmp/google-chrome-21.0.1180.81-i386-1.txz created.
The exact version number in the package filename will depend on the version of Google Chrome found in the .deb package, but it will be something like google-chrome-21.0.1180.81-i386-1.txz (32-bit architecture) or google-chrome-21.0.1180.81-x86_64-1.txz (64-bit architecture).

7. Install the newly created package as root. It will be located in the /tmp directory:

upgradepkg --install-new /tmp/google-chrome-21.0.1180.81-i386-1.txz
Note that Google Chrome requires the PAM library libpam.so.0. A google-chrome-pam-solibs package is available in the same folder (extra/google-chrome) as the Google Chrome Slackbuilds. Installing the google-chrome-pam-solibs package allow newer versions of Chrome to run without having to actually switch the system to using PAM. To install the google-chrome-pam-solibs package, run the following code as root within the downloaded or copied Google Chrome Slackbuild directory (/tmp/google-chrome) :
upgradepkg --install-new /tmp/google-chrome/google-chrome-pam-solibs-1.1.3-i486-1.txz

If you need real PAM (to compile Chromium for example), you can find it in extra/source/pam/ from the Slackware directory tree.

Installing Google Chrome browser in Slackware 13.37 requires the installation of the packages GConf and ORBit2. These packages are also available in the extra/google-chrome directory and can be easily installed with the upgradepkg command.

Beta and Unstable Google Chrome Release Installation on Slackware 14

Installing Beta or Unstable release of Google chrome follows the same steps as installing the Stable release installation with minor tweaks:

  • Download a Beta or Unstable release of Google Chrome.
  • In step 10, execute the Slackbuild script as follow:
    • RELEASE=beta sh google-chrome.SlackBuild

      for a Beta release.

    • RELEASE=unstable sh google-chrome.SlackBuild

      for an Unstable release.

Sources

 fr:howtos:software:google-chrome ()