Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS 6.x and CentOS7 install MPlayer     - HDFS Hadoop Distributed File System Works (Server)

- Nodejs command-line program development tutorial (Programming)

- Linux file system data file deletion problem space is not freed (Database)

- Linux, C programming language library file handling and preparation of Makefile (Programming)

- Oracle Automatic Diagnostic Repository (Automatic Diagnostic Repository, ADR) (Database)

- LaTeX Getting Started Tutorial (Linux)

- Linux scheduling summary (Linux)

- Python Basics: Search Path (Programming)

- Understanding Linux firewall Iptables (Linux)

- How SSHfs mount a remote file system on Linux (Linux)

- Articles do not resolve after opening under Ubuntu WordPress setting a fixed link (Server)

- Grub2 Boots the openSUSE installation image (Linux)

- Linux port scanning (Linux)

- OGG-03510 Problem (Database)

- MySQL Statistics (Database)

- Practical Handbook: 130+ improve the efficiency of commonly used commands Vim (Linux)

- Android developers learning Adapter (data adapter) (Programming)

- IntelliJ IDEA common list of shortcuts (Linux)

- KUbuntu / Ubuntu 14.04 (downgrade) installed SVN 1.7 (Linux)

- Binary Tree Traversal (Linux)

 
         
  CentOS 6.x and CentOS7 install MPlayer
     
  Add Date : 2017-04-13      
         
       
         
  CentOS 6.x
RPMforge (now called RepoForge) of the repo CentOS 6.x has smplayer, so a direct yum install.

$ Yum install smplayer --enablerepo = rpmforge

CentOS 7
RPMforge (now called RepoForge) not found in the repo CentOS smplayer 7, so the need to install the source code.

MPlayer installation usually requires the following three things:

source code (source code tarball file)
binary codecs (a bunch of binary decoder file)
a skin (skin)
Official website to download the source code.

$ ./configure --enable-Gui --language = zh_CN - enable-gui tell configure to run later MPlayer need a graphical interface, not just run from the command line.

--language = zh_CN tell configure to install the Chinese environment.

Typically configure fails because it requires some dependencies. It tells me what I'm missing just pretend.

Missing yasm, go yasm official website to download the source code tarball, a simple three-step:

$ ./configure
$ Make
$ Make install missing X11, yum install gtk2-devel, pay attention to install gtk2-devel, gtk3-devel not.

$ Yum install gtk2-develconfigure

By then

$ Make
$ Make install

OK, the installation is complete, run mplayer media file name in the command line in general can play.

Official website to download binary codecs, a tarball, unpack, get a bunch of file decoder, the decoder these files into / usr / local / lib / codecs / Lane. / Usr / local / lib / codecs if there is no next folder, then create a manual.

Official website to download skin file is a tarball, unpack, have a folder, this folder into / usr / local / share / mplayer / skins /, the establishment of a call after the default of a symbolic link, pointing to the skin folder.

$ Ln -s < folder name> default, of course, you can put the folder name directly into default.

If the player is no sound, then do it:

$ Yum install * alsa *

Install a bunch of stuff alsa-related, used to do I do not know, do not want to know, the Internet search.

done!
     
         
       
         
  More:      
 
- Local port forwarding using iptables under linux (Server)
- Install Xshell on Mac OS X (Linux)
- Oracle 11g RMAN cross-platform transfer table space (Database)
- EXP-00091: Exporting questionable statistics Processing Method (Database)
- Hibernate Performance Optimization of EHCache cache (Programming)
- Build ftp server under CentOS 6.5 (Server)
- How to create SWAP files in Ubuntu 14.04 (Linux)
- The correct way of logical backup mysqldump (Database)
- Build Nginx + uWSGI + Flask operating environment under CentOS 6.4 tutorial (Server)
- Optimized to minimize the installation of CentOS 5.8 (Linux)
- Neo4j map data processing tab (Database)
- Use Swift remove the spaces in the string (Programming)
- Using Java to build micro-services (Server)
- CentOS 7.0 Close firewall is enabled by default iptables firewall (Linux)
- Detailed driver compiled into the Linux kernel (Programming)
- Getting Started with Java NIO (Programming)
- A script to make your Ubuntu 14.04 Memory screen brightness (Linux)
- Configure the Linux kernel and use iptables to do port mapping (Linux)
- DDOS Attacks and Prevention (Linux)
- How to use the command line ftp upload and download files (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.