I’m using Ubuntu 20.04 and julia 1.5.2.
I’m trying to use Plots. When typing
the julia terminal raises no complaints. Then I tried
and got the message
/home/inbar/.julia/packages/GR/BwGt2/src/../deps/gr/bin/gksqt: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory connect: Connection refused GKS: can't connect to GKS socket application GKS: Open failed in routine OPEN_WS GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
and tens of other lines like the last one, with different routines. After that I tried running
and plot again, resulting in the first part of the message to disappear and the part with the routine failures to remain.
What do I do wrong? Plots is a basic package, it doesn’t supposed to be that complicated to use it, is it?
Thanks in advance.