Skip to content

Commit 0871605

Browse files
feat(linux): Add ffmpeg (#159)
* feat(linux): Add ffmpeg CLose #153 Signed-off-by: unknowIfGuestInDream <liang.tang.cx@gmail.com> * feat(linux): Add ffmpeg CLose #153 Signed-off-by: unknowIfGuestInDream <liang.tang.cx@gmail.com> --------- Signed-off-by: unknowIfGuestInDream <liang.tang.cx@gmail.com>
1 parent 0f0c014 commit 0871605

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

docs/linux/_sidebar.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
- [安装mongodb](linux/soft/mongodb.md)
1414
- [安装minio](linux/soft/minio.md)
1515
- [安装nginx](linux/soft/nginx.md)
16-
- [安装oracle](linux/soft/oracle.md)
16+
- [安装oracle](linux/soft/oracle.md)
17+
- [安装ffmpeg](linux/soft/ffmpeg.md)

docs/linux/soft/ffmpeg.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
```

0 commit comments

Comments
 (0)