¡Esta es una revisión vieja del documento!
Tabla de Contenidos
Navegador Google Chrome en Slackware
Según Google, el navegador Chrome es un navegador web creado para ofrecer velocidad, simplicidad y seguridad. Tenga en cuenta que este paquete tiene poco que ver con chromium ya que este es un paquete precompilado por Google, en lugar de un paquete que un usuario puede compilar localmente del código abierto project.
Google Chrome no se instala como una aplicación predeterminada en Slackware, sino que se proporciona como una aplicación lista para la instalación a través de un Slackbuild, creado por Patrick Volkerding que está disponible en la carpeta extra del árbol de carpetas de Slackware. Al momento de escribir este artículo, Google Chrome Slackbuild está disponible en el directorio extra de Slackware13.37 y 14.
Stable Google Chrome Release Installation on Slackware 14.1 & 14
In the Slackware directory tree, the google-chrome folder inside the extra directory contains a README file that provides simple instructions to follow for this installation. Using a Slackware mirror, the Google Chrome Slackbuild folder can be easily downloaded online. The Slackbuild folder is also available on Slackware installation CDs/DVD (version 13.37 and 14.0 at the time of this writing), which can be purchased at the official Slackware Store (consider a subscription).
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).
http://slackbuilds.org/mirror/slackware/slackware-14.1/extra/google-chrome/
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. Edit the Slackbuild-
vi google-chrome.Slackbuild
The .deb packages no longer use lzma compression so you must change the line that says:
ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv || exit 1
to:
ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.xz | xz -d | tar xv || exit 1
11. Make the Slackbuild executable:
chmod 755 google-chrome.Slackbuild
12. Run google-chrome.SlackBuild script as root:
sh google-chrome.SlackBuild
13. At completion of the SlackBuild execution, a message similar to the following one will appear:
Slackware package /tmp/google-chrome-42.0.2311.152-x86_64-1.txz created.
14. Install the newly created package as root. It will be located in the /tmp directory:
upgradepkg --install-new /tmp/google-chrome-42.0.2311.152-x86_64-1.txz
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.
Beta and Unstable Google Chrome Release Installation on Slackware 14.1 & 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
- Original source: google-chrome.SlackBuild readme
- Contributions by escaflown