Custom Installation
Custom installation, also known as source installation, you need to compile the source code installation method
Steps:
1. Extract the source code package
2, configuration configure
3. Compile make
4. Installing make Install
Next began to do experiments, I hope that friends do their own hands-on practice, what is unclear can directly ask me, I see will respond in a timely manner.
1. Unzip the source package
[Email protected] base]# cd/root/desktop/
[[email protected] desktop]# ls
Gnome-terminal.desktop mplayer-1.1.tar.gz notecase-1.9.8_slack.tar.gz
[Email protected] desktop]# tar zxvf mplayer-1.1.tar.gz-c/usr/local/src/
2. Configuration
[Email protected] mplayer-1.1]# pwd
/usr/local/src/mplayer-1.1
[[email protected] mplayer-1.1]#/configure--prefix=/usr/local/mplayer will error
Error:yasm not found, use--yasm= "If you really want to compile without
[[email protected] mplayer-1.1]#/configure--prefix=/usr/local/mplayer--yasm= '
--prefix: The installation path of the specified software
3. Compiling
[[email protected] mplayer-1.1]# make
4. Installation
[[email protected] mplayer-1.1]# make install
5. Verification
[Email protected] bin]# cd/usr/local/mplayer/bin/
[[email protected] bin]#./mplayer/root/desktop/1983\-\ song name. mp3
If you can't hear me, I'll report a mistake:
Can ' t open audio device/dev/dsp:no such file or directory
[Email protected] ~]# modprobe Snd_pcm_oss
See if I can hear the sound
[Email protected] bin]#/mplayer/root/desktop/1983\-\ love papaya. mp3
Make Other related commands
Make clean: Clears the compiled file
Make Uninstall: Uninstall
[Email protected] desktop]# ls/usr/local/src/
MPlayer-1.1 Test Vmware-tools-distrib
[Email protected] desktop]# CD!$
cd/usr/local/src/
!$: Last parameter of previous command
This article is from the "Empty Valley Orchid" blog, please be sure to keep this source http://2489843.blog.51cto.com/2479843/1537391