统信os下载离线apt-get包ffmpeg

由于ffmpeg在不同平台上使用源代码编译安装复杂,现在使用官方仓库的包,离线下载后,再安装到其他机器上。

apt-get下载的包,默认位置在/var/cache/apt/archieve
当前环境: 统信桌面家庭版21.0 版本号20
因为当前系统已安装了ffmpeg,这里卸载后再下载包

删除系统默认的ffmpeg

sudo apt-get remove ffmpeg # 卸载ffmpeg包
sudo apt-get autoremove ffmpeg # 卸载ffmpeg依赖的包
sudo apt-get clean # 清空/var/cache/apt/archives/ 目录

下载ffmpeg包

cd /var/cache/apt/archives
sudo apt-get install -d ffmpeg

下载后得到ffmpeg_7%3a4.1.6.11-1+dde_amd64.deb

dpkg --info ffmpeg_7%3a4.1.6.11-1+dde_amd64.deb | less # 查看包的依赖,内容如下
新格式的 Debian 软件包,格式版本 2.0
 大小 1434468 字节:主控包=1992 字节。
    1392 字节,   24       control              
    2126 字节,   31       md5sums              
     190 字节,    5    *  postinst             #!/bin/sh
     190 字节,    5    *  postrm               #!/bin/sh
     190 字节,    5    *  preinst              #!/bin/sh
     190 字节,    5    *  prerm                #!/bin/sh
 Package: ffmpeg
 Version: 7:4.1.6.11-1+dde
 Architecture: amd64
 Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
 Installed-Size: 1960
 Depends: libavcodec58 (= 7:4.1.6.11-1+dde), libavdevice58 (= 7:4.1.6.11-1+dde), libavfilter7 (= 7:4.1.6.11-1+dde), libavformat58 (= 7:4.1.6.11-1+dde), libavresample4 (= 7:4.1.6.11-1+dde), libavutil56 (= 7:4.1.6.11-1+dde), libc6 (>= 2.14), libpostproc55 (= 7:4.1.6.11-1+dde), libsdl2-2.0-0 (>= 2.0.9), libswresample3 (= 7:4.1.6.11-1+dde), libswscale5 (= 7:4.1.6.11-1+dde)
 Suggests: ffmpeg-doc
 Breaks: libav-tools (<< 6:12~~), qt-faststart (<< 7:2.7.1-3~), winff (<< 1.5.5-5~)
 Replaces: libav-tools (<< 6:12~~), qt-faststart (<< 7:2.7.1-3~)
 Section: video
 Priority: optional
 Multi-Arch: foreign
 Homepage: https://ffmpeg.org/
 Description: Tools for transcoding, streaming and playing of multimedia files
  FFmpeg is the leading multimedia framework, able to decode, encode, transcode,
  mux, demux, stream, filter and play pretty much anything that humans and
  machines have created. It supports the most obscure ancient formats up to the
  cutting edge.
  .
  This package contains:
   * ffmpeg: a command line tool to convert multimedia files between formats
   * ffplay: a simple media player based on SDL and the FFmpeg libraries
   * ffprobe: a simple multimedia stream analyzer
   * qt-faststart: a utility to rearrange Quicktime files

下载依赖包

sudo apt-get install -d libavcodec58
...

下载完所有依赖后,所有文件如下

-rw-r--r-- 1 root root 1434468 126  2021 ffmpeg_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root 4805744 126  2021 libavcodec58_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root 4769708 126  2021 libavcodec58_7%3a4.1.6.11-1+dde_i386.deb
-rw-r--r-- 1 root root  123564 126  2021 libavdevice58_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root 1046888 126  2021 libavfilter7_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root 1010460 126  2021 libavformat58_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root  102068 126  2021 libavresample4_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root  104868 126  2021 libavresample4_7%3a4.1.6.11-1+dde_i386.deb
-rw-r--r-- 1 root root  237304 126  2021 libavutil56_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root  253028 126  2021 libavutil56_7%3a4.1.6.11-1+dde_i386.deb
-rw-r--r-- 1 root root 2868972 226  2021 libc6_2.28.12-1+eagle_amd64.deb
-rw-r--r-- 1 root root 2747996 226  2021 libc6_2.28.12-1+eagle_i386.deb
-rw-r--r-- 1 root root  101076 126  2021 libpostproc55_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root  401740 29  2021 libsdl2-2.0-0_2.0.9.4-1+eagle_amd64.deb
-rw-r--r-- 1 root root  409160 29  2021 libsdl2-2.0-0_2.0.9.4-1+eagle_i386.deb
-rw-r--r-- 1 root root  104992 126  2021 libswresample3_7%3a4.1.6.11-1+dde_amd64.deb
-rw-r--r-- 1 root root  110008 126  2021 libswresample3_7%3a4.1.6.11-1+dde_i386.deb
-rw-r--r-- 1 root root  202276 126  2021 libswscale5_7%3a4.1.6.11-1+dde_amd64.deb
posted @   影随风动91  阅读(128)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
点击右上角即可分享
微信分享提示