File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 13
13
- [ 安装mongodb] ( linux/soft/mongodb.md )
14
14
- [ 安装minio] ( linux/soft/minio.md )
15
15
- [ 安装nginx] ( linux/soft/nginx.md )
16
- - [ 安装oracle] ( linux/soft/oracle.md )
16
+ - [ 安装oracle] ( linux/soft/oracle.md )
17
+ - [ 安装ffmpeg] ( linux/soft/ffmpeg.md )
Original file line number Diff line number Diff line change
1
+ > Tencent Centos 8
2
+
3
+ FFmpeg 在默认的CentOS 8 源仓库中没有提供。你可以选择通过源文件编译安装 FFmpeg,或者使用dnf工具从Negativo17源仓库中安装。我们将会使用第二个选项。
4
+
5
+ 完成下面的步骤,在 CentOS 8 上安装 FFmpeg:
6
+
7
+ 1.Negativo17软件源依赖EPEL 和 PowerTools 软件源。以 root 或者其他有 sudo 权限的用户身份运行下面的命令,启用必须的软件源:
8
+
9
+ ``` shell
10
+ sudo dnf install epel-release
11
+ sudo yum config-manager --set-enabled PowerTools
12
+ sudo yum-config-manager --add-repo=https://negativo17.org/repos/epel-multimedia.repo
13
+ ```
14
+
15
+ 2.一旦软件源被启用,安装FFmpeg:
16
+
17
+ ``` shell
18
+ sudo dnf install ffmpeg
19
+ ```
20
+
21
+ 3.通过检测版本号,验证FFmpeg安装:
22
+
23
+ ``` shell
24
+ ffmpeg -version
25
+ ```
You can’t perform that action at this time.
0 commit comments