PDA

View Full Version : [lubuntu] 10.10 and New VLC 2.0



I2k4
February 19th, 2012, 04:58 PM
Having recently dual booted Lubuntu 10.10, I installed VLC Player (my go to player) version 1.1.4 from the Package Manager. I'm puzzled about whether / when the new VLC 2.0 can be installed on this version - this page gives me the idea that the answer is never:

http://www.videolan.org/vlc/download-ubuntu.html

Is that the case, that VLC versions are "frozen" to the version of Ubuntu and no upgrades are possible? If so, I'd hope something can be done about that. I'll be trying out the new VLC 2.0 in my six year old install of XP, but not my six months old install of Ubuntu (?)

wildmanne39
February 19th, 2012, 05:17 PM
Hi all you do is follow directions given in that link you posted for installing vlc for 11.10 and you should not have any problems.

What it means on that page after ubuntu is released every six months there are no updates for third party software like vlc so you have to download it from a third party like this website if you want to upgrade but unless you are having trouble with vlc it is best to keep the one you have for security purposes.

12.04 will be out in April and it should have the new vlc if it is stable.
Thanks

monkeypigs
February 19th, 2012, 07:20 PM
Hi all you do is follow directions given in that link you posted for installing vlc for 11.10 and you should not have any problems.


No, all that does is install the old version of VLC, it doesn't install VLC 2 (even on 11.04)

Also tried apt-get upgrade VLC to no avail.

Any other ideas?

wildmanne39
February 19th, 2012, 07:36 PM
Hi, did you follow the directions and make sure there is a check by universal and multiunverse repositories? then use the command line code.

The link you give is a little strange there should be a PPA for you to install first, I looked for another source for vlc but did not find it, you can use google and see what you find.

I am on a old laptop right now that does not have 11.10 on it so I can not test vls.

I cracked my knee cap two days ago so I am not able to get out of bed to my desktop that has 11.10 and all my files are on it.
thanks

monkeypigs
February 19th, 2012, 07:54 PM
Ouch! But yes, we have universe and multiverse enabled.

wildmanne39
February 19th, 2012, 08:06 PM
Hi, I have done more research and it looks like it is only available for windows in 2.0, which is very odd.

monkeypigs
February 19th, 2012, 08:30 PM
Hi, I have done more research and it looks like it is only available for windows in 2.0, which is very odd.

"Ask your favourite packager for VLC 2" makes it sound like you can apt-get it, rather than having to go get someone to build it for you and port it!

Have purged and autoremoved VLC, so it certainly isn't coming via apt just yet! Grrrr!

I2k4
February 19th, 2012, 08:40 PM
Thanks for efforts - keeping an eye on this thread. It seems to be working well in Windows.

wildmanne39
February 19th, 2012, 08:49 PM
Hi, that is good, sorry I did not find a source to install it in ubuntu.

I guess you do not want to upgrade to get the latest version ubuntu 11.10 has?

Leppie
February 19th, 2012, 08:57 PM
Why don't you compile it yourself?
The source is here: http://download.videolan.org/pub/videolan/vlc/2.0.0/vlc-2.0.0.tar.xz
If you install checkinstall, you will get a nice .deb package as well which you can re-use should that be required.

monkeypigs
February 19th, 2012, 09:21 PM
I always have problems compiling myself.

Have been pointed in the direction of http://www.glatelier.org/2012/01/tip-instalar-vlc-1-1-0-desde-repositorios-ppa-ubuntu/

but get lots of unmet dependencies



The following packages have unmet dependencies.
vlc : Depends: vlc-nox (= 2.0.0+git20120219+r93-0~r29~precise1) but 1.1.12-1~getdeb1 is to be installed
Depends: libavcodec53 (>= 4:0.8-1~) but it is not installable or
libavcodec-extra-53 (>= 4:0.8-1~) but it is not installable
Depends: libavutil51 (>= 4:0.8-1~) but it is not installable or
libavutil-extra-51 (>= 4:0.8-1~) but it is not installable
Depends: libc6 (>= 2.15) but 2.13-0ubuntu13 is to be installed
Depends: libqtcore4 (>= 4:4.8.0) but 4:4.7.2-0ubuntu6.3 is to be installed
Depends: libstdc++6 (>= 4.6) but 4.5.2-8ubuntu4 is to be installed
Depends: libtar0 but it is not installable
Depends: libva-x11-1 (> 1.0.15~) but 1.0.8-3 is to be installed
Depends: libva1 (> 1.0.15~) but 1.0.8-3 is to be installed
Depends: libvlccore5 (>= 2.0.0) but it is not going to be installed
Depends: libxcb-keysyms1 (>= 0.3.https://s-static.ak.facebook.com/images/blank.gif but 0.3.6-1build1 is to be installed
Recommends: vlc-plugin-notify (= 2.0.0+git20120219+r93-0~r29~precise1) but 1.1.12-1~getdeb1 is to be installed
Recommends: vlc-plugin-pulse (= 2.0.0+git20120219+r93-0~r29~precise1) but 1.1.12-1~getdeb1 is to be installed

Leppie
February 19th, 2012, 09:37 PM
Which of the two methods did you use?

foureight84
February 20th, 2012, 11:30 PM
have you tried running build-dep be for compiling your vlc source?


sudo apt-get build-dep vlc

should usually solve your problem. remember which other package it tells you you're missing, do a apt-cache search for the package and install the <name>-dev package

I2k4
February 21st, 2012, 05:48 PM
I guess you do not want to upgrade to get the latest version ubuntu 11.10 has?

I tested Lubuntu 11.10 versus 10.10 on my netbook and found it noticeably slower. I'm running VLC 2.0 on Windows and will see if it improves on anything I use, but it's too much work to change the OS for a VLC update.

I'm puzzled about why the VLC version is "frozen" for each version of Ubuntu, and concerned that trying to install an updated VLC into 10.10 would break something. I might fool around with it on a Live USB but not my dual boot, where I've invested set up time and effort.

afzalnaj
February 22nd, 2012, 07:17 AM
I can confirm that it doesn't break anything. I have compiled using build-dep and it works fine.

xumuk37
February 22nd, 2012, 07:26 AM
vlc 2.0 will be available on 12.04 for sure

mastablasta
February 22nd, 2012, 07:50 AM
i think there is a PPA you can use however it needs some additional libraries if i am not mistaking.

afzalnaj
February 22nd, 2012, 11:39 AM
Whatever the ppa method is, I went down that road (with an Elementary OS Jupiter, based on Maverick, setup). It is not nice.

After manually getting dependencies from oneiric packages and natty packages and whatnot, I hit a dead end with some broken packages.

I had compiled it before so I went down that road but using checkinstall instead of just compiling and running from the temp binaries.

Try this deb that I compiled, it's only for 64-bit though. You will have to remove the existing vlc packages (usually just removing vlc-nox and vlc-data will do the trick if using aptitude)

bluray and some other things won't work since I didn't have libbluray when I compiled this but it works on my computer.

http://www.mediafire.com/?na2urk12goxuu2d

You'll have to run these commands after installing:

sudo ln -s /usr/local/lib/libvlc* /usr/lib/
sudo ln -s /usr/local/lib/libx264.a /usr/lib/
sudo ln -s /usr/local/lib/vlc /usr/lib/vlc

Commands taken from this post: http://ubuntuforums.org/showpost.php?p=9734381&postcount=11

Let everyone know if the deb above works for you so they can also use it.

Cheers!

Paper Bag
February 22nd, 2012, 01:33 PM
^ Works (10.10 64)... as in no issues during install, but mkv playback:

mkv demux error: cannot find KaxSegment or missing mandatory KaxInfoWhat to do?

afzalnaj
February 23rd, 2012, 07:04 AM
^ Works (10.10 64)... as in no issues during install, but mkv playback:
What to do?
confirmed. I have no idea which library to have to fix this because I already have libmatroska-dev and libebml-dev.

ottabaub
February 24th, 2012, 01:34 AM
I've been trying to install VLC 2.0 on 10.10 since yesterday with no luck. I've found a couple of sites that claim their procedure works but they don't. I always end up with version 1.1.4. Sucks.

Anyway, the following link from How-To Geeks came my way today and might help with unresolved dependancies...
http://www.howtogeek.com/106526/how-to-resolve-dependencies-while-compiling-software-on-ubuntu/?utm_source=newsletter&utm_medium=email&utm_campaign=230212

afzalnaj
February 24th, 2012, 01:38 AM
For the latest dev build for maverick:
https://launchpad.net/~videolan/+archive/master-daily

That's the only ppa i've been able to find for vlc 2.0+ for maverick.

But it crashes.


I'm compiling it again, with configure options from https://launchpadlibrarian.net/93594401/buildlog_ubuntu-precise-amd64.vlc_2.1.0~~git20120221%2Br1232-0~r69~precise1_BUILDING.txt.gz

edit: Nope, that build didn't work either >_<

BBQdave
February 24th, 2012, 05:27 AM
http://packages.debian.org/unstable/video/vlc

You can download VLC 2 (.deb) at the bottom of the page.

Synaptic Package Manager is helpful in managing .deb packages too :D

ottabaub
February 24th, 2012, 08:57 PM
Thanks to afzalnaj I was finally able to get 2.0 installed on my system. I haven't used it yet but I will later. Hopefully everything will work okay. Apparently the newest version is now 2.1. Here are the steps I followed:

As he suggested, I fetched the ppa at:
https://launchpad.net/~videolan/+archive/master-daily

I removed the older version:
sudo apt-get remove vlc
sudo apt-get autoremove

Then:
sudo apt-cache showpkg vlc

However afzalnaj's next command aptitude install vlc=2.0.0-1 didn't work so I trimmed it down to...

sudo aptitude install vlc

And that seems to have done the trick.

andrew.46
February 24th, 2012, 09:50 PM
Thanks to afzalnaj I was finally able to get 2.0 installed on my system. I haven't used it yet but I will later. Hopefully everything will work okay. Apparently the newest version is now 2.1. Here are the steps I followed:

As he suggested, I fetched the ppa at:
https://launchpad.net/~videolan/+archive/master-daily


Hmmm.... this looks like a PPA that tracks the development version rather than the release versions?

Paper Bag
February 24th, 2012, 10:10 PM
confirmed. I have no idea which library to have to fix this because I already have libmatroska-dev and libebml-dev.
http://forum.videolan.org/viewtopic.php?f=13&t=98175

There's a solution (I hope).

afzalnaj
February 25th, 2012, 05:48 AM
Thanks to afzalnaj I was finally able to get 2.0 installed on my system. I haven't used it yet but I will later. Hopefully everything will work okay. Apparently the newest version is now 2.1. Here are the steps I followed:

As he suggested, I fetched the ppa at:
https://launchpad.net/~videolan/+archive/master-daily

I removed the older version:
sudo apt-get remove vlc
sudo apt-get autoremove

Then:
sudo apt-cache showpkg vlc

However afzalnaj's next command aptitude install vlc=2.0.0-1 didn't work so I trimmed it down to...

sudo aptitude install vlc

And that seems to have done the trick.

Oh...I thought I'd removed that part from my post, that ppa doesn't have v2.0.0.


http://forum.videolan.org/viewtopic.php?f=13&t=98175

There's a solution (I hope).
Sure enough, that solved it. :D

Compiled using the flags from the launchpadlibrarian link in the post above. I didn't have libmtp 1.0.0 and I think I faced some issues trying to install it over libmtp8 (which is the latest we have for maverick), so there's no mtp support

http://www.mediafire.com/?z8ho7a4sc8znofc

deb built with checkinstall, I know it's not the ideal for distribution so beware.

andrew.46
February 25th, 2012, 06:21 AM
Interesting! I have made the small change into a diff which might help others.

ottabaub
February 25th, 2012, 05:29 PM
Interesting! I have made the small change into a diff which might help others.

What's a diff and what does it do?

andrew.46
February 25th, 2012, 09:56 PM
What's a diff and what does it do?

'diff' is a command that compares 2 files or sets of files. In this case I have placed clean copies of the vlc 2.0.0 source in a directory called 'a' and a directory called 'b'. After making the small change to the code discussed here in the 'b' source the following command created the diff I have posted:



diff -Naur a b > mkv_fix.diff


To make the Forum software happy this diff had to then be compressed:



gzip mkv_fix.diff


This diff can now be quite easily applied to the vlc source code using the patch command rather than digging through the source code by hand. For example you could place the file mkv_fix.diff.gz in the same directory as the decompressed vlc source, change directory to the vlc source and use the diff as follows:



andrew@skamandros~/source/vlc_build/vlc/vlc-2.0.0$ zcat ../mkv_fix.diff.gz | patch -p1 --verbose
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|# ------------------------------------------------------------------ #
|# Fix for badly performing mkv files on vlc 2.0.0 and Ubuntu 10.10 #
|# http://forum.videolan.org/viewtopic.php?f=13&t=98175 #
|# ------------------------------------------------------------------ #
|diff -Naur a/modules/demux/mkv/mkv.hpp b/modules/demux/mkv/mkv.hpp
|--- a/modules/demux/mkv/mkv.hpp 2011-12-09 05:00:26.000000000 +1100
|+++ b/modules/demux/mkv/mkv.hpp 2012-02-25 16:00:19.526553429 +1100
--------------------------
Patching file modules/demux/mkv/mkv.hpp using Plan A...
Hunk #1 succeeded at 115.
done
andrew@skamandros~/source/vlc_build/vlc/vlc-2.0.0$


This is not quite the standard use of patch but it works well enough used this way. Hope this makes things a little clearer?

ottabaub
February 25th, 2012, 11:03 PM
I see. Thank you, andrew.46, for taking the time to explain this. I haven't had much experience compiling from source code and, although I've used Meld Diff Viewer, it was a couple of years ago and I didn't catch on.

andrew.46
February 25th, 2012, 11:17 PM
I see. Thank you, andrew.46, for taking the time to explain this. I haven't had much experience compiling from source code and, although I've used Meld Diff Viewer, it was a couple of years ago and I didn't catch on.

No problem :). In Ubuntu patching and compiling is for the most part not necessary but it remains a handy skill to have and certainly a mandatory one for certain other distros.

Powergate92
February 29th, 2012, 04:43 AM
Sure enough, that solved it. :D

Compiled using the flags from the launchpadlibrarian link in the post above. I didn't have libmtp 1.0.0 and I think I faced some issues trying to install it over libmtp8 (which is the latest we have for maverick), so there's no mtp support

http://www.mediafire.com/?z8ho7a4sc8znofc

deb built with checkinstall, I know it's not the ideal for distribution so beware.
Tried to install using that file in Ubuntu Software Center and got this message "The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath."

E: vlc: maintainer-name-missing root@MeanMech
E: vlc: maintainer-address-malformed root@MeanMech

Paper Bag
March 3rd, 2012, 11:45 AM
That's just the Software Center, afaik. Try with good old GDebi or the terminal way.

A4orce84
March 5th, 2012, 02:13 AM
Is there an official PPA channel or anything to install this yet...without having to compile it manually?

youngunix
March 5th, 2012, 02:39 AM
How about this --->http://www.webupd8.org/2012/02/install-vlc-20-in-ubuntu-1110-oneiric.html<---

ottabaub
March 5th, 2012, 04:09 AM
How about this --->http://www.webupd8.org/2012/02/install-vlc-20-in-ubuntu-1110-oneiric.html<---

Dude you're off topic. The subject is 10.10 and New VLC2.0. Your link is for installing VLC 2 on Ubuntu 11.10. And that subject has been dealt with on several sites already.

youngunix
March 5th, 2012, 04:31 AM
Dude you're off topic. The subject is 10.10 and New VLC2.0. Your link is for installing VLC 2 on Ubuntu 11.10. And that subject has been dealt with on several sites already.

First, whomever is using 10.10 needs to upgrade, soon it'll not be supported (April 2012).
Second, the same procedure should work on 10.10. IF NOT; upgrade the distro and try it.

ottabaub
March 5th, 2012, 04:46 AM
First, whomever is using 10.10 needs to upgrade, soon it'll not be supported (April 2012).
Second, the same procedure should work on 10.10. IF NOT; upgrade the distro and try it.

I'd love to upgrade and I would if Cannonical would have given me the option to NOT install it with Trinity (or whatever that GUI abortion is called). I did come across an article recently that will allow me to turf Trinity and install Gnome 2 or 3, I can't recall which. If that doesn't work I will probably dump Ubuntu for a distro with a more conventional GUI. I used the Netbook Remix version of 10.04 for almost a year and didn't like it. I missed a conventional interface. I was considering switching to Kubuntu until I read that Cannonical have closed the door on it too. I also have a desktop computer that wouldn't even install Trinity when I put 11.04 on it and it (thankfully) forced me to use Gnome 2. I am curious as to what would happen if I tried installing 11.10 on it since Gnome 2 isn't supported.

I'm afraid Cannonical is turning into the Microsoft of the Linux world making you have to upgrade your hardware in order to run their distros. That's not what I want from a Linux OS.

Paper Bag
March 5th, 2012, 08:09 AM
Trinity (or whatever that GUI abortion is called)
Unity.

This thread is probably not the place to rant about it, but exactly same reason here why I have not yet upgraded or swapped to some other Ubuntu-based distro. Almost everything I need works fine, but more and more softwares are obviously requiring 11.xx/12.xx packages, so the end is coming to 10.10.

ottabaub
March 5th, 2012, 03:45 PM
Unity.

This thread is probably not the place to rant about it, but exactly same reason here why I have not yet upgraded or swapped to some other Ubuntu-based distro. Almost everything I need works fine, but more and more softwares are obviously requiring 11.xx/12.xx packages, so the end is coming to 10.10.

Understood. And this is also off-topic.

A4orce84
March 5th, 2012, 03:46 PM
Same here....so anyone get VLC 2.0 working automagically on our favourite version ? =)

ottabaub
March 5th, 2012, 04:02 PM
Same here....so anyone get VLC 2.0 working automagically on our favourite version ? =)

You can refer to my steps in post #24 (I think it was 24). However, it appears I installed the development version which is 2.1. I'm not big on beta software but I didn't know what I was doing. :confused:

Bottom line: I've been using it since without a snag so I'm quite happy with it whatever it is. :D

Paper Bag
March 5th, 2012, 10:46 PM
Same here....so anyone get VLC 2.0 working automagically on our favourite version ? =)
Not sure what you mean by automatically, but:

http://ubuntuforums.org/showpost.php?p=11708432&postcount=18 (except that get this one: http://www.mediafire.com/?z8ho7a4sc8znofc from post #27)

A4orce84
March 6th, 2012, 04:15 AM
I don't have a 64 bit install, is there a 32bit (x86) install?

A4orce84
April 7th, 2012, 07:25 PM
Anyone ever get this to work easily in Ubuntu 10.10?

mörgæs
April 7th, 2012, 07:35 PM
10.10 is running out of support within a month. Better to go for a fresh install of 11.10.

I2k4
April 7th, 2012, 09:07 PM
Like possibly some others, I installed lightweight 10.10 because it runs much better on my little netty (after substantial Live USB testing of alternatives.) I'll run 10.10 until the machine breaks. VLC is the first software I use, where I've been unable to find a way to get a ppa and run the most recent version, but so be it. Not sure if "solved" is right word, but I give up.

uRock
April 7th, 2012, 09:15 PM
I do not see this PPA listed in any post, so maybe trying this one will work,
sudo add-apt-repository ppa:n-muench/programs-ppathen
sudo apt-get update && sudo apt-get dist-upgrade

I2k4
April 8th, 2012, 04:38 PM
By coincidence I came across this today:

http://www.thepowerbase.com/2012/04/how-to-fix-broken-packages-in-ubuntu-or-debian/

" I had been running the latest VLC 2.0 in Kubuntu 11.10. I got this software from a PPA channel just so that I could try out the experimental Blu-Ray support. Little did I know (well, actually, I knew what I was getting into) I would break my package manager."

Have to be careful what one wishes for.

mörgæs
April 8th, 2012, 08:41 PM
Like possibly some others, I installed lightweight 10.10 because it runs much better on my little netty (after substantial Live USB testing of alternatives.)

You can't measure speed this way. A live boot is much slower than a real installation.


I'll run 10.10 until the machine breaks.

Are you aware that security bugs will not be fixed?

I2k4
April 9th, 2012, 02:19 PM
Thanks for concern - I compared Live USB installs with each other to guesstimate relative performance on the netbook hard drive, ranging from 10.04 through 11.10 on Ubuntu, Mint Lubuntu and Xubuntu before installing L10.10. I'm an end-user ordinary consumer type who is not willing to be repetitively installing and removing OSs from the HDD, since I've got limited tech skill and have invested much time and energy in getting W7 right as my main installation. Wiping my hard drive to reinstall after a mistake is several days useless work reconfiguring everything, kicking myself the whole time. I know many others don't mind it - it's a big world.

As to security, I'm a pretty tame user, and most all of my security and identity exposure is through browsers rather than the OS. I use several extensions to keep the browsers safe. For the few years the netbook will last, I'll stick with Lubuntu 10.10.