Once you have set up your CD-R, CD-RW, or DVD driver you may be interested in packages like cdrecord, cdrdao, mkisofs, cdmaster, and video-dvdrip.