Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS 6.x and CentOS7 install MPlayer     - Nagios (centreon) monitoring Linux Log (Server)

- What factors affect the performance of Java calls (Programming)

- AngularJS application unit testing started (Programming)

- sudo command scenario analysis (Linux)

- On event processing browser compatibility notes (Programming)

- Java to achieve local fileCopy (Programming)

- SVN hook code set to synchronize Web directory (Server)

- Ftp user to create multiple virtual machines to support different access rights Examples (Server)

- Squid proxy server configuration under Linux (Server)

- Linux permissions Detailed (Linux)

- Oracle11g Trigger Debugging Record Error: PLS-00201: identifier SYS.DBMS_SYSTEM 'must be declared (Database)

- Linux system with a firewall to prevent the DOS attack (Linux)

- to compile FFmpeg In Ubuntu (Linux)

- JSON data normalization (normalize) (Programming)

- How to download video youtube-dl in Linux (Linux)

- Rely on IP chain established Linux firewall (Linux)

- Examples of RAID levels and achieve Operational Details (Linux)

- How to Install Focuswriter 1.4.5 (Linux)

- Use Swift remove the spaces in the string (Programming)

- Vmstat command Linux Performance Monitoring (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.

- Novice Advanced Ubuntu7.10 configured IP address (Linux)
- STL spatial Configurator (Programming)
- CentOS installed JDK8 (Linux)
- Bubble Sort Algorithms (Programming)
- Manually create Oracle Database Explanations (Database)
- Nginx + ownCloud + PHP + MySQL to build personal private cloud under CentOS7 (Server)
- Linux system performance and usage activity monitoring tools -Sysstat (Linux)
- To_explore Linux system boot process (Linux)
- To use slay kill user processes (Linux)
- Linux System Getting Started Learning: Linux in the last command (Linux)
- IronPython and C # to interact (Programming)
- VMware virtual machine to install CentOS 7 (Linux)
- Linux cd command Detailed (Linux)
- Use XtraBackup to MySQL database online incremental backup and recovery (Database)
- Source compiler install Nginx (Server)
- SELinux security permissions HTTP + PHP service changes (Server)
- After Pydev installation, Eclipse does not display solutions (Linux)
- Tomcat itself through simple movement separation (Server)
- Disable unnecessary services under Linux (Linux)
- findmnt- Looking mounted file system (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.