본문 바로가기

OS

Linux - VLC 설치

VLC Compile Manual
 
환경 : Fedora 13
VLC version : 1.1.12
설치한 패키지 : gcc, gcc-c++
 
1.       VLC 필요 라이브러리 다운로드
$ su
$ yum-builddep vlc
2.       VLC 소스코드 다운로드 & 압축해제
http://www.videolan.org/ 에서 VLC ? Download 하단에 source code 다운로드.
- 홈페이지에 tar.xz 라고 써있는데 다운 받았을 때 파일 확장자가 tar.tar 이면 tar.xz 로 변경
$ tar ?xvf vlc-1.1.12.tar.xz
3.       live555 설치
$ tar zxvf live555-latest.tar.gz
$ cd live
$ genMakefiles linux
$ make
$ cp ?r live /usr/local/lib
 
4.       bootstrap
$ cd vlc-1.1.12
$ ./bootstrap
5.       configure
 - ./configure --prefix=/usr --enable-x11 --enable-xvideo --disable-gtk --enable-sdl --enable-avcodec --enable-avformat --enable-swscale --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-live555 --enable-caca --enable-skins --enable-skins2 --enable-alsa --disable-kde --enable-qt4 --enable-ncurses --enable-release
6.       make & make install
$ make
$ su
$ make install





VLC Compile Manual
 
환경 : centOS 5
VLC Version : 1.1.12 
1. 인터넷에서 atrpms-repo 다운 (구글 검색하면 많은 사이트에서 배포)
atrpms-repo-5-4.el5.i386.rpm
2. gpg-key 추가
3. yum clean all
4. yum install vlc
 [root@kbell-jwy tmp]# yum install vlc
 다음과 같은 의존성 에러 발생

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: centos.tt.co.kr
 * extras: centos.tt.co.kr
 * rpmforge: fr2.rpmfind.net
 * updates: centos.tt.co.kr
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vlc.i386 0:1.1.12-73.el5 set to be updated
--> Processing Dependency: libxcb-xv.so.0 for package: vlc
--> Processing Dependency: libvcdinfo.so.0(VCDINFO_0) for package: vlc
<중략>
--> Processing Dependency: libxcb-keysyms.so.0 for package: vlc
--> Finished Dependency Resolution
vlc-1.1.12-73.el5.i386 from atrpms has depsolving problems
  --> Missing Dependency: libFLAC.so.8 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
libcddb-1.3.1-1.el5.rf.i386 from installed has depsolving problems
  --> Missing Dependency: libcdio.so.7(CDIO_7) is needed by package libcddb-1.3.1-1.el5.rf.i386 (installed)
vlc-1.1.12-73.el5.i386 from atrpms has depsolving problems
  --> Missing Dependency: libxcb-xv.so.0 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
vlc-1.1.12-73.el5.i386 from atrpms has depsolving problems
  --> Missing Dependency: libxcb-shm.so.0 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
vlc-1.1.12-73.el5.i386 from atrpms has depsolving problems
  --> Missing Dependency: libxcb-keysyms.so.0 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
vlc-1.1.12-73.el5.i386 from atrpms has depsolving problems
  --> Missing Dependency: libX11-xcb.so.1 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
libcddb-1.3.1-1.el5.rf.i386 from installed has depsolving problems
  --> Missing Dependency: libcdio.so.7 is needed by package libcddb-1.3.1-1.el5.rf.i386 (installed)
vlc-1.1.12-73.el5.i386 from atrpms has depsolving problems
  --> Missing Dependency: libxcb.so.1 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
Error: Missing Dependency: libcdio.so.7 is needed by package libcddb-1.3.1-1.el5.rf.i386 (installed)
Error: Missing Dependency: libFLAC.so.8 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
Error: Missing Dependency: libxcb-keysyms.so.0 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
Error: Missing Dependency: libxcb-xv.so.0 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
Error: Missing Dependency: libcdio.so.7(CDIO_7) is needed by package libcddb-1.3.1-1.el5.rf.i386 (installed)
Error: Missing Dependency: libxcb.so.1 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
Error: Missing Dependency: libX11-xcb.so.1 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
Error: Missing Dependency: libxcb-shm.so.0 is needed by package vlc-1.1.12-73.el5.i386 (atrpms)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

위에 색칠한 부분을 구글 검색하여 패키지 다운 후 설치
설치해도 에러가 발생하는 부분은 해당 패키지를 검색하여 삭제 (필자는 libcddb 패키지가 계속 에러 발생하여 삭제.)
다시 yum install vlc 하면 vlc 설치 완료
5. 라이브러리를 위해 vlc -devel 설치
$ yum install vlc-devel


'OS' 카테고리의 다른 글

Linux - 호스트네임 바로 적용  (0) 2016.08.31
HP - nettl 명령  (0) 2016.08.31
Windows - 윈도우xp 복구  (0) 2016.08.31
Solaris - 호스트네임 변경  (0) 2016.08.31
Solaris - 게이트웨이 변경  (0) 2016.08.31