Ubuntu – How to Remove ffmpeg completely in Ubuntu 13.10

ffmpeginstallationuninstall

I tried this guide
to install ffmpeg, but now I want to remove it completely from Ubuntu 13.10, but when I did that guide to remove, ffmpeg is still there!
How to remove it exactly?

after removing ffmpeg I see this output again:

deniz@deniz-Ubuntu:~/Downloads$ ffmpeg
ffmpeg version git-2013-11-15-995f450 Copyright (c) 2000-2013 the FFmpeg developers
  built on Nov 15 2013 18:32:56 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu8)
  configuration: --disable-yasm
  libavutil      52. 53.100 / 52. 53.100
  libavcodec     55. 43.100 / 55. 43.100
  libavformat    55. 21.100 / 55. 21.100
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 91.100 /  3. 91.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]     outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Best Answer

How to Compile FFmpeg in Ubuntu tells you how to undo everything in the Reverting Changes Made by This Guide section:

rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,vsyasm,x264,yasm,ytasm}

sudo apt-get autoremove autoconf automake build-essential git libass-dev \
libgpac-dev libmp3lame-dev libopus-dev libsdl1.2-dev libtheora-dev \
libtool libva-dev libvdpau-dev libvorbis-dev libvpx-dev libx11-dev \
libxext-dev libxfixes-dev texi2html zlib1g-dev

hash -r

However, seeing your other recent ffmpeg question it appears that you did not follow the guide or did not follow it correctly so this may not work for you.

The guide does not install ffmpeg to the system. This is to avoid conflicts with packages from the repository, but I'm guessing you did install to the system with sudo make install without using checkinstall; therefore it is not integrated in the package management system. If this is the case then try:

cd ~/ffmpeg
sudo make uninstall
hash -r

The guide is supposed to make compiling easy since the ideas is that the user must only successfully copy and paste, but compiling is not for everyone and results may vary.