diff --git a/sources/tech/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md b/sources/tech/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md deleted file mode 100644 index fbbe909162..0000000000 --- a/sources/tech/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md +++ /dev/null @@ -1,120 +0,0 @@ -[#]: collector: (lujun9972) -[#]: translator: (robsean) -[#]: reviewer: ( ) -[#]: publisher: ( ) -[#]: url: ( ) -[#]: subject: (How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software) -[#]: via: (https://itsfoss.com/fedora-third-party-repos/) -[#]: author: (John Paul https://itsfoss.com/author/john/) - -How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software -====== - -After you install Fedora, you may discover that some of the software that you want to install and use is not available in the software store. These packages may not be in the Fedora repos for several reasons. - -Don’t worry, I’ll tell you how to make them available by adding third party repos for Fedora. - -### What are the third party repositories in Fedora? - -Operating system devs often make decisions on what packages can and cannot be available in their repos. Fedora is no different. According to the [Fedora docs][1], third party repos contain packages that “have more liberal licensing policies and provide software packages that Fedora excludes for various reasons”. - -Fedora enforces the following [guidelines][2] when it comes to packages: - - * If it is proprietary, it cannot be included in Fedora - * If it is legally encumbered, it cannot be included in Fedora - * If it violates United States laws (specifically, Federal or applicable state laws), it cannot be included in Fedora - - - -For this reason, there exists a couple of repositories that a user can add. This enables the user to get access to the additional software packages. - -### Enabling RPM Fusion Repositories in Fedora - -[RPM Fusion][3] is the main source for third party applications for Fedora. RPM Fusion is the result of three projects (Dribble, Freshrpms, and Livna) merging. RPM Fusion offers two different software repos. - - * The free repo contains open-source software. - * The nonfree repo contains software that does not have an open-source license, but the source code is freely available. - - - -There are two ways to enable RPM Fusion: from the terminal or by clicking a couple of buttons. We’ll take a look at each. - -#### Method 1: Command line method - -This is the easiest method to enable the RPM Fusion repos. Just enter the following command to enable both repos: - -``` -sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -``` - -You will be asked to enter your password. You will then be asked to verify that you want to install these repos. Once you approve it, the installation will be completed in a few seconds or minutes. - -![Install RPM Fusion via command line][4] - -#### Method 2: Graphical method - -To enable the RPM Fusion repos using this method, you need to visit the [RPM Fusion Website][5]. You will see links for both repos for different Fedora versions. - -RPM Fusion recommends installing the free repo first. So, click the link for the free repo for your version of Fedora. This will open a window asking if you want to install the repo. Click install. - -![Install RPM Fusion via GUI][6] - -Once the installation is completed, go back and install the nonfree repo using the same steps. - -### Enable Fedora’s Third Party repositories - -Fedora recently started offering its own [repo of third party apps][7]. The [number of applications available][8] in this repo is very small. You can [install Chrome browser on Fedora with it][9]. Apart from Chrome, it also includes Adobe Brackets, Atom, Steam, Vivaldi, Opera, and more. - -Just like RPM Fusion, you can enable this repo via the terminal or graphically. - -#### Method 1: Command line method - -To enable Fedora’s third-party repo, enter the following command into your terminal: - -``` -sudo dnf install fedora-workstation-repositories -``` - -Be sure to ensure your password when prompted and type Y to approve the installation. - -#### Method 1: Graphical method - -If you are not comfortable using the terminal, you can use the graphical method. - -First, you need to open Gnome Software. Next, you need to click on the hamburger menu in the top right corner and select “Software Repositories” from the menu. - -![Gnome Software Menu][10] - -In the Software Repositories window, you will see a section at the top that says “Third Party Repositories”. Click the Install button. Enter your password when you are prompted and you are done. - -![Fedora Third Party Repo installation][11] - -With these additional repositories enabled, you can install software to your heart’s content. You can easily install them from the software center or using the DNF package manager. - -If you found this article interesting, please take a minute to share it on social media, Hacker News, or [Re][12][d][12][dit][12]. - --------------------------------------------------------------------------------- - -via: https://itsfoss.com/fedora-third-party-repos/ - -作者:[John Paul][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/john/ -[b]: https://github.com/lujun9972 -[1]: https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/#third-party-repositories -[2]: https://fedoraproject.org/wiki/Forbidden_items -[3]: https://rpmfusion.org/RPM%20Fusion -[4]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/11/install-rpmfusion-cli.png?resize=800%2C604&ssl=1 -[5]: https://rpmfusion.org/Configuration -[6]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/11/install-rpmfusion-gui.png?resize=800%2C582&ssl=1 -[7]: https://fedoraproject.org/wiki/Workstation/Third_Party_Software_Repositories -[8]: https://fedoraproject.org/wiki/Workstation/Third_party_software_list -[9]: https://itsfoss.com/install-google-chrome-fedora/ -[10]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/11/software-meni.png?resize=800%2C672&ssl=1 -[11]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/11/fedora-third-party-repo-gui.png?resize=746%2C800&ssl=1 -[12]: https://%0Areddit.com/r/linuxusersgroup diff --git a/translated/tech/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md b/translated/tech/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md new file mode 100644 index 0000000000..2b3b999132 --- /dev/null +++ b/translated/tech/20201202 How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software.md @@ -0,0 +1,120 @@ +[#]: collector: (lujun9972) +[#]: translator: (robsean) +[#]: reviewer: ( ) +[#]: publisher: ( ) +[#]: url: ( ) +[#]: subject: (How to Add Third-Party Repositories in Fedora and Get Access to a Huge Number of Additional Software) +[#]: via: (https://itsfoss.com/fedora-third-party-repos/) +[#]: author: (John Paul https://itsfoss.com/author/john/) + +如何在 Fedora 中添加第三方存储库并访问大量附加软件 +====== + +在你安装 Fedora 后。你可能会发现你想要安装和使用的一些软件不能在软件商店中获得。出于一些原因,这些软件包不能出现在e Fedora 存储库中。 + +不用担心,我将告诉你如何为 Fedora 添加第三方存储库来使这些软件包可使用。 + +### 在 Fedora 中的第三方存储库是什么? + +操作系统开发人员通常会决定哪些软件包可以在其存储库中使用,哪些软件包不可以在其存储库中使用。Fedora 也与它们没有什么不同。依据 [Fedora 文档][1] ,第三方存储库包含有 “拥有更为宽松的许可政策,并提供 Fedora 因各种原因所排除软件包” 的软件包。 + +Fedora 强制执行下面的 [准则][2] ,当它打包软件包时: + + * 如果它是专有的,它就不能包含在 Fedora 中 + * 如果它在法律上被限制,它就不能包含在 Fedora 中 + * 如果它违反美国法律 (特别是联邦政府或适用于州政府的法律),它就不能包含在 Fedora 中 + + + +因此,这里存在一组用户可自行添加的存储库。这使得用户能够访问附加的软件包。 + +### 在 Fedora 中启用 RPM Fusion 存储库 + +[RPM Fusion][3] 是 Fedora 的第三方应用程序的主要来源。RPM Fusion 是三个项目 (Dribble,Freshrpms,和 Livna) 合并的结果。RPM Fusion 提供两种不同的软件存储库。 + + * free repo 包含开源软件。 + * nonfree repo 包含没有开源协议的软件,但是它们的源文件代码却是可以自由使用的。 + + + +这里有两种方法来启动 RPM Fusion:从终端启用,或通过点击几个按钮来启用。我们将逐一查看。 + +#### 方法 1: 命令行方法 + +这是启用 RPM Fusion 存储库的最简单的方法。只需要输入下面的命令即可启用两个存储库: + +``` +sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm +``` + +你将被要求输入密码。你将被要求验证是否你想要安装这些存储库。在你核准它后,安装过程将在几秒钟或几分钟内完成。 + +![通过命令行安装 RPM Fusion ][4] + +#### 方法 2: 图形用户界面方法 + +使用这个方法来启用 RPM Fusion 存储库,你需要访问 [RPM Fusion 网站][5] 。你将看到针对不同 Fedora 版本的两个存储库的链接。 + +RPM Fusion 建议先安装 free 存储库。因此,单击针对你 Fedora 版本的 free 存储库的链接。这将打开一个窗口来询问你是否想安装存储库。单击安装。 + +![通过图形用户界面安装 RPM Fusion][6] + +在安装过程完成后,返回并使用相同的步骤安装 nonfree 存储库。 + +### 启用 Fedora 的第三方存储库 + +Fedora 最近开始提供它自己的 [第三方应用程序存储库][7] 。在这个存储库中 [可使用的应用程序的数量][8] 是非常少的。你可以 [使用它来在 Fedora 上安装 Chrome 浏览器][9] 。除 Chrome 外,它也包含 Adobe Brackets ,Atom ,Steam ,Vivaldi ,Opera 等应用程序。 + +就像 RPM Fusion 一样,你可以通过终端或图形用户界面的方法来启用这个存储库。 + +#### 方法 1: 命令行方法 + +为启用 Fedora 的第三方存储库,输入下面的命令到你的终端中: + +``` +sudo dnf install fedora-workstation-repositories +``` + +当被提示时,确保输入你的密码并输入 Y 来核准安装。 + +#### 方法2 1: 图形用户界面方法 + +如果你不习惯使用终端,你可以使用图形用户界面方法。 + +首先,你需要打开 Gnome 软件。接下来,你需要单击右上角的 hamburger 菜单,并从菜单中选择“软件存储库”。 + +![Gnome 软件菜单][10] + +在软件存储库窗口中,你将在其顶部看到写着 “第三方存储库” 字样的部分。单击安装按钮。当你被提示时,输入你的密码。 + +![Fedora 第三方存储库安装][11] + +随着这些附加存储库的启用,你可以安装软件到你的核心的内容中。你可以从软件中心管理器或使用 DNF 软件包管理器来轻松地安装它们。 + +如果你发现这篇文章很有趣,请花费一些时间来在社交媒体,Hacker News ,或 [Re][12][d][12][dit][12] 上分享。 + +-------------------------------------------------------------------------------- + +via: https://itsfoss.com/fedora-third-party-repos/ + +作者:[John Paul][a] +选题:[lujun9972][b] +译者:[robsean](https://github.com/robsean) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://itsfoss.com/author/john/ +[b]: https://github.com/lujun9972 +[1]: https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion/#third-party-repositories +[2]: https://fedoraproject.org/wiki/Forbidden_items +[3]: https://rpmfusion.org/RPM%20Fusion +[4]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2020/11/install-rpmfusion-cli.png?resize=800%2C604&ssl=1 +[5]: https://rpmfusion.org/Configuration +[6]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/11/install-rpmfusion-gui.png?resize=800%2C582&ssl=1 +[7]: https://fedoraproject.org/wiki/Workstation/Third_Party_Software_Repositories +[8]: https://fedoraproject.org/wiki/Workstation/Third_party_software_list +[9]: https://itsfoss.com/install-google-chrome-fedora/ +[10]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/11/software-meni.png?resize=800%2C672&ssl=1 +[11]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2020/11/fedora-third-party-repo-gui.png?resize=746%2C800&ssl=1 +[12]: https://%0Areddit.com/r/linuxusersgroup