Skip to content

Install on macOS

Adrian-George Bostan edited this page Oct 15, 2024 · 12 revisions

Install using MacPorts

  1. Install command line tools
sudo xcode-select --install
  1. Download and install MacPorts for your operating system version from https://www.macports.org/install.php.

  2. Install VLC port.

sudo port install VLC
  1. Find VLC port installation directory.
port contents vlc

For the rest of this guide, the installation directory is considered to be /Applications/MacPorts/VLC.app/Contents/MacOS.
If the location of your installation directory is different, use that for the following steps.

  1. Create symbolic links to the development files in standard locations.
sudo ln -s /Applications/MacPorts/VLC.app/Contents/MacOS/include/vlc /usr/local/include/
sudo ln -s /Applications/MacPorts/VLC.app/Contents/MacOS/lib/* /usr/local/lib/
  1. Set the VLC_PLUGIN_PATH environment variable.
export VLC_PLUGIN_PATH="/Applications/MacPorts/VLC.app/Contents/MacOS"

In order to permanently set the VLC_PLUGIN_PATH environment variable, add the command above to ~/.profile, ~/.bash_profile or ~/.bashrc. Please open a new terminal window in order for the change to take effect.

Build VLC from source

Follow the build instructions found at https://wiki.videolan.org/MacOSCompile.

Clone this wiki locally