# For Ubuntu 22.04 sudo apt install libavcodec59 ffmpeg # For Ubuntu 24.04 (Noble Numbat) sudo apt install libavcodec60 ffmpeg Use code with caution.
: This ensures access to restricted software. sudo add-apt-repository multiverse sudo apt update Use code with caution. Install Restricted Extras : sudo apt install ubuntu-restricted-extras Use code with caution. ubuntu mpeg-4 aac decoder plugin download
: During installation, a Microsoft EULA may appear. Use the Tab key to highlight "OK" or "Yes" and press Enter to confirm. Method 2: Using the Ubuntu Software Center If you prefer a graphical interface: Open the Ubuntu Software or Software Center app. Search for ubuntu-restricted-extras . Click Install and enter your password when prompted. Method 3: Alternative for Modern Ubuntu Versions (22.04+) # For Ubuntu 22
To play media files that require an in Ubuntu , you typically need to install the ubuntu-restricted-extras package. This meta-package includes essential codecs (like H.264 and AAC) and fonts that aren't included by default due to licensing restrictions. Method 1: Using the Terminal (Recommended) Method 2: Using the Ubuntu Software Center If
For newer systems, you can also specifically install the FFmpeg-based libraries which provide the AAC decoder: