From 461d792c5b0cd3f8a2dc89428747478c2ce9e83f Mon Sep 17 00:00:00 2001 From: Apurva Bhide Date: Thu, 14 Dec 2017 18:31:42 +0530 Subject: [PATCH] Modularized document version for installing chromium --- .../modules/concept_chromium-web-browser.adoc | 25 + .../concept_third-party-repositories.adoc | 14 + .../concept_third-party-repositories.html | 466 ++++++++++++++++++ .../proc_enabling-chromium-packages.adoc | 31 ++ .../proc_enabling-third-party-repository.adoc | 15 + .../proc_installing-chromium-web-browser.adoc | 75 +++ 6 files changed, 626 insertions(+) create mode 100644 en-US/modules/concept_chromium-web-browser.adoc create mode 100644 en-US/modules/concept_third-party-repositories.adoc create mode 100644 en-US/modules/concept_third-party-repositories.html create mode 100644 en-US/modules/proc_enabling-chromium-packages.adoc create mode 100644 en-US/modules/proc_enabling-third-party-repository.adoc create mode 100644 en-US/modules/proc_installing-chromium-web-browser.adoc diff --git a/en-US/modules/concept_chromium-web-browser.adoc b/en-US/modules/concept_chromium-web-browser.adoc new file mode 100644 index 0000000..17cdc01 --- /dev/null +++ b/en-US/modules/concept_chromium-web-browser.adoc @@ -0,0 +1,25 @@ +[id='chromium-web-browser'] += Chromium Web Browser + +Chromium is the upstream project for Google Chrome. + +As of August 2016, Chromium is now included in the Fedora Repositories. +If you were using the old Chromium +http://copr.fedoraproject.org/coprs/spot/chromium/[Copr] repository, upgrade your chromium. +Fedora's Chromium package does not support h264, mp3, or aac, because of legal concerns. +It is built to support the *widevine* plugin (but does not include it). + + +[id='google-chrome'] +== Google Chrome + +Chromium is upstream for Google Chrome. +Fedora does not include Google Chrome because it is +a proprietary product and bundles other proprietary software such as +Adobe Flash plugin. However, Google does maintain a dnf or yum repository +for Fedora at https://www.google.com/chrome/ + +The given link also includes downloadable RPMs that you can use to +install Chrome. + + diff --git a/en-US/modules/concept_third-party-repositories.adoc b/en-US/modules/concept_third-party-repositories.adoc new file mode 100644 index 0000000..6b734a3 --- /dev/null +++ b/en-US/modules/concept_third-party-repositories.adoc @@ -0,0 +1,14 @@ +[id='third-party-repositories'] += Third party repositories + +There are a number of third-party software repositories for Fedora. They have more liberal licensing policies and provide software packages that Fedora excludes for various reasons. These software repositories are not officially affiliated or endorsed by the Fedora Project. Use them at your own discretion. For complete list, see https://rpmfusion.org/FedoraThirdPartyRepos[FedoraThirdPartyRepos] +The following repositories are commonly used by end users and do not conflict with each other: + +* http://rpmfusion.org + +* http://rpm.livna.org (Complementary to RPM Fusion) + +== Mixing third party software repositories + +Mixing a lot of third party repositories is not recommended since they might conflict with each other causing instability and hard to debug issues. If you are not a technical user, one way is to not enable the third-party repo by default and instead use the *--enablerepo* switch for yum or dnf, or a similar method configurable in the graphical package manager. + diff --git a/en-US/modules/concept_third-party-repositories.html b/en-US/modules/concept_third-party-repositories.html new file mode 100644 index 0000000..8b832bf --- /dev/null +++ b/en-US/modules/concept_third-party-repositories.html @@ -0,0 +1,466 @@ + + + + + + + +Third party repositories + + + + + +
+
+
+
+

There are a number of third-party software repositories for Fedora. They have more liberal licensing policies and provide software packages that Fedora excludes for various reasons. These software repositories are not officially affiliated or endorsed by the Fedora Project. Use them at your own discretion. For complete list, see FedoraThirdPartyRepos +The following repositories are commonly used by end users and do not conflict with each other:

+
+
+ +
+
+
+
+

Mixing third party software repositories

+
+
+

Mixing a lot of third party repositories is not recommended since they might conflict with each other causing instability and hard to debug issues. If you are not a technical user, one way is to not enable the third-party repo by default and instead use the --enablerepo switch for yum or dnf, or a similar method configurable in the graphical package manager.

+
+
+
+
+ + + \ No newline at end of file diff --git a/en-US/modules/proc_enabling-chromium-packages.adoc b/en-US/modules/proc_enabling-chromium-packages.adoc new file mode 100644 index 0000000..3a8b26a --- /dev/null +++ b/en-US/modules/proc_enabling-chromium-packages.adoc @@ -0,0 +1,31 @@ +[id='enabling-chromium-packages'] += Enabling Chromium Packages + +== To enable *widevine* plugin: + +Fedora's Chromium package is built to support the *widevine* plugin (but does not include it). + +. Copy *libwidevinecdm.so* and *libwidevinecdmadapter.so* from the Google Chrome package into */usr/lib64/chromium-plugins* + +. Restart chromium. You can see *Widevine Content Decryption Module* in *chrome://flags*. + +== Using the *Pepper Plugin Application Programming Interface (PPAPI)* flash plugin: + +. Click the following link to download the flash plugin: https://get.adobe.com/flashplayer/otherversions/ . + +. Select *Linux 64-bit* from *https://get.adobe.com/flashplayer/otherversions/[Step 1]*, and select *FP 22.0* (or later) for *Linux 64-bit(.tar.gz)-PPAPI* from *https://get.adobe.com/flashplayer/otherversions/[Step 2]*. You will then have flash_player_ppapi_linux.x86_64.tar.gz. + +. Unpack the tar into */usr/lib64/chromium-browser/PepperFlash/*. + +. Restart chromium. You can see *Adobe Flash Player* in *chrome://plugins*. + +[NOTE] +==== +To enable speech synthesis support, pass the `--enable-speech-dispatcher` flag to chromium-browser. +==== + +== Additional Resources + +* https://get.adobe.com/flashplayer/otherversions/ + +* https://fedoraproject.org/wiki/Chromium diff --git a/en-US/modules/proc_enabling-third-party-repository.adoc b/en-US/modules/proc_enabling-third-party-repository.adoc new file mode 100644 index 0000000..b5a564b --- /dev/null +++ b/en-US/modules/proc_enabling-third-party-repository.adoc @@ -0,0 +1,15 @@ +[id='enabling-third-party-repository'] += Enabling Third party repositories + +Once you have downloaded the rpm, you can enable the repository. + +== To enable repo: + +. Login as root: +`#su` + +. Create a file in */etc/yum.repos.d/* directory to enable third party repository. This file must end with *.repo* . The repository file contains the URL of the the repository, a name, enabled, gpgcheck. + +. To enable repo, use the following command: +`#dnf --enablerepo=` + diff --git a/en-US/modules/proc_installing-chromium-web-browser.adoc b/en-US/modules/proc_installing-chromium-web-browser.adoc new file mode 100644 index 0000000..c4e63ec --- /dev/null +++ b/en-US/modules/proc_installing-chromium-web-browser.adoc @@ -0,0 +1,75 @@ +[id='installing-chromium-web-browser'] += Installing Chromium Web Browser + +*Chromium Web Browser* package was only available through a https://copr.fedorainfracloud.org/[COPR repository]. However, now the package is freely available in Fedora through the official repositories. Chromium can be installed using GUI and terminal. + +== Installing Chromium using GUI: + +. Click on Software tool in Fedora. + +. Search Chromium Web Browser. + +. Click on Install. + +== Installing Chromium using terminal: + +. Login as root: +`# su` + +. To install Chromium Web Browser, use the command: +`# dnf install chromium` + +. To upgrade Chromium, use the command: `# dnf upgrade chromium` + +== Installing Chrome +*Google Chrome* can be installed by downloading rpm and by creating repository. + +== Installing Google Chrome using rpm: + +. Click the following link: https://www.google.com/chrome/browser/desktop/index.html . + +. Click on *Download Chrome* and select *Fedora 64* or *32 bits* download and install the repo. + +. Login as root and use the command to install Google Chrome: +`#dnf install google-chrome` + +== Installing Chrome by creating repository: + +. Login as root: +`#su` + +. Enable Google Chrome yum repository by using the command: +`#cat << EOF > /etc/yum.repos.d/google-chrome.repo` ++ +---- +[google-chrome] +name=google-chrome - \$basearch +baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch +enabled=1 +gpgcheck=1 +gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub +EOF +---- + +. Install stable Google Chrome version using the command: +`#dnf install google-chrome-stable` + +[NOTE] +==== +If you want to install unstable Google Chrome version, use the following command: + +`#dnf install google-chrome-unstable` + +If you want to install stable Google Chrome version using the following command: + +`#dnf install google-chrome-beta` +==== + +== Additional Resources +* https://copr.fedorainfracloud.org/[COPR repository] + +* https://www.google.com/chrome/browser/desktop/index.html[Google Chrome rpm] + + + +