Please Install The Following Missing Packages Libapr1 Libaprutil1 Libasound2 Libglib200 Install May 2026
sudo ln -s /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 /usr/lib/libglib200.so.0 This can cause instability. Only do this if you understand the risks. 4. Install via a compatibility layer (Flatpak or Snap) Instead of fighting system dependencies, consider whether the application has a Flatpak or Snap version. These bundle their own libraries, eliminating the error entirely.
sudo dpkg --add-architecture i386 sudo apt update sudo apt install libapr1:i386 libaprutil1:i386 libasound2:i386 libglib2.0-0:i386 Red Hat-based distributions have different package names. sudo ln -s /usr/lib/x86_64-linux-gnu/libglib-2
sudo yum install apr apr-util alsa-lib glib2 Install via a compatibility layer (Flatpak or Snap)
This error typically appears when trying to run a proprietary application (such as a DAW (Digital Audio Workstation), a game launcher, a VPN client, or a legacy enterprise tool) on a Linux distribution that does not have these specific libraries pre-installed. sudo yum install apr apr-util alsa-lib glib2 This
sudo pacman -S lib32-apr lib32-apr-util lib32-alsa-lib lib32-glib2 sudo zypper refresh sudo zypper install apr apr-util alsa-lib glib2-devel For Chromebook Linux (Crostini) Chromebooks run a containerized Debian environment. Follow the Ubuntu/Debian instructions above. However, note that audio support ( libasound2 ) may require additional Chrome OS permissions. Ensure your Linux container has audio enabled in Chrome OS Settings > Developers > Linux development environment > Manage shared audio. For Windows Subsystem for Linux (WSL) WSL often lacks audio and GUI libraries by default. After installing the packages via your distro's commands (e.g., sudo apt install ... ), you may also need to install a sound server like PulseAudio on Windows to route libasound2 calls. What If the Error Still Appears After Installation? If you ran the commands above but still see "please install the following missing packages" , try these advanced troubleshooting steps. 1. Verify the packages are actually installed dpkg -l | grep libapr1 or
Encountering a missing package error can be frustrating, especially when you are in the middle of setting up critical software. One of the more cryptic yet common errors Linux users face involves a message similar to: