Foobar2000, the popular music player for Windows platform, now can be easily installed in Ubuntu via snap, the universal Linux app packaging format.
1. For Ubuntu 16.04 users never installed a snap package, open terminal (Ctrl+Alt+T) and run command to install
sudo apt install snapd snapd-xdg-open
2. Then install foobar2000 via command:
snap install foobar2000 --classic
--classic flag is required to be able to access files outside the installation directory.
3. To make it work, you still need to run following 3 commands one by one:
sudo snap connect foobar2000:hardware-observe core:hardware-observe sudo snap connect foobar2000:process-control core:process-control sudo snap connect foobar2000:cups-control core:cups-control
Finally launch the music player from application launcher (may need re-login) and enjoy, though the UI is kinda age-old.
To remove foobar2000 snap package, either use Ubuntu Software or run command in terminal:
snap remove foobar2000