Installing Qt on an AWS instance

I would like to install the Qt development library on an AWS instance.

Running

> yum search qt | grep devel

on an AWS t2.micro instance produces no matches.

Does one have to install Qt from source? For a well-established library such as Qt this doesn't make sense. Can you confirm, either way?


Unfortunately it seems that you have to build it yourself as according to Amazon they don't support graphical libraries on the micro (free) instance. Here is the company line from this thread.

The Amazon Linux AMI was designed to be a completely headless server for use in cloud computing, so it does not support an X Windows System in the traditional sense. We have not provided user interface libraries such as GTK+ and Qt....

If you wanted to install it yourself, here is a helpful post from Stack Overflow:

https://stackoverflow.com/questions/11662529/building-qt-libraries-on-ubuntu-linux