The only thing i can think of is that the Can't open display message is usually because you are trying to access an X app as root.
Maybe trying running the script when logged into to gnome as an unprivileged/normal user if that fails try using the alternative method of install by using the wget method hth Dan On Sat, Mar 21, 2020 at 6:12 PM Marcelo Laia <marcelol...@gmail.com> wrote: > Hi! > > Thank you so much! > > It already installed. > > root@marcelo:~# apt search linux-headers-$(uname -r) > Sorting... Pronto > Full Text Search... Pronto > linux-headers-5.4.0-4-amd64/testing,unstable,now 5.4.19-1 amd64 > [installed,automatic] > Header files for Linux 5.4.0-4-amd64 > > root@marcelo:~# > > > -- > Marcelo > >