For example, to delete the extra modules of kernel version 5.0.x from the system, the following command would be entered:
sudo pacman -R linux50-extramodules