Linux Lite Forums

Software - Support => Installing Software => Topic started by: Monkeyman on July 05, 2016, 08:46:48 AM

Title: How to update VLC?
Post by: Monkeyman on July 05, 2016, 08:46:48 AM
I've installed the most recent LL updates but it didn't update VLC to the latest build (I'm still on 2.1.6 and I think 2.2.4 is out).  I have a few videos that have some issues playing and I need to update VLC to fix them.

How do I update VLC?
Title: Re: How to update VLC?
Post by: Wirezfree on July 05, 2016, 11:37:18 AM
Hi

VLC is part of the standard repository, which as you point out is 2.1.6
This is not controlled by LL, it's whatever Ubuntu decide to update to.

I have seen 2.2.4 for Windows, and Linux I think is still 2.2.2

What I'm not sure about is if you follow the many ways to get 2.2.2, like this one (http://www.ubuntumaniac.com/2016/02/vlc-222-is-released-installupdate-on.html)
Will it break the normal update method, or will you end up with 2 installs..??
Probably somebody will come along with a more definitive answer...

GL
Title: Re: How to update VLC?
Post by: Jerry on July 05, 2016, 01:59:11 PM
You greatly risk breaking your system when you venture outside our official repo's in pursuit of the newest version.
Title: Re: How to update VLC?
Post by: N4RPS on July 05, 2016, 05:07:36 PM
Hello!

I share Jerry's perspective on this one. Since most folks are here for a stable, long-term-support OS, adding on a bunch of PPAs would tend to serve to defeat that.

On the other hand, things can take F-O-R-E-V-E-R to be updated in the repositories, so you have everything satisfactorily backed up, and STILL want to 'play with fire', when you want newer software than what's in the repositories, you'll have to add the program's PPA to your list of software sources.

You can Google the name of the program along with the phrase 'PPA' to find it, if one exists. For VLC,

Open a terminal window [CTRL-ALT-T], and type (or copy-and-paste) the following lines:

Code: [Select]
sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc

If you like living INSIDE the flames, to install the development version, type this, instead:

Code: [Select]
sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update
sudo apt-get install vlc

To remove the version installed by the PPA, type the following - again, in a terminal window:

Code: [Select]
sudo apt-get purge vlc
sudo add-apt-repository --remove ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc

This will remove the 'bleeding edge' VLC, and reinstall the one from the repositories.

Remember, if you break something because of this, most likely, no one here can help you, but we WILL LOAO!

Don't get burned...

73 DE N4RPS
Rob
Title: Re: How to update VLC?
Post by: Monkeyman on July 05, 2016, 10:27:24 PM
Thanks, everyone.  I guess I'll live with the current version and toss the movies that won't play.  I'm not smart enough to fix Linux if I break it.
Title: Re: How to update VLC?
Post by: trinidad on July 06, 2016, 09:52:39 AM
https://forum.videolan.org/

https://launchpad.net/~videolan/+archive/ubuntu/stable-daily

Trinidad
Title: Re: How to update VLC?
Post by: LL-user on July 06, 2016, 06:23:10 PM
Hi Monkeyman,

You could always boot up a live CD :)
Linux Lite 3.0 ships with version 2.2.2 Weathewax.

If you wanted to take it even further in case 2.2.2 is not enough, you could install what you want/need into the Live CD running system. Then copy the packages pulled in via apt (located under /var/cache/apt/archives/) to an USB stick/hard drive. Next time you boot up the live CD you would just have to install these packages directly. No internet access needed anymore. I use this method on a regular basis.

Of course you could also create a LiveUSB with persistent storage or even go all the way of actually installing the system to an external medium. But that seems overkill and would use a lot more space.
Title: Re: How to update VLC?
Post by: N4RPS on July 07, 2016, 03:36:50 AM
Hello, Monkeyman!

Thanks, everyone.  I guess I'll live with the current version and toss the movies that won't play.  I'm not smart enough to fix Linux if I break it.

If you NEED VLC 2.2.2 for some reason, that's a different matter altogether. Upgrading to it most likely won't cause any new issues for you.

One just have to be careful to get too carried away with PPAs, that's all. Worst comes to worst, you can remove the newest version, remove the PPA, reinstall the repository version, and life goes on.

For example, take Me TV, a program to watch TV on your PC using a USB TV dongle or PCI/PCIe TV card. The newest version doesn't want to work for me., The developer recommended that I not use the one in the PPA, so THAT would be one case where it's best to stick with what's in the repositories.

On the other hand, take Blueman, for Bluetooth control. The early version had something disabled (I forget what) that kept it from working properly. As a result, if you wanted Bluetooth to work, you HAD to use the latest version and add the PPA, as opposed to using the one in the repositories.

In a nutshell, it can work both ways, so use which one works best for what YOU'RE doing...

73 DE N4RPS
Rob


73 DE N4RPS
Rob
Title: Re: How to update VLC?
Post by: Monkeyman on July 07, 2016, 07:58:33 AM
Hi Monkeyman,

Linux Lite 3.0 ships with version 2.2.2 Weathewax.


Really?  I wasn't really ready to upgrade to 3.0 just yet (I have everything just like I want it and I HATE change) but maybe I'll need to.

Hello, Monkeyman!

Thanks, everyone.  I guess I'll live with the current version and toss the movies that won't play.  I'm not smart enough to fix Linux if I break it.

If you NEED VLC 2.2.2 for some reason, that's a different matter altogether. Upgrading to it most likely won't cause any new issues for you.

One just have to be careful to get too carried away with PPAs, that's all. Worst comes to worst, you can remove the newest version, remove the PPA, reinstall the repository version, and life goes on.

73 DE N4RPS
Rob


There are a couple of movies that are in x265 format.  The VLC version I'm on just won't play them.  I'll have to think about this and decide whether I want to try a newer version or just upgrade to LL 3.0.

Thanks for the help, guys!
Title: Re: How to update VLC?
Post by: firenice03 on July 07, 2016, 12:47:18 PM
Food for thought  ;)

Could make a Systemback back up... Try the PPA/Update Methods to get to VLC 2.2.2 confirm if it resolves your issues...
If it does, decide if you're ok in this state or upgrade to 3.0
If it doesn't, no harm no fowl, decide whether to keep current state or revert back to the previous from Systemback..

Title: Re: How to update VLC?
Post by: N4RPS on July 07, 2016, 07:58:18 PM
Hello!

Haven't tried 2.2.4 in Windows yet, but even in the version just prior to that, playing H.265 in VLC was, at best, a hit-or-miss proposition. Do what you feel to be best, I suppose...

73 DE N4RPS
Rob
Title: Re: How to update VLC?
Post by: Monkeyman on July 08, 2016, 06:44:48 AM
I was given this link this morning.  Any opinions on it?

https://www.unixmen.com/fix-vlc-not-support-audio-video-format-hevc/
Title: Re: How to update VLC?
Post by: Jerry on July 08, 2016, 08:13:37 AM
We have the H265 files in the LL repo for Series 2.x.

Code: [Select]
sudo apt-get install vlc-plugin-libde265 libde265
They WILL play HEVC files, if they don't, you have a separate issue.
If you don't have a powerful , modern computer, the video files simply won't play. They require a lot of horsepower.

If you're on 2.8, chances are these files are already installed. Stay clear of the PPA you posted.

HEVC test files of varying bitrates here - http://jell.yfish.us/
Title: Re: How to update VLC?
Post by: Monkeyman on July 08, 2016, 08:35:33 AM
We have the H265 files in the LL repo for Series 2.x.

Code: [Select]
sudo apt-get install vlc-plugin-libde265 libde265
They WILL play HEVC files, if they don't, you have a separate issue.
If you don't have a powerful , modern computer, the video files simply won't play. They require a lot of horsepower.

If you're on 2.8, chances are these files are already installed. Stay clear of the PPA you posted.

HEVC test files of varying bitrates here - http://jell.yfish.us/

Thanks.  My computer is neither modern nor especially powerful.  It's a 4 year old build so it's "ancient".  :)  I'll stick with x264 movies from now on (or at least until I build a new computer).  It's done more than enough for me until this.

I have a 750w power supply, GeForce GTS 450 vid card and an AMD Phenom II cpu.  Is there anything I could upgrade that might make it possible to play this format or would I need a completely new system?
Title: Re: How to update VLC?
Post by: Jerry on July 08, 2016, 08:37:39 AM
Is there anything I could upgrade that might make it possible to play this format or would I need a completely new system?

IMO, no. You'll need to build a pc from scratch. Keep the PSU.
Title: Re: How to update VLC?
Post by: Monkeyman on July 08, 2016, 09:04:10 AM
Is there anything I could upgrade that might make it possible to play this format or would I need a completely new system?

IMO, no. You'll need to build a pc from scratch. Keep the PSU.

/sigh/  I guess it's time to start buying parts.  Heck, it's way overdue anyway.

Thanks a heap.