I was getting below errors.
[Error]:
- Cannot find a valid baseurl for repo: rpmfusion-free
- Cannot find a valid baseurl for repo: rpmfusion-nonfree
Learning through sharing
How to install VLC Media player in CentOS 6.x step by stepYou need to install listed four libraries before installing vlc in your local repository:


Type y and complete the installation. You will see below image after successful completion.

Step 3
Now install rpmfusion free by typing below command
# yum localinstall –nogpgcheck
http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm


Step 4
Now install rpmfusion nonfree library by using below command
# yum localinstall –nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm

Step 5
You may skip this step. But just to confirm that all above libraries went well and you are able to find vlc info from the repository. If yes, then proceed to install VLC else you have some issue.
# yum –enablerepo=remi-test info vlc

Step 6
Now you can install VLC easily. Just type the below command:
# yum –enablerepo=remi-test install vlc

