How to reinstall ffmpeg clean on Ubuntu 14.04?

eCronik picture eCronik · Mar 18, 2015 · Viewed 36.9k times · Source

sorry - might be a bit of a Newbie question, but after researching via Google I am even more confused.

I have Jon Severinsson's ffmpeg PPA installed on Ubuntu 14.04 and want to replace it with mc4man's PPA. How do I purge the old PPA correctly and clean, so I can get the new one?

Is it

sudo ppa-purge ppa:jon-severinsson/ffmpeg

and then

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade

?

Answer

seven picture seven · Apr 3, 2015

To be on safe side I removed ffmpeg completely before:

sudo apt-get --purge remove ffmpeg
sudo apt-get --purge autoremove

sudo apt-get install ppa-purge
sudo ppa-purge ppa:jon-severinsson/ffmpeg

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade

sudo apt-get install ffmpeg

I am not expert so maybe there is safer/better way but this worked for me. Interestingly last ffmpeg version from jon-severinsson was ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers and in mc3man repo ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers.