如何在 Fedora Linux 上安装 VLC
VLC
![](/data/attachment/album/202107/31/215634thkmiihq1limel4i.jpg)


如果你刚刚安装了 Fedora，现在想在上面安装你最喜欢的视频播放器 VLC，你可能不会在软件中心找到它。至少不会立即找到。


出于只有它的开发者知道的原因，Fedora 既没有安装 [VLC](https://www.videolan.org/)，也不包括在 Fedora 官方仓库中。


那么，你如何在 Fedora 上安装 VLC 呢？很简单。RPM Fusion 是你的朋友。让我告诉你详细的步骤。


### 在 Fedora Linux 上安装 VLC


在这里使用命令行会更容易。你也可以使用图形化的方法。我将在后面讨论它。


打开终端，使用下面的命令来添加和启用包含 VLC 包的 RPM Fusion 仓库：



```
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

```

当被要求确认添加新仓库时按 `Y`。接下来，使用 DNF 命令安装 VLC：



```
sudo dnf install vlc

```

它将在 Fedora 中从 RPM Fusion 仓库中安装 VLC，并从不同的仓库中安装一些额外的依赖项。


![Installing VLC in Fedora with DNF command](/data/attachment/album/202107/31/215815dz72qu7qnoi2uqoq.jpg)


安装后，你可以在应用程序菜单中搜索 VLC，或者在“活动区”中搜索它。


![Search for VLC](/data/attachment/album/202107/31/215643n74w8wrqwqdqnhwq.png)


点击、启动并享受它。


#### 替代方法：从软件中心安装 VLC


当你已经启用了 RPM Fusion 仓库，你可以在软件中心显示这个仓库的应用。要做到这一点，在终端使用以下命令：



```
sudo dnf groupupdate core

```

之后，打开软件中心，搜索 VLC 并从那里安装。


![VLC in Fedora software center](/data/attachment/album/202107/31/215828fs9geza9icsqidss.jpg)


如果你有添加 FlatHub 仓库，请避免安装 Flatpak 版本的 VLC，因为它的大小大约是 1GB。RPM 版本的大小要小得多。


我希望你觉得这个快速教程对在 Fedora 上安装 VLC 有帮助。享受吧。




---


via: <https://itsfoss.com/install-vlc-fedora/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

If you have just installed Fedora and now want to install your favorite video player VLC on it, you probably won’t find it in the software center. Not immediately, at least.

For reasons best known to their developers, Fedora neither ships with [VLC](https://www.videolan.org/?ref=itsfoss.com) nor does it include in the official Fedora repository.

So, how do you install VLC on Fedora, then? Simple. RPM Fusion is your friend here. Let me show you the steps in detail.

## Installing VLC on Fedora Linux

Using the command line will be easier here. You may use the graphical method as well. I’ll discuss it later.

Open a terminal and use the following command to add and enable RPM Fusion repository that contains the VLC package:

`sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm `


Press Y when asked to confirm adding the new repo. Next, install VLC using DNF command:

`sudo dnf install vlc`


It will install VLC in Fedora from the RPM Fusion repository and a few additional dependencies from various repositories.

![Installing VLC in Fedora with DNF command](https://itsfoss.com/content/images/wordpress/2021/07/installing-vlc-fedora-800x422.webp)

Once installed, you can search for VLC in the application menu or search for it in the “activities area”.

![vlc fedora](https://itsfoss.com/content/images/wordpress/2021/07/vlc-fedora.png)

Click on it, start it and enjoy it.

### Alternate method: Installing VLC from software center

When you have enabled RPM Fusion repository, you can display the applications from this repo in the software center. To do that, use the following command in the terminal:

`sudo dnf groupupdate core`


After that, open software center and search for VLC and install from there.

![vlc in fedora software center](https://itsfoss.com/content/images/wordpress/2021/07/vlc-in-fedora-software-center-800x486.webp)

If you have added FlatHub repository, please avoid installing the Flatpak version of VLC because it is around 1 GB in size. The RPM version is a lot smaller in size.

## Do more with VLC

VLC is much more than just being an [excellent video player for Linux](https://itsfoss.com/video-players-linux/). Here are a few interesting [ways to get more out of VLC](https://itsfoss.com/simple-vlc-tips/).

[Make VLC More Awesome With These Simple TipsVLC is one of the best open source video players, if not the best. What most people don’t know about it is that it is a lot more than just a video player. You can do a lot of complex tasks like broadcasting live videos, capturing devices etc. Just](https://itsfoss.com/simple-vlc-tips/)![](https://itsfoss.com/content/images/wordpress/2019/12/VLC_TIPS.png)


![](https://itsfoss.com/content/images/wordpress/2019/12/VLC_TIPS.png)

I hope you find this quick tutorial helpful in installing VLC on Fedora. Enjoy.