Hello , I recently installed kali and then I tried to upgrade pulseaudio but when i run
apt-get install pulseaudio
it says it's already at newest version

then I decided to upgrade it manually <<Thinking That it's a problem for the sound is always muted at boot up

and I removed pulseaudio and gnome-core removed with it because pulseaudio was a dependency for gnome-core

so I built and installed the pulseaudio 4.0 and still the sound is muted on start-up so when I run
apt-get install gnome-core
it tells me that I need to install pulseaudio which is already installed but not via apt

so how do I remove the manually installed pulseaudio 4.0 when apt doesn't recognise it