How to record audio in Ubuntu Linux. I give you Ubuntu audio recorder which can record audio output on Linux Ubuntu systems.
Install Audio Recorder In Ubuntu

Before you begin the installation, remove the OLD, PRIVATE PPA that belonged to the developer. Run:
sudo add-apt-repository --remove ppa:osmoma/audio-recorder
Then update your package list and Install the latest version of audio-recorder. Run:
sudo add-apt-repository ppa:audio-recorder/ppa
sudo apt-get update
sudo apt install audio-recorder
Or
sudo add-apt-repository ppa:audio-recorder/ppa
sudo apt-get -y update
sudo apt-get install --reinstall audio-recorder
Once installed, open the application from Ubuntu Dash.