首页 > 代码库 > 在Centos 6.5 X64下切割m3u8

在Centos 6.5 X64下切割m3u8

操作系统:centos 6.5

准备工作:

安装git

1. 安装git前准备(安装需依赖的包):  yum install curl -y  yum install curl-devel -y  yum install zlib-devel -y  yum install openssl -y  yum install perl -y  yum install cpio -y  yum install expat-devl -y  yum install gettext-devl -y  yum install perl-devel.i686 -y  yum install -y libpcap.x86_64  yum install -y libpcap-devel.x86_64  yum install -y perl-devel.x86_642. 编译安装 wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz tar xzvf git-latest.tar.gz  cd git-***** autoconfig ./configure make && make install3. 测试  git version

 

Centos 准备安装删除已安装包

yum erase ffmpeg x264 x264-devel

 

Centos 安装各种依赖包

yum install  gcc gcc-c++ make nasm pkgconfig wget curl curl-devel zlib-devel openssl-devel perl cpio expat-devel gettext-devel libtool mhash.x86_64 perl-Digest-SHA1.x86_64  pcre.i386 pcre.x86_64 pcre-devel.i386 pcre-devel.x86_64 -y

 

wget http://www.nasm.us/pub/nasm/releasebuilds/2.11.05/nasm-2.11.05.tar.bz2tar xvf nasm-2.11.05.tar.bz2cd nasm-2.11.05配置安装目录为/usr/bin:./configure --prefix=/usr编译并安装:make && make install