Saturday, January 15, 2011

How to install a Media Player on Fedora using a .exe setup file

From this post, I'll show you how to install VLC player on Fedora using a normal .exe setup file of the VLC player.

First we need to have 'wine' installed on our PC. In this demonstration I'll show you how to download it and install. To do that, we need the internet connection.
I have installed Fedora 12 as a virtual machine on VMWare workstation.


First I go to the settings of the virtual machine and double click on 'Ethernet'. Then I get the following window.
I have my router connected to the Ethernet port of my PC. So I select the option 'Bridged : Connected directly to the physical network' and tick 'Connect at power on'.
(If you use a dongle to connect to the internet, select 'NAT - Used to share the host's IP address' and activate the dongle from your main OS)
Then press 'OK'.

When I turn on the virtual machine, it still shows 'No Network Connection' on the top of the window. I click on the Network icon and select 'System eth0'. 
Then it will be automatically connected to the internet using the configurations of my router. 
Now it shows that the internet connection is available.

Now open the terminal. Now you are in the user mode account. To install the player, you need to login to the root.

Type 'su' and press 'Enter'. Then it will prompt to enter the root password. Type the root password correctly (the password will not appear when you type it) and press 'Enter'.
Then type 'yum install wine' and press 'Enter'.
Then it will load the plugins. 
Then it will show the download size and ask for confirmation.
Type 'y' and press 'Enter'.
Then it will download the packages. It will take several minutes to complete the downloading.

Then it will ask for permission to import GPG key. Type 'y' and press 'Enter'.
After sometime the installation will be complete.
Now go to 'Applications' -> 'Wine' -> 'Wine File'.
In the window, go to the location where you have the .exe setup file of VLC player and double click on it. (Without going to 'Wine File', you can also go to the location where you have the setup and run it.) Here I have the setup in my Pen Drive. 
Now the difficult part is over. Same as in windows, you can install your player. Given below are some screen shots. 


 Now I have successfully installed VLC Player on Fedora. 

P.S - You need to install 'Wine' only once on Fedora. After that you can install any media player using .exe setup same as on windows. If you have troubles in installing, please put a comment.

-Tharindu Edirisinghe-
-SLIIT 10'-

7 comments:

Pondicherry said...

Thanks it was very useful...
Is this work for all type of exe in fedora

Tharindu Edirisinghe said...

Most of the time it works.. give it a try :)

Unknown said...

what is pw for su

Unknown said...

what is pw for su

Tharindu Edirisinghe said...

the password for su (super user) is the root password you have given during the installation of the operating system (fedora).

android said...

i'm not getting video but vlc player installed...what to do?

android said...

please reply as soon as possible

Post a Comment