How to Convert/Edit .mp4 file to .gif in Ubuntu 16.04?

If by "default" you mean that you want to use integrated software, just printscreen frame by frame and then stich them together.

In GIMP, for the stich part, you need to open all the images as layers and then Filters > Animation > Playback... and modify them the options that you need.