Linux Install issues

Im trying to get krakensdr installed on ubuntu 20.04.6. When running the install script I get

line 1: syntax error near unexpected token `newline'
line 1: `<!DOCTYPE html>'  

Linux noob here, What am i missing.

Thanks in advance.

It sounds like the download of the script file didn’t go correctly, and you have a web page instead. If you head or cat the script file it should start with #!/bin/bash on the first line.

What command did you use to retrieve the script?

I used the commands from the wiki, posted below.
Doing a cat shows < !DOCTYPE html >

Ive tried removing the file and starting again with no luck.

wget https://raw.githubusercontent.com/krakenrf/krakensdr_docs/main/install_scripts/krakensdr_x86_install_doa.sh
sudo chmod +x krakensdr_x86_install_doa.sh
./krakensdr_x86_install_doa.sh

I believe you are right, Something didn’t go correctly.! I removed the file, then typed it out from scratch again, It worked fine after. Id take a wild guess that I mistyped something…

Thanks!

1 Like