Gimp used to have a Save-for-Web or Export-for-Web menu item. It's gone

Solution 1:

It is actually a separate plugin.

On Ubuntu it is part of the gimp-plugin-registry package. If you want to look for it in your repos/packages the executable name is webexport.