| Last revisionBoth sides next revision |
howtos:software:google-chrome [2012/09/26 02:57 (UTC)] – moved from the general howtos namespace mfillpot | howtos:software:google-chrome [2015/05/17 09:14 (UTC)] – ADDED: lzma->xz update, chmod Slackbuild, and fixed PAM requirement arfon |
---|
| |
Google Chrome is not installed as a default application in Slackware but it is provided instead as an installation-ready application through a Slackbuild, created by Patrick Volkerding that is available in the //extra// folder of the Slackware folder tree. At the time of this writing, the Google Chrome Slackbuild is available in the //extra// directory of Slackware13.37, and 14. | Google Chrome is not installed as a default application in Slackware but it is provided instead as an installation-ready application through a Slackbuild, created by Patrick Volkerding that is available in the //extra// folder of the Slackware folder tree. At the time of this writing, the Google Chrome Slackbuild is available in the //extra// directory of Slackware13.37, and 14. |
===== Stable Google Chrome Release Installation on Slackware 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 [[http://mirrors.slackware.com/slackware/slackware-current/extra/google-chrome/README|README]] file that provides simple instructions to follow for this installation. Using a [[http://mirrors.slackware.com/|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 [[http://store.slackware.com/cgi-bin/store|official Slackware Store]] (consider a subscription). | In the Slackware directory tree, the //google-chrome// folder inside the //extra// directory contains a [[http://mirrors.slackware.com/slackware/slackware-current/extra/google-chrome/README|README]] file that provides simple instructions to follow for this installation. Using a [[http://mirrors.slackware.com/|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 [[http://store.slackware.com/cgi-bin/store|official Slackware Store]] (consider a subscription). |
5. Download the //.deb// package. | 5. Download the //.deb// package. |
| |
6. Copy the //extra/google-chrome// Slackbuild folder into a temporary location (///tmp// for example). | 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//). | 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//). |
<code>cd /tmp/google-chrome</code> | <code>cd /tmp/google-chrome</code> |
| |
10. Run //google-chrome.SlackBuild// script as root: | 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: |
| |
<code>sh google-chrome.SlackBuild</code> | <code>sh google-chrome.SlackBuild</code> |
| |
11. At completion of the SlackBuild execution, a message similar to the following one will appear: | 13. At completion of the SlackBuild execution, a message similar to the following one will appear: |
| |
<code>Slackware package /tmp/google-chrome-21.0.1180.81-i386-1.txz created.</code> | <code>Slackware package /tmp/google-chrome-42.0.2311.152-x86_64-1.txz created.</code> |
| |
<note>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).</note> | <note>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).</note> |
| |
7. Install the newly created package as root. It will be located in the ///tmp// directory: | 14. Install the newly created package as root. It will be located in the ///tmp// directory: |
<code>upgradepkg --install-new /tmp/google-chrome-21.0.1180.81-i386-1.txz</code> | <code>upgradepkg --install-new /tmp/google-chrome-42.0.2311.152-x86_64-1.txz</code> |
| |
<note> 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//) : | <note> Note that **OLD VERSIONS** of 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//) : |
| |
<code>upgradepkg --install-new /tmp/google-chrome/google-chrome-pam-solibs-1.1.3-i486-1.txz</code> | <code>upgradepkg --install-new /tmp/google-chrome/google-chrome-pam-solibs-1.1.3-i486-1.txz</code> |
| |
<note> 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.</note> | <note> 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.</note> |
===== Beta and Unstable Google Chrome Release Installation on Slackware 14 ===== | ===== Beta and Unstable Google Chrome Release Installation on Slackware 14.1 & 14 ===== |
| |
Installing [[http://www.chromium.org/getting-involved/dev-channel|Beta or Unstable]] release of Google chrome follows the same steps as installing the //Stable// release installation with minor tweaks: | Installing [[http://www.chromium.org/getting-involved/dev-channel|Beta or Unstable]] release of Google chrome follows the same steps as installing the //Stable// release installation with minor tweaks: |