Eliminate long pauses from a speech

I’m listening an audio speech/lecture and I want to eliminate any long pauses in speech.

Is there any way to do this automatically?

If the long pauses are very quiet (no background noise) then you may be able to use “Truncate Silence” (Effects menu - Audacity 1.3)

If there is background noise, then there’s probably no alternative to manual editing.