Ripping cds has been a thing for years. k3b is the package that comes to mind for me. If you do a search for ubuntu cd ripper you should come up with a list of options anywhere from CLI to heavy GUI.
A bit more searching suggests ripperx may be a good option for you. https://www.linux.co...audio-cds-linuxGo to the full post