How do we install Realtek High Definition Audio Driver

How do I install Realtek High Definition Audio Sound Drivers?

First, you run:

mhwd -lh -d --pci

look for your audio device

then run:

sudo mhwd -a pci nonfree 0300 // replace 0300 with the pci number of the audio device

or

sudo mhwd -a pci free 0300 // replace 0300 with the pci number of the audio device

If you need help, just paste the output of:

mhwd -lh -d --pci

here

Realtek onboard audio devices usually use Linux driver snd_hda_intel and additional drivers are not required

use this command to see a list of audio devices including the driver in use

inxi -Ax