Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 32 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save willmasters/382fe6caba44a4345a3de95d98d3aae5 to your computer and use it in GitHub Desktop.
Save willmasters/382fe6caba44a4345a3de95d98d3aae5 to your computer and use it in GitHub Desktop.
#
sudo su -
cd /usr/local/bin
mkdir ffmpeg
cd ffmpeg
wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.2.1-amd64-static.tar.xz
tar xvf ffmpeg-4.2.1-amd64-static.tar.xz
mv ffmpeg-4.2.1-amd64-static/ffmpeg .
ln -s /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg
exit
@RichardTMiles
Copy link

Amazon Linux 2023 is out; one should upgrade as often as possible.

@Rudrabha
Copy link

$ wget https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
$ tar -xjvf ffmpeg-snapshot.tar.bz2
$ cd ffmpeg
$ ./configure
$ make
$ sudo make install
$ ffmpeg -version

This worked for me in 2024, Amazon Linux 2

@lzell
Copy link

lzell commented Apr 26, 2024

@Rudrabha your steps also work with AL2023, thanks!

I am using https://ffmpeg.org/releases/ffmpeg-7.0.tar.bz2 instead of the snapshot (which I believe is nightly?)

@RichardTMiles
Copy link

@Rudrabha Amazon Linux 2 is EOL and should not be used.

@stevebanik
Copy link

@RichardTMiles "Amazon Linux 2 end of support date (End of Life, or EOL) has been extended by two years from 2023-06-30 to 2025-06-30 to provide customers with ample time to migrate to the next version."

https://aws.amazon.com/amazon-linux-2/faqs/

@RichardTMiles
Copy link

Noted @stevebanik, thanks. I’ll reiterate that everyone should be upgrading regularly. Avoiding inevitably is a poor decision IMHO. Get the latest and greatest from the newest versions. Support will end, and if you wait until the last minute you will be left insecure. It is MUCH easier to upgrade immediately as new major releases happen. Jumping 2-3 major versions is generally not a good time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment