How to create animated GIF in Ubuntu 16.04