Linux_Fedora _ application series _ 2 _ how to install the video player and video file decoding

Source: Internet
Author: User
Tags metalink
[Linux_Fedora _ application series] _ 2 _ how to install the video player and video file decoding here we will install the video player. We still use the yum method for installation. 1. install TotemyuminstallTotem. if you are using the default FC14 yum library, then... [Linux_Fedora _ application series] _ 2 _ how to install the video player and video file decoding here we will install the video player. We still use the yum method for installation. 1. install Totem yum install Totem. if you are using the default FC14 yum library, you can find that the software cannot be installed normally. Therefore, you need to modify the configuration of the yum Library. 2. create a new yum Library configuration file in the fcseries, and save the yum configuration file in:/etc/yum. repos. d directory, the file ending with repo under the Directory is the yum configuration file of the yum Library. the format of the yum configuration file is as follows [local-update] name = local-update yum libbaseurl = file:///home/volcanol/rpmenabled=1gpgcheck=1 Item 1: local-update indicates the name of the yum database, which can be arbitrarily named. Item 2: name attribute, which is generally descriptive text. you can enter the third item as needed: baseurl attribute, indicates the path of the rpm package to be searched by the yum database. here, the http: //, ftp: //, and file: // protocols are supported. because the local file is enabled, file is used: // protocol, followed by the absolute path of the yum software library, because I copied all the rpm files on the FC 14 installation disc to the/home/volcanol/rpm directory, so the settings here are: /home/volcanol/rpm Item 4: enabled = 1 indicates enable, and the local-update yum Library is enabled. if it is not set to enable by default, it is disabled if it is set to 0. Item 5: gpgchechk = 1, indicates file verification is enabled, and = 0 indicates not to be enabled. 3. after creating a search index and creating a configuration file, the local yum library cannot be used normally, you also need the createrepo tool to create a yum index for normal use. The createrepo tool is not installed by default. Therefore, we need to install this tool. The Packages folder on the installation disc contains the rpm installation file for createrepo. Run the following command to install the createrepo tool. When the rpm-ivh createrepo-0.9.8-5.fc14.noarch.rpm is installed, sometimes the dependency does not exist and you also need to install the dependency file. My machine prompts Less: python-deltarpm-3.6-0.2.20100708git.fc14.i686.rpm so I used the following command to install two rpm simultaneously: rpm-ivh python-deltarpm-3.6-0.2.20100708git.fc14.i686.rpm createrepo-0.9.8-5.fc14.noarch.rpm so that the createrepo tool was successfully installed, in this way, you can create an rpm index. run the following command to create the parameters following createrepo-v/home/volcanol/rpm/createrepo: /home/volcanol/rpm/is the absolute path of the rpm storage of our yum Library.-v indicates that detailed information is displayed. After this step, the index is created. 4. clear the yum cache configuration file under the system var directory and run the following command: yum clean all: root @ volcanol rpm] # yum clean all loaded plug-in: langpacks, presto, refresh-packagekitAdding zh_CN to language listCleaning repos: fedora local-update rpmfusion-free-updates rpmfusion-nonfree-updates clear all 0 delta-package files removed, by presto5. install the Totem software by running the following command: yun install totem: the loaded plug-in: langpacks, pres To, refresh-repository zh_CN to language listfedora/metalink | 4.6 kB 00:00 fedora | 4.3 kB 00:00 fedora/primary_db Adding zh_CN to language listfedora/metalink | 4.6 kB 00:00 fedora | 4.3 kB 00:00 fedora/primary_db | 11 MB local-update | 1.3 kB... local-update/primary | 1.1 MB... local-update the output of the first segment, indicating that after the yum Library is updated for the first time, the cached file of yum in the var directory needs to be updated. The second output I extracted indicates that the yum library I created has been included in the cache file of yum in the var directory. After the cache file is updated, the totem software is installed. the output information is as follows: set the installation process to solve the dependency --> execute the transaction check ---> software package totem. i686. 32.0-1. fc14 will be installed --> processing dependencies python-feedparser, which is required by the software package 1: totem-2.32.0-1.fc14.i686 --> processing dependency python-httplib2, which is packaged by package 1: totem-2.32.0-1.fc14.i686 needs --> processing dependencies python-BeautifulSoup, which is required by software package 1: totem-2.32.0-1.fc14.i686 --> processing dependencies gnome-dvb-daemon, which is software package 1: the totem-2.32.0-1.fc14.i686 requires the following statement to start installation: ---> software package totem. i68 6. 32.0-1. fc14 will be installed. 6. install the video decoder. run the following command to install the Video Decoder: yum install ffmpeg-libs gstreamer-ffmpeg libmatrosca xvidcore to play files in rmvb, avi, and other formats, 7. after mplayer and smplayer are installed successfully, we find that video image decoding is not ideal for playback of avi files. only sound is available, and the image display is black, therefore, we also need to install a universal video player. Here we select mplayer and smplayer. Run the following command to install yum install mplayer smplayer. during the configuration process, you must note the software installation sequence so that the dependency can be properly parsed, then you can install these frequently used software smoothly.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.