Directory 1EnableEPELRepository1. 1VerifyEPELRepo2 delete rpm installed software
Directory
- 1 Enable EPEL Repository
- 2. delete the software installed by rpm.
- 3. use mediainfo to obtain the duration
- 4 Yi search reference
|
Enable EPEL Repository
EPEL (Extra Packages for Enterprise Linux)
CentOS 6 64-Bit
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm# rpm -ivh epel-release-6-8.noarch.rpm
Or iSearch download
Verify EPEL Repo
yum repolist
There will be the following line of information
epel Extra Packages for Enterprise Linux 6 - x86_64
Delete software installed by rpm
Installation package to be uninstalled by rpm-e
Before uninstalling the package, run the rpm-qa | grep epel-release command to find the name of the installation package to be uninstalled.
Use mediainfo to obtain the duration
mediainfo --Inform="Video;%Duration/String3%" test.mp4
The following output is obtained:
00:05:00.000
Yi search reference
Http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/
Http:// OS .51cto.com/art/201001/177866.htm