The cdemu packages from deb multimedia repo is broken, so we will have to use ubuntu PPA for this.
Add ubuntu PPA Ref link
sudo vim /etc/apt/sources.list.d/cdemu.list
with content:
# cdemu source
deb http://ppa.launchpad.net/cdemu/ppa/ubuntu/ bionic main
deb-src http://ppa.launchpad.net/cdemu/ppa/ubuntu/ bionic main
Add key: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AFDF4CC6A4F32AA9395FAE8F423A2125D782A00F
Add deb multimedia for libmirage-plugin relevant issue
You can do it using synaptic or sudo vim /etc/apt/sources.list
and add deb [trusted=yes] https://www.deb-multimedia.org/ bookworm main non-free
sudo apt install cdemu-client cdemu-daemon gcdemu libmirage-plugin
Sometime you will run into some trouble running the daemon:
posix_spawn avoided (fd close requested) cdemu0: Kernel I/O: failed to open control device /dev/vhba_ctl: No such file or directory!
cdemu: Daemon: failed to start device #0!
cdemu: Daemon: failed to create device!
Daemon initialization and start failed!
Solution to this is to: sudo modprobe vhba
to start up vhba
device, then start the daemon.
cdemu-daemon
gcdemu
Hope that helps.
Ok, loading .cue files is a success and I've successfully played the audio tracks on the mixed mode CD (.bin) it referenced (data / audio combined). VLC can play back successfully, Asunder can view / rip the tracks, but Audacious and DeadBeef can't see the drive (hard coded CD device location?). Hope this helps someone out there.