I am extremely new to Linux and I'm using the Chromebook's Linux beta which I believe is ubuntu. I'm trying to use CERN's root software to display a function's graph but it gives me a massive error when it tries to give me the actual graph. My syntax is correct I just don't know how to get the Chromebook to let Linux show me a graphic.
Here's the code I put in
f = new TF1("f","x^2",-2,2)
f->Draw()
and here's a link to the error message
https://paste.ubuntu.com/p/FyMb4yvB8X/
Root uses C++
If youre wondering how I installed ROOT I used this guide under 30.4
I downloaded the ROOT prerequisites from this page
https://root.cern.ch/build-prerequisites
And then I used this to launch it
. <pathname>/root/bin/thisroot.sh
root