VLC Installation guide written by a newbie for a newbie

How to Guides for Linux, Linpus etc..

Moderator: Davidcowling

VLC Installation guide written by a newbie for a newbie

Postby patrickscott » Sat Dec 27, 2008 3:23 pm

I've attempted to collect in one place all the VLC installation steps found in various posting on various website.

By the way, it makes it much easier if you think of this activity as a fun activity... and if you are not in a hurry. I've had to install VLC several times. Most of my installation problems were due to rushing through the installation.

Installation notes:

Everything is done in the terminal.

Alt + F2

check run in terminal

click on run

Until I discovered the above commands, I used to open up my terminal from the Advanced Menu by right clicking on the desktop and selecting Terminal. (To enable the advanced menu see http://www.reghardware.co.uk/2008/09/05 ... page2.html --Note I have not tested the other tips shown, I have only tested the enabling of Advanced Menu.)

A) Once you have your terminal opened up, go to

http://macles.blogspot.com/2008/11/inst ... linux.html
(if you want to see where I found the code)

B) Copy and Paste these commands into the terminal:

1)

sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

then press the enter key and wait until loading is finished. (NOTE: I messed it up once by typing in the terminal before the code was loaded/processed). Wait until you see the the user prompt again.

NOTE: The code has finished running when you see the following:


[user@localhost ~]$

2)

sudo rpm -Uvh http://rpms.kwizart.net/kwizart-release-8.rpm

then press the enter key and wait until loading is finished

3)

sudo yum install --enablerepo=kwizart-testing vlc vlc-core mozilla-vlc

then press the enter key and wait until loading is finished (This one takes some time.) Do not press any key until all the code is loaded.

You will see the following error message:

Error: Missing Dependency: libpulse.so.0(PULSE_0) is needed by package vlc
Error: Missing Dependency: libdc1394.so.22 is needed by package ffmpeg-libs
Error: Missing Dependency: libdvdnav.so.4 is needed by package vlc-core



C) At this point, go to:

http://macles.blogspot.com/2008/09/upda ... ories.html
(if you want to see where I found the code)

and copy and paste the following command into the terminal to download the missing dependency files:

1)

sudo yum install fedora-release

then press the enter key and wait until loading is finished --this loading/processing of code takes even longer!

2)

You will then be prompted several times to select y/N. Type y and press the enter key

When you see Complete! you are almost done.

D)

Then go to
http://macles.blogspot.com/2008/11/inst ... linux.html
(if you want to see where I found the code)

and copy and run the following code:

sudo sed s/%U// -i /usr/share/applications/livna-vlc.desktop
dca add 12 "file='/usr/share/applications/livna-vlc.desktop'"


E)

Then in your terminal enter

sudo su

(this may require a password)
This gives you the ability to process the install vlc command

you should now see

[user@localhost ~]$ sudo su
[root@localhost user]#



type your command:

yum install vlc

this will install 35 packages & other stuff.

Reboot your computer. You should now see the vlc icon.





Have fun installing VLC! :D

P.S. I was not able to uninstall Media Master -- even when running the code shown in other postings. As suggested in another post, I just moved the icon out of the way by dragging the icons I wanted to see if front of the Media Master icon.

Have a great Linux 2009!
Last edited by patrickscott on Sun Jan 04, 2009 2:57 pm, edited 8 times in total.
patrickscott
 
Posts: 13
Joined: Sat Nov 29, 2008 8:46 pm

Re: VLC Installation guide from a newbie for a newbie

Postby treker » Sat Dec 27, 2008 7:58 pm

Got VLC installed and it plays fine from the advanced mode menu. But I wanted to add it to my desktop. Following the add desktop icon instructions, on the second command I get "bash: dca: command not found". Both commands were copied and pasted exactly as posted. What am I doing wrong?

Help.
treker
 
Posts: 49
Joined: Thu Nov 27, 2008 4:19 am

Re: VLC Installation guide from a newbie for a newbie

Postby noobeeJF » Sat Dec 27, 2008 8:59 pm

Treker, without wanting to muddy waters too much, as patrickscot did a pretty fine job in collating the various bits and bobs required to install Vlc, i prefer this metod for installing icon on desktop (last section 'D'):

open terminal and type following:
Code: Select all
sudo mousepad /home/user/.config/xfce4/desktop/group-app.xml

and click enter

the box that appears will have a red warning bar at top, reminding you that you are editing code that can cause major problems if mucked around with... i would recomend ctl+a and copy and paste into a txt editor for safe keepings

if you scroll down to the yellow 'fun' section,approximately 3/4 way down, not first bit, you will see lines of code with various entries for you icons in the Fun menu list, the numbers indicating their position, copy the following into a space

Code: Select all
<app sequence="5">/usr/share/applications/livna-vlc.desktop</app>

the number (in my case '5') needs to be changed if you have more applications... just check the numbers, and use whatever next highest up is.
go to the menu at top of the code editor and click on save
reboot and icon should now be in fun menu... clcik and drag to a more prominent position as you wish, if icon is not there, just repeat above steps and change the location number, it took me a few goes for some reason, but all ok now.

as a relative Linux noobie up until i bought the Acer, the instalation of Vlc has been a nice little challenge/project to get your teeth into the installing and adding desktop icons for me, took a few goes to get the number right, but got there in end. :mrgreen:
noobeeJF
 
Posts: 35
Joined: Sun Dec 14, 2008 8:04 pm
Location: Liverpool UK

Re: VLC Installation guide from a newbie for a newbie

Postby carygrant123 » Sat Dec 27, 2008 9:54 pm

followed all the instructions listed by patrickscott - all worked according to plan - but what do I do now? How to I find the application on linux desktop - or where it has put the software to run it? Am utter and complete novice to linux and need very basic guides (this one was great and I thought I had cracked it!!!) Please advise as to what I need to do now - thank you
carygrant123
 
Posts: 10
Joined: Wed Nov 19, 2008 9:58 pm

Re: VLC Installation guide from a newbie for a newbie

Postby noobeeJF » Sat Dec 27, 2008 11:08 pm

might sound daft, cos i forgot to do it once or twice, but have you remembered to re-boot? :roll:
the icon/s wont show up until a re-boot.... failing that, try altering the location numbers... i did "8" at first, to be sure it didnt clash, but that didnt work, but "7" did.. weird... but all works fine now :mrgreen:
noobeeJF
 
Posts: 35
Joined: Sun Dec 14, 2008 8:04 pm
Location: Liverpool UK

Re: REVISED - VLC Installation guide from a newbie for a newbie

Postby patrickscott » Sun Dec 28, 2008 4:47 am

Sorry! In my instructions, I forgot the last step: :oops:

Then in your terminal enter
sudo su
(this may require a password)
This gives you the ability to process the install vlc command

you should now see

[user@localhost ~]$ sudo su
[root@localhost user]#

type your command:

yum install vlc

this will install 35 packages & other stuff.

Reboot your computer. You should now see the vlc icon.


I have revised the original instructions.
patrickscott
 
Posts: 13
Joined: Sat Nov 29, 2008 8:46 pm

Re: REVISED - VLC Installation guide from a newbie for a newbie

Postby maverick55 » Sun Dec 28, 2008 3:11 pm

Thankyou Thankyou Thankyou

I read a few guides but it just wasn't basic enough for me to understand. i'm now fully installed and running, once again thankyou.
maverick55
 
Posts: 5
Joined: Wed Dec 24, 2008 12:03 pm

Re: REVISED - VLC Installation guide from a newbie for a newbie

Postby patrickscott » Sun Dec 28, 2008 3:23 pm

Maveric55, glad I could help. Since I had a hard time following the various VLC instructions, when I finally installed it, I decided to write a guide.

For those of you thinking of writing guides, we newbies need detailed, step by step guides.

Have a great, linux filled 2009.
patrickscott
 
Posts: 13
Joined: Sat Nov 29, 2008 8:46 pm

Re: REVISED - VLC Installation guide from a newbie for a newbie

Postby TTgowings » Sun Dec 28, 2008 6:04 pm

Arg, I seem to be having dependency/repository issues, I had 0.8.6i and when I updated my VLC with the "official" patch it would no longer show video, only audio, so I un-installed the patch and now it won't run at all.

So I tried Macles and this set of instructions and it keeps erroring out with : sudo rpm -Uvh http://rpms.kwizart.net/kwizart-release-8.rpm
Retrieving http://rpms.kwizart.net/kwizart-release-8.rpm
error: skipping http://rpms.kwizart.net/kwizart-release-8.rpm - transfer failed - Unknown or unexpected error

and when I tried to run this: sudo yum install --enablerepo=kwizart-testing vlc vlc-core mozilla-vlc
Error getting repository data for kwizart-testing, repository not found

So what are my options at this point ? Does anyone have the download location for the older version, the one I did have to reinstall it that way ? Also is there someway of completely removing VLC to get a fresh start ? TIA

Edit: I was able to go back a version with the help of Macles in his comments
part of his VLC post. And if all else failed I did do a backup before I tried to upgrade my VLC, just glad I didn't have to use it.
User avatar
TTgowings
 
Posts: 54
Joined: Tue Aug 26, 2008 3:07 pm
Location: Rockford, MI

Re: REVISED - VLC Installation guide from a newbie for a newbie

Postby carygrant123 » Mon Dec 29, 2008 9:52 pm

Brilliant! Thank you to PatrickScott - your guide worked and and your last input solved my problem! Although I now have 2 vlc icons installed on my desktop! LOL - is this a problem or can I leave them both there? Any other downloads or advice in this step by step format all gratefully appreciated - thank you!!!!!!!!! :D :D :D
carygrant123
 
Posts: 10
Joined: Wed Nov 19, 2008 9:58 pm

Next

Return to How to Guides - Linux

Who is online

Users browsing this forum: No registered users and 1 guest