리눅이에서 mp3 재생하기..

from CentOS 2010. 6. 27. 18:57
반응형
개인적으로 사용하는 펜3 급.. 컴이 하나가 있다..
팬을 모조리 제거를 해놓고선...

리눅이를 깔아 놓았는데..
내가 사용하고 작업하는 컴에는 스피커를 사용하지 않고.. 간단하게 이어폰을 끼고 작업을 하는터라..

사용하던 스피커를 물려 놓았다..

그래서 간간히.. 음악을 들을때.. 굳이 작업컴이나.. 게임할때 사용하는 컴에서 음악을 트는게 아니라..
원격으로 리눅스에서 음악을 플레이 하려고 했는데..

그동안엔 재생이 잘 안되서.
인터넷상에서 플래쉬로 방송하는 음악만을 듣고 있다가..

오늘 시간도 나는터라 안되겠다 싶어서 좀 찾아 보았다.

Last login: Sun Jun 27 18:31:54 2010
[jsmall@localhost ~]$ yum -y install gstreamer-plugins-bad
Loaded plugins: fastestmirror
You need to be root to perform this command.

gstreamer-plugins-bad 를 설치해주면
된다기에... yum -y install gstreamer-plugins-bad 로 해줄려고 하니깐...

root 권한이 있어야 한다고 해서 로긴해서 다시 해봤다.

[jsmall@localhost ~]$ su
[root@localhost jsmall]# yum -y install gstreamer-plugins-bad
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: data.nicehosting.co.kr
 * base: data.nicehosting.co.kr
 * extras: data.nicehosting.co.kr
 * updates: data.nicehosting.co.kr
Setting up Install Process
No package gstreamer-plugins-bad available.
Nothing to do

잉 없다고 하네.. 머지...

찾아보던중에...

[root@localhost jsmall]# yum -y install yum-priorities
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: data.nicehosting.co.kr
 * base: data.nicehosting.co.kr
 * extras: data.nicehosting.co.kr
 * updates: data.nicehosting.co.kr
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yum-priorities.noarch 0:1.1.16-14.el5.centos.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                          Arch                     Version                                     Repository              Size
====================================================================================================================================
Installing:
 yum-priorities                   noarch                   1.1.16-14.el5.centos.1                      base                    14 k

Transaction Summary
====================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 14 k
Downloading Packages:
yum-priorities-1.1.16-14.el5.centos.1.noarch.rpm                                                             |  14 kB     00:00    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : yum-priorities                                                                                               1/1

Installed:
  yum-priorities.noarch 0:1.1.16-14.el5.centos.1                                                                                   

Complete!

yum-priorities 를 해보라고 해서 했는데도.. 여전히... 안되더라..
머야 이거 .. 왜 안되는거야.. 하고는.. 한참을 뒤져보았다...

[root@localhost jsmall]# yum -y install gstreamer-plugins-bad
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: data.nicehosting.co.kr
 * base: data.nicehosting.co.kr
 * extras: data.nicehosting.co.kr
 * updates: data.nicehosting.co.kr
Setting up Install Process
No package gstreamer-plugins-bad available.
Nothing to do
[root@localhost jsmall]#  yum -y install gstreamer-plugins-ugly
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: data.nicehosting.co.kr
 * base: data.nicehosting.co.kr
 * extras: data.nicehosting.co.kr
 * updates: data.nicehosting.co.kr
Setting up Install Process
No package gstreamer-plugins-ugly available.
Nothing to do

안돼자너.. 잉.. 되게해줘...
그러다가..

[root@localhost jsmall]# rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.i386.rpm

http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.i386.rpm(;)¸| º¹±¸?´??
                                                                                                              °?: /var/tmp/rpm-xfer.oRHUA7: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Xº.                  ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]
[root@localhost jsmall]# yum -y install gstreamer-plugins-bad
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: data.nicehosting.co.kr
 * base: data.nicehosting.co.kr
 * extras: data.nicehosting.co.kr
 * rpmforge: apt.sw.be
 * updates: data.nicehosting.co.kr
rpmforge                                                                                                     | 1.1 kB     00:00    
rpmforge/primary                                                                                             | 3.7 MB     00:05    
rpmforge                                                                                                                10283/10283
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gstreamer-plugins-bad.i386 0:0.10.8-4.el5.rf set to be updated
--> Processing Dependency: libgsm.so.1 for package: gstreamer-plugins-bad
--> Processing Dependency: libfusion-1.2.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libdirectfb-1.2.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libdivxencore.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libdivxdecore.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libmplex2-1.9.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libdirac_decoder.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libmpcdec.so.5 for package: gstreamer-plugins-bad
--> Processing Dependency: libdca.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libsndfile.so.1(libsndfile.so.1.0) for package: gstreamer-plugins-bad
--> Processing Dependency: libfaac.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libx264.so.68 for package: gstreamer-plugins-bad
--> Processing Dependency: libmpeg2encpp-1.9.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libsndfile.so.1 for package: gstreamer-plugins-bad
--> Processing Dependency: libBPM.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libdirect-1.2.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libamrwb.so.3 for package: gstreamer-plugins-bad
--> Processing Dependency: libSoundTouch.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libmms.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libmjpegutils-1.9.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libcdaudio.so.1 for package: gstreamer-plugins-bad
--> Processing Dependency: libxvidcore.so.4 for package: gstreamer-plugins-bad
--> Processing Dependency: libfaad.so.2 for package: gstreamer-plugins-bad
--> Processing Dependency: libdirac_encoder.so.0 for package: gstreamer-plugins-bad
--> Running transaction check
---> Package amrwb.i386 0:7.0.0.3-1.el5.rf set to be updated
---> Package dirac.i386 0:1.0.2-1.el5.rf set to be updated
--> Processing Dependency: libcppunit-1.12.so.0 for package: dirac
---> Package directfb.i386 0:1.2.4-1.el5.rf set to be updated
--> Processing Dependency: libts-0.0.so.0 for package: directfb
---> Package divx4linux.i386 0:5.0.5-0.el5.rf set to be updated
--> Processing Dependency: libstdc++-libc6.2-2.so.3 for package: divx4linux
---> Package faac.i386 0:1.26-1.el5.rf set to be updated
---> Package faad2.i386 0:2.7-1.el5.rf set to be updated
---> Package gsm.i386 0:1.0.13-1.el5.rf set to be updated
---> Package libcdaudio.i386 0:0.99.12p2-12.el5.rf set to be updated
---> Package libdca.i386 0:0.0.5-1.el5.rf set to be updated
---> Package libmms.i386 0:0.3-1.el5.rf set to be updated
---> Package libmpcdec.i386 0:1.2.6-1.el5.rf set to be updated
---> Package libsndfile.i386 0:1.0.17-1.el5.rf set to be updated
---> Package mjpegtools.i386 0:1.9.0-0.6.rc2.el5.rf set to be updated
--> Processing Dependency: libquicktime.so.0 for package: mjpegtools
--> Processing Dependency: libSDL_gfx.so.13 for package: mjpegtools
---> Package soundtouch.i386 0:1.3.1-1.el5.rf set to be updated
---> Package x264.i386 0:0.0.0-0.4.20090708.el5.rf set to be updated
---> Package xvidcore.i386 0:1.2.2-1.el5.rf set to be updated
--> Running transaction check
---> Package SDL_gfx.i386 0:2.0.21-1.el5.rf set to be updated
---> Package compat-libstdc++-296.i386 0:2.96-138 set to be updated
---> Package cppunit.i386 0:1.12.0-3.el5.rf set to be updated
---> Package libquicktime.i386 0:1.1.4-1.el5.rf set to be updated
--> Processing Dependency: libswscale.so.0 for package: libquicktime
--> Processing Dependency: libmp3lame.so.0 for package: libquicktime
--> Processing Dependency: libavcodec.so.52 for package: libquicktime
---> Package tslib.i386 0:1.0-1.el5.rf set to be updated
--> Running transaction check
---> Package ffmpeg.i386 0:0.5.2-2.el5.rf set to be updated
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg
--> Processing Dependency: libpostproc.so.51 for package: ffmpeg
--> Processing Dependency: a52dec for package: ffmpeg
--> Processing Dependency: libopencore-amrwb.so.0 for package: ffmpeg
--> Processing Dependency: libopencore-amrnb.so.0 for package: ffmpeg
--> Processing Dependency: libpostproc.so.51(LIBPOSTPROC_51) for package: ffmpeg
---> Package lame.i386 0:3.98.2-1.el5.rf set to be updated
--> Running transaction check
---> Package a52dec.i386 0:0.7.4-8.el5.rf set to be updated
---> Package ffmpeg-libpostproc.i386 0:0.5.2-2.el5.rf set to be updated
---> Package imlib2.i386 0:1.4.4-1.el5.rf set to be updated
--> Processing Dependency: libid3tag.so.0 for package: imlib2
---> Package opencore-amr.i386 0:0.1.2-1.el5.rf set to be updated
--> Running transaction check
---> Package libid3tag.i386 0:0.15.1b-3.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                              Arch                Version                                     Repository               Size
====================================================================================================================================
Installing:
 gstreamer-plugins-bad                i386                0.10.8-4.el5.rf                             rpmforge                3.0 M
Installing for dependencies:
 SDL_gfx                              i386                2.0.21-1.el5.rf                             rpmforge                107 k
 a52dec                               i386                0.7.4-8.el5.rf                              rpmforge                 78 k
 amrwb                                i386                7.0.0.3-1.el5.rf                            rpmforge                190 k
 compat-libstdc++-296                 i386                2.96-138                                    base                     90 k
 cppunit                              i386                1.12.0-3.el5.rf                             rpmforge                811 k
 dirac                                i386                1.0.2-1.el5.rf                              rpmforge                2.9 M
 directfb                             i386                1.2.4-1.el5.rf                              rpmforge                3.5 M
 divx4linux                           i386                5.0.5-0.el5.rf                              rpmforge                392 k
 faac                                 i386                1.26-1.el5.rf                               rpmforge                151 k
 faad2                                i386                2.7-1.el5.rf                                rpmforge                354 k
 ffmpeg                               i386                0.5.2-2.el5.rf                              rpmforge                2.5 M
 ffmpeg-libpostproc                   i386                0.5.2-2.el5.rf                              rpmforge                 40 k
 gsm                                  i386                1.0.13-1.el5.rf                             rpmforge                 63 k
 imlib2                               i386                1.4.4-1.el5.rf                              rpmforge                924 k
 lame                                 i386                3.98.2-1.el5.rf                             rpmforge                569 k
 libcdaudio                           i386                0.99.12p2-12.el5.rf                         rpmforge                 81 k
 libdca                               i386                0.0.5-1.el5.rf                              rpmforge                136 k
 libid3tag                            i386                0.15.1b-3.el5.rf                            rpmforge                 75 k
 libmms                               i386                0.3-1.el5.rf                                rpmforge                 54 k
 libmpcdec                            i386                1.2.6-1.el5.rf                              rpmforge                 52 k
 libquicktime                         i386                1.1.4-1.el5.rf                              rpmforge                1.3 M
 libsndfile                           i386                1.0.17-1.el5.rf                             rpmforge                476 k
 mjpegtools                           i386                1.9.0-0.6.rc2.el5.rf                        rpmforge                1.6 M
 opencore-amr                         i386                0.1.2-1.el5.rf                              rpmforge                376 k
 soundtouch                           i386                1.3.1-1.el5.rf                              rpmforge                 62 k
 tslib                                i386                1.0-1.el5.rf                                rpmforge                 89 k
 x264                                 i386                0.0.0-0.4.20090708.el5.rf                   rpmforge                898 k
 xvidcore                             i386                1.2.2-1.el5.rf                              rpmforge                511 k

Transaction Summary
====================================================================================================================================
Install      29 Package(s)
Upgrade       0 Package(s)

Total download size: 21 M
Downloading Packages:
(1/29): ffmpeg-libpostproc-0.5.2-2.el5.rf.i386.rpm                                                           |  40 kB     00:01    
(2/29): libmpcdec-1.2.6-1.el5.rf.i386.rpm                                                                    |  52 kB     00:00    
(3/29): libmms-0.3-1.el5.rf.i386.rpm                                                                         |  54 kB     00:00    
(4/29): soundtouch-1.3.1-1.el5.rf.i386.rpm                                                                   |  62 kB     00:00    
(5/29): gsm-1.0.13-1.el5.rf.i386.rpm                                                                         |  63 kB     00:00    
(6/29): libid3tag-0.15.1b-3.el5.rf.i386.rpm                                                                  |  75 kB     00:00    
(7/29): a52dec-0.7.4-8.el5.rf.i386.rpm                                                                       |  78 kB     00:00    
(8/29): libcdaudio-0.99.12p2-12.el5.rf.i386.rpm                                                              |  81 kB     00:00    
(9/29): tslib-1.0-1.el5.rf.i386.rpm                                                                          |  89 kB     00:00    
(10/29): compat-libstdc++-296-2.96-138.i386.rpm                                                              |  90 kB     00:00    
(11/29): SDL_gfx-2.0.21-1.el5.rf.i386.rpm                                                                    | 107 kB     00:00    
(12/29): libdca-0.0.5-1.el5.rf.i386.rpm                                                                      | 136 kB     00:00    
(13/29): faac-1.26-1.el5.rf.i386.rpm                                                                         | 151 kB     00:00    
(14/29): amrwb-7.0.0.3-1.el5.rf.i386.rpm                                                                     | 190 kB     00:00    
(15/29): faad2-2.7-1.el5.rf.i386.rpm                                                                         | 354 kB     00:00    
(16/29): opencore-amr-0.1.2-1.el5.rf.i386.rpm                                                                | 376 kB     00:00    
(17/29): divx4linux-5.0.5-0.el5.rf.i386.rpm                                                                  | 392 kB     00:00    
(18/29): libsndfile-1.0.17-1.el5.rf.i386.rpm                                                                 | 476 kB     00:00    
(19/29): xvidcore-1.2.2-1.el5.rf.i386.rpm                                                                    | 511 kB     00:00    
(20/29): lame-3.98.2-1.el5.rf.i386.rpm                                                                       | 569 kB     00:00    
(21/29): cppunit-1.12.0-3.el5.rf.i386.rpm                                                                    | 811 kB     00:00    
(22/29): x264-0.0.0-0.4.20090708.el5.rf.i386.rpm                                                             | 898 kB     00:00    
(23/29): imlib2-1.4.4-1.el5.rf.i386.rpm                                                                      | 924 kB     00:00    
(24/29): libquicktime-1.1.4-1.el5.rf.i386.rpm                                                                | 1.3 MB     00:03    
(25/29): mjpegtools-1.9.0-0.6.rc2.el5.rf.i386.rpm                                                            | 1.6 MB     00:01    
(26/29): ffmpeg-0.5.2-2.el5.rf.i386.rpm                                                                      | 2.5 MB     00:06    
(27/29): dirac-1.0.2-1.el5.rf.i386.rpm                                                                       | 2.9 MB     00:07    
(28/29): gstreamer-plugins-bad-0.10.8-4.el5.rf.i386.rpm                                                      | 3.0 MB     00:05    
(29/29): directfb-1.2.4-1.el5.rf.i386.rpm                                                                    | 3.5 MB     00:03    
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               372 kB/s |  21 MB     00:58    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : x264                                                                                                        1/29
  Installing     : faac                                                                                                        2/29
  Installing     : faad2                                                                                                       3/29
  Installing     : lame                                                                                                        4/29
  Installing     : xvidcore                                                                                                    5/29
  Installing     : tslib                                                                                                       6/29
  Installing     : directfb                                                                                                    7/29
  Installing     : cppunit                                                                                                     8/29
  Installing     : dirac                                                                                                       9/29
  Installing     : libmpcdec                                                                                                  10/29
  Installing     : soundtouch                                                                                                 11/29
  Installing     : amrwb                                                                                                      12/29
  Installing     : libmms                                                                                                     13/29
  Installing     : compat-libstdc++-296                                                                                       14/29
  Installing     : divx4linux                                                                                                 15/29
  Installing     : libdca                                                                                                     16/29
  Installing     : libid3tag                                                                                                  17/29
  Installing     : imlib2                                                                                                     18/29
  Installing     : libcdaudio                                                                                                 19/29
  Installing     : libsndfile                                                                                                 20/29
  Installing     : SDL_gfx                                                                                                    21/29
  Installing     : a52dec                                                                                                     22/29
  Installing     : opencore-amr                                                                                               23/29
  Installing     : gsm                                                                                                        24/29
  Installing     : ffmpeg                                                                                                     25/29
  Installing     : libquicktime                                                                                               26/29
  Installing     : mjpegtools                                                                                                 27/29
  Installing     : ffmpeg-libpostproc                                                                                         28/29
  Installing     : gstreamer-plugins-bad                                                                                      29/29

Installed:
  gstreamer-plugins-bad.i386 0:0.10.8-4.el5.rf                                                                                     

Dependency Installed:
  SDL_gfx.i386 0:2.0.21-1.el5.rf            a52dec.i386 0:0.7.4-8.el5.rf               amrwb.i386 0:7.0.0.3-1.el5.rf              
  compat-libstdc++-296.i386 0:2.96-138      cppunit.i386 0:1.12.0-3.el5.rf             dirac.i386 0:1.0.2-1.el5.rf                
  directfb.i386 0:1.2.4-1.el5.rf            divx4linux.i386 0:5.0.5-0.el5.rf           faac.i386 0:1.26-1.el5.rf                  
  faad2.i386 0:2.7-1.el5.rf                 ffmpeg.i386 0:0.5.2-2.el5.rf               ffmpeg-libpostproc.i386 0:0.5.2-2.el5.rf   
  gsm.i386 0:1.0.13-1.el5.rf                imlib2.i386 0:1.4.4-1.el5.rf               lame.i386 0:3.98.2-1.el5.rf                
  libcdaudio.i386 0:0.99.12p2-12.el5.rf     libdca.i386 0:0.0.5-1.el5.rf               libid3tag.i386 0:0.15.1b-3.el5.rf          
  libmms.i386 0:0.3-1.el5.rf                libmpcdec.i386 0:1.2.6-1.el5.rf            libquicktime.i386 0:1.1.4-1.el5.rf         
  libsndfile.i386 0:1.0.17-1.el5.rf         mjpegtools.i386 0:1.9.0-0.6.rc2.el5.rf     opencore-amr.i386 0:0.1.2-1.el5.rf         
  soundtouch.i386 0:1.3.1-1.el5.rf          tslib.i386 0:1.0-1.el5.rf                  x264.i386 0:0.0.0-0.4.20090708.el5.rf      
  xvidcore.i386 0:1.2.2-1.el5.rf          

Complete!


이렇게 하니깐....
모조리 깔리는거다...

[root@localhost jsmall]# yum -y install gstreamer-plugins-bad
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: data.nicehosting.co.kr
 * base: data.nicehosting.co.kr
 * extras: data.nicehosting.co.kr
 * rpmforge: fr2.rpmfind.net
 * updates: data.nicehosting.co.kr
Setting up Install Process
Package gstreamer-plugins-bad-0.10.8-4.el5.rf.i386 already installed and latest version
Nothing to do

아까 그게 다 깔아주는건가부다 ㅡㅡ;;

반응형