Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS 6.x and CentOS7 install MPlayer     - Differences Shell scripting languages and compiled languages (Programming)

- How to install web crawler tool in Ubuntu 14.04 LTS: Scrapy (Linux)

- Lua4.0 interpreter documents (Programming)

- Gitolite how to import other Git repositories (Server)

- CKEditor + SWFUpload achieve a more powerful editor (Linux)

- Using nmcli commands to manage network in RedHat / CentOS 7.x (Linux)

- MySQL error: ERROR 1175: You are using safe update mode solution (Database)

- Creating and extracting archives 11 tar command examples in Linux (Linux)

- Linux file permissions bit forced bits and adventure Comments (Linux)

- How to add two-factor authentication for Linux systems SSH (Linux)

- Oracle () trunc function usage (Database)

- Ten best plug surge Emacs Productivity (Linux)

- Oracle 11g Export guide problem not an empty table (Database)

- Binary tree traversal algorithm summary (recursive and non-recursive) (Programming)

- How to upgrade to Oracle 11g Oracle 12c (Database)

- grub boot error resolution examples (Linux)

- Linux system started to learn: Teaches you install Ubuntu 15.04 on VirtualBox (Linux)

- How to use the Docker Machine cluster deployment Swarm (Server)

- To install Docker under CentOS7 (Linux)

- Asynchronous JavaScript loading (Programming)

  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.

- RedHat install GCC problem --- Depends (Linux)
- Install Java JDK 8 in CentOS 7 / 6.5 / 6.4 (Linux)
- HTTPS and SSH and use the difference between the way: Git User's Manual (Linux)
- CentOS7 compile and install Tengine + PHP + MariaDB notes (Server)
- Using 30 seconds to write a detailed analysis of garbage removal system (Linux)
- Understand ASP.NET 5 running the command: DNVM, DNX, and DNU (Server)
- MySQL combination Git achieve differential backups can be used in the production environment (Database)
- Getting Started with Linux: Learn how to install and access CentOS 7 Remote Desktop on a VPS (Server)
- Linux remote connectivity tools -OpenSSH (Linux)
- File encryption and decryption of Linux security mechanisms (Linux)
- Spring JDBC Comments (Programming)
- What happens after the MySQL disk space is full (Database)
- Linux operating system security management skills (Linux)
- MongoDB 3.2 to upgrade from 3.0.7 (Database)
- Linux System Tutorial: How to Check MariaDB server versions (Database)
- Lua regex (string function) (Programming)
- Using PPA to install the lightweight theme software HotShots 2.1.0 under Ubuntu (Linux)
- Java foundation comb: Array (Programming)
- Linux system performance analysis and top command ps.pstree Comments (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.