Monday, August 19

How to install vlc on Redhat and centos 5&6 root user




Steps:
1) You have to be root to execute this script.

2) Download RPM ( Auto VLC Redhat Centos6) which I have specially created for VLC Installation Script , You can use RPMs for CentOS 6 too.Click on Following link to Download RPM for Your Architecture :-

32 bit Users click on this link :- http://www.ask4itsolutions.com/RPMs/avrc6-tejas-barot-linux-0.1.0-1.el6.i386.rpm
64 bit Users click on this link :- http://www.ask4itsolutions.com/RPMs/avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm
3) Execute Following Commands as per your Respective architecture :-
For 32 Bit Architecture :-
# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.i386.rpm
For 64(X86_64) bit Architecture :-
# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm

4) Download VLC Installation Script for RHEL6 and CentOS 6 , Click this link :-http://www.ask4itsolutions.com/RPMs/Scripts/vlc6-installation.sh
5) Execute following Command where you have downloaded the script.
[root@ask4itsolutions ~]# chmod +x vlc6-installation.sh

6). Now Execute your script by two ways mentioned below
[root@ask4itsolutions ~]# sh vlc6-installation.sh
OR
[root@ask4itsolutions ~]# ./vlc6-installation.sh

7) Once you Execute it will ask you 4 Options to Install as per your OS and Architecture and 5th Option for Exit Select Option as per your OS and Architecture,
Press (R32) to Install VLC on RHEL 6.x on 32bit
Press (R64) to Install VLC on RHEL 6.x on 64bit
Press (C32) to Install VLC on CentOS 6.x on 32bit
Press (C64) to Install VLC on CentOS 6.x on 64bit
Press (E) to Exit anytime
Please Enter your Selection:


(Note : Error In Above Option Edit  /etc/redhat-release  file change  CentOS release 6.4 (Final)    to   only    6.x   ) 

8) Remember you have to be normal user to run VLC Player, You cannot Run VLC Player as root.


If Run Root User Execute Below Script

open below configuration file and change
#vi /usr/bin/vlc 

search for geteuid and replace it with getppid

Save file & Exit.

Then Vlc is run in root user......enjoyyyyyyyyyyyyyyy..........

                       


                         #############    END     ########################

No comments:

Post a Comment

:: Linux - Legends ::