Linux operation and Maintenance system engineer Series---13

Source: Internet
Author: User

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

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.