setup laptop audio for ubuntu 16.04 server

Table of Contents

1 description

As default, there are no audio support in ubuntu 16.04 server.

2 fix solution

  • install pulseaudio and alsa-utils
$ sudo apt install pulseaudio
$ sudo apt install pulseaudio-utils
$ sudo apt install alsa-utils
  • reboot the system
$ sudo reboot
  • adjust the volume
$ alsamixer
  • save the alsamixer config
$ sudo alsactl store
  • test the audio (prepare the a.mp3 first)
$ sudo apt install mplayer
$ mplayer a.mp3