translating

This commit is contained in:
geekpi 2020-11-18 08:52:15 +08:00
parent 51de2acc55
commit 0f25f00419
2 changed files with 127 additions and 126 deletions

View File

@ -1,126 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to Install Google Chrome on Fedora [Beginners Tutorial])
[#]: via: (https://itsfoss.com/install-google-chrome-fedora/)
[#]: author: (Dimitrios Savvopoulos https://itsfoss.com/author/dimitrios/)
How to Install Google Chrome on Fedora [Beginners Tutorial]
======
Fedora comes with Firefox as the default web browser. Despite it being an excellent web browser, you may prefer the popular Google Chrome browser.
If you are wondering how to install Google Chrome on Fedora, let me show you two ways of installing Google Chrome, graphical method and command line method.
* [GUI method 1: Install Chrome from the software center by enabling Fedora third-party repository][1]
* [GUI method 2: Download RPM file from Google Chromes website][2]
* [CLI method: Install Chrome from the Fedora third-party repository, everything using commands (same as GUI method 1)][3]
It is up to you which method you prefer. Your Google Chrome on [Fedora][4] will be getting regular updates via the system updates in all the three methods.
### Method 1: Install Google Chrome on Fedora from the Software Center
Fedora provides a third-party repository that contains some popular proprietary software, graphics driver. Google Chrome is one of them.
First step, make sure to enable third-party repositories in Fedora. You should see this option in the software center itself.
![Step1: Fedora Third Party Repositories][5]
Once you have it enabled, simply search for Chrome in the software center:
![Step 2: Search for Chrome In Fedora Software Center][6]
And install it from there:
![Step 3: Install Chrome Fedora][7]
Can it be any easier than this? I dont think either :)
### Method 2: Installing Google Chrome on Fedora from Chrome website
If you do not want to enable the third-party repository, thats okay. You dont have to. You can download the RPM file from Chromes website, double-click on it and install it.
Visit Google Chromes website and click on the download button.
[Get Google Chrome][8]
![][9]
Then select the .rpm package and click on “Accept and Install”.
![][10]
Once the download is over, double click on the file and click install when prompted at the package manager. Type your password and wait until the process is done.
![][11]
Thats super easy, right? Lets see somewhat complicated method (if you are not a terminal fan).
### Method 3: Install Chrome on Fedora using command line
Firstly, you need to add extra Fedora repositories (that you saw in method 1):
```
sudo dnf install fedora-workstation-repositories
```
And then enable Google Chrome repository.
```
sudo dnf config-manager --set-enabled google-chrome
```
![][12]
To install the Google Chrome stable release, run the following command at your terminal.
```
sudo dnf install google-chrome-stable
```
You should get a warning for importing the GPG key, enter y to continue.
![][13]
You are adding the Google Chrome repository. The package comes from this repository, directly from Google.
#### Conclusion
Installing Google chrome on Fedora is fairly easy, even if you use the command line. Its pretty much the [same as installing Chrome on Ubuntu][14] except the third-party repository part.
Now that you have installed it, you may want to [check our list of Google Chrome keyboard shortcuts][15] to use the browser faster.
Dont forget to subscribe, to get the latest news and tutorials about Fedora, and if you have any questions please leave a comment below.
--------------------------------------------------------------------------------
via: https://itsfoss.com/install-google-chrome-fedora/
作者:[Dimitrios Savvopoulos][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/dimitrios/
[b]: https://github.com/lujun9972
[1]: tmp.VFVwBw56ac#gui-method-1
[2]: tmp.VFVwBw56ac#gui-method-2
[3]: tmp.VFVwBw56ac#cli-method
[4]: https://getfedora.org/
[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/11/fedora-third-party-repositories.jpg?resize=800%2C400&ssl=1
[6]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/11/chrome-in-fedora.png?resize=800%2C400&ssl=1
[7]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/11/installing-chrome-fedora.png?resize=800%2C400&ssl=1
[8]: https://www.google.com/chrome/
[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/01/install-google-chrome-ubuntu-1.jpeg?resize=800%2C374&ssl=1
[10]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/11/3.-download-rpm-chrome.png?resize=800%2C600&ssl=1
[11]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/11/4.-install-chrome-fedora.png?resize=800%2C550&ssl=1
[12]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/11/1.-Fedora-extra-repos.png?resize=800%2C550&ssl=1
[13]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/11/2.-Fedora-GPG-key.png?resize=800%2C550&ssl=1
[14]: https://itsfoss.com/install-chrome-ubuntu/
[15]: https://itsfoss.com/google-chrome-shortcuts/

View File

@ -0,0 +1,127 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to Install Google Chrome on Fedora [Beginners Tutorial])
[#]: via: (https://itsfoss.com/install-google-chrome-fedora/)
[#]: author: (Dimitrios Savvopoulos https://itsfoss.com/author/dimitrios/)
如何在 Fedora 上安装 Google Chrome 浏览器(入门教程)
======
Fedora 的默认网页浏览器是 Firefox。尽管它是一个优秀的网络浏览器你可能更喜欢流行的 Google Chrome 浏览器。
如果你想知道如何在 Fedora 上安装 Google Chrome 浏览器,让我告诉你两种安装 Google Chrome 浏览器的方法:图形化法和命令行法。
* [图形化方法 1通过启用 Fedora 第三方仓库从软件中心安装 Chrom e浏览器][1] 。
* [图形化方法 2从谷歌浏览器网站下载 RPM 文件][2]
* [命令行方法:从 Fedora 第三方仓库安装 Chrome一切使用命令与 GUI 方法 1 相同)][3]。
这全取决于你喜欢哪种方法。你在 [Fedora][4] 上的 Google Chrome 浏览器都将通过这三种方法的系统更新获取定期更新。
### 方法 1在 Fedora 中从软件中心安装 Google Chrome
Fedora 提供了一个第三方仓库其中包含了一些流行的专有软件、图形驱动程序。Google Chrome 就是其中之一。
第一步,确保在 Fedora 中启用第三方仓库。你应该在软件中心中看到这个选项。
![Step1: Fedora Third Party Repositories][5]
启用后,只需在软件中心搜索 Chrome
![Step 2: Search for Chrome In Fedora Software Center][6]
并从那里安装它:
![Step 3: Install Chrome Fedora][7]
Can it be any easier than this? I dont think either :)
还有比这更简单的吗?我不这么认为 :)
### 方法 2在 Fedora 上从 Chrome 网站安装 Google Chrome
如果你不想启用第三方仓库,也没关系。你不必这样做。你可以从 Chrome 的网站上下载 RPM 文件,双击并安装它。
访问 Google Chrome 的网站,点击下载按钮。
[Get Google Chrome][8]
![][9]
然后选择 .rpm 包,点击“接受并安装”。
![][10]
下载结束后,双击文件,在包管理器提示时点击安装。输入密码,等待安装完成。
![][11]
这是超级简单的,对吧?让我们来看看有点复杂的方法(如果你不是一个终端爱好者)。
### 方法 3使用命令行在 Fedora 上安装 Chrome
首先,你需要添加额外的 Fedora 仓库(你在方法 1 中看到的)
```
sudo dnf install fedora-workstation-repositories
```
然后启用 Google Chrome 仓库。
```
sudo dnf config-manager --set-enabled google-chrome
```
![][12]
要安装 Google Chrome 稳定版,请在终端运行以下命令。
```
sudo dnf install google-chrome-stable
```
你会看到一个导入 GPG 密钥的警告,输入 y 继续。
![][13]
你正在添加 Google Chrome 仓库。这个软件包来自这个仓库,它直接来自 Google。
#### 总结
即使你使用命令行,在 Fedora 上安装 Google chrome 也相当简单。除了第三方仓库的部分,这和[在 Ubuntu 上安装 Chrome][14] 差不多。
现在你已经安装好了,你可能会想[查看我们的 Google Chrome 键盘快捷键列表][15]来更快地使用浏览器。
不要忘记订阅,获取关于 Fedora 的最新消息和教程,如果你有任何问题,请在下方留言。
--------------------------------------------------------------------------------
via: https://itsfoss.com/install-google-chrome-fedora/
作者:[Dimitrios Savvopoulos][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/dimitrios/
[b]: https://github.com/lujun9972
[1]: tmp.VFVwBw56ac#gui-method-1
[2]: tmp.VFVwBw56ac#gui-method-2
[3]: tmp.VFVwBw56ac#cli-method
[4]: https://getfedora.org/
[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/11/fedora-third-party-repositories.jpg?resize=800%2C400&ssl=1
[6]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/11/chrome-in-fedora.png?resize=800%2C400&ssl=1
[7]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/11/installing-chrome-fedora.png?resize=800%2C400&ssl=1
[8]: https://www.google.com/chrome/
[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/01/install-google-chrome-ubuntu-1.jpeg?resize=800%2C374&ssl=1
[10]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/11/3.-download-rpm-chrome.png?resize=800%2C600&ssl=1
[11]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/11/4.-install-chrome-fedora.png?resize=800%2C550&ssl=1
[12]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/11/1.-Fedora-extra-repos.png?resize=800%2C550&ssl=1
[13]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/11/2.-Fedora-GPG-key.png?resize=800%2C550&ssl=1
[14]: https://itsfoss.com/install-chrome-ubuntu/
[15]: https://itsfoss.com/google-chrome-shortcuts/