ffmpeg install in linux code example

Example 1: ubuntu 18 ffmpeg install

sudo apt install software-properties-common
sudo apt update
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
sudo apt install ffmpeg
ffmpeg -version

Example 2: install ffmpeg ubuntu

# On Ubuntu 18.04

$ sudo add-apt-repository ppa:jonathonf/ffmpeg-4
$ sudo apt install ffmpeg

# check version
$ ffmpeg --version

# You can download Windows builds from ffmpeg site.

Example 3: install ffmpeg mac

There are three options, sorted by complexity:

Homebrew (or other package managers)
Static builds
Compile yourself
To follow this you need to have a bit of knowledge using a terminal/shell under macOS.