I'm looking for a decent open-source command-line CD player for Linux preferably available in the Debian repos. I've tried the following options:

  • mpv, but it can't select tracks
  • mplayer, but it buffers every few seconds
  • Audacious, but it crashes when I try to play a CD and it has a GUI
  • VLC, which actually works (except for a buffering bug), but it has a GUI (and apparently also a ncurses interface)
  • VLC comes with cvlc the command line interface. Commented May 10, 2018 at 15:07
  • @glennjackman: But with cvlc I can't control anything, unlike with rvlc or nvlc, which I hadn't heard of until I looked up cvlc, could you post that as an answer?
    – wb9688
    Commented May 10, 2018 at 15:15
  • why don't just rip the CD into mp3, aac or whatever? It'll be more efficient and easier to play
    – phuclv
    Commented May 10, 2018 at 17:36
  • Not tried myself, but there's e.g. cdcd (package cdcd) and cdtool (package name cdtool). Both sound like worth a look.
    – Izzy
    Commented May 10, 2018 at 18:37

1 Answer 1


cdtool text-based audio CD player can be installed from the default repositories in all currently supported versions of Debian.

cdtool – text-based audio CD player and CD-ROM control commands
cdtool contains cdplay, cdeject, cdstop, cdpause, and several other
programs for playing audio CDs and controlling a CD-ROM drive from
the command line and in a quick and scriptable way.

cdown reads track info and queries a CDDB database for info on
the current CD. cdctrl is a command line utility for controlling a
CD-ROM drive interactively and from scripts. cdir keeps track of the
contents of different CDs using a workman-compatible database.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.