Note: I don't use Surfshark VPN. Without reading the installation instructions Surfshark provided to you, it is hard to know exactly what you are doing incorrectly. However, based on the output you have provided, this is how you may want to proceed next.
Get the installation script
Open a terminal using Ctrl+Alt+T and enter the command (copy from here and paste):
curl -O https://downloads.surfshark.com/linux/debian-install.sh
Note the option -O
that is a minus sign followed by the capital letter O. This option is needed for the command curl
to save the file it will download. Without that option curl
will just dump the content of the file on the screen.
Note: Surfshark's web page asks you to use the option -f
. This is the wrong option for saving the file.
Alternately you could use the command:
wget https://downloads.surfshark.com/linux/debian-install.sh
wget
saves the files it downloads by default.
Now if you enter the commands:
ls -l debian-install.sh
Note the option `-l, that is a small letter EL.
If the file exists you will see something like:
-rw-rw-r-- 1 akash akash 3269 Feb 7 17:04 debian-install.sh
This tells you the file is owned by akash
and belongs to a group by the same name. You and anyone who belongs to the group called akash
can read and write to this file.
Make the script executable
In Ubuntu a script is just a text file until you make it executable. The following command will make the file executable by anyone:
chmod +x debian-install.sh
Now if you use the ls -l debian-install.sh
command again you will see the output
-rwxrwxr-x 1 akash akash 3269 Feb 7 17:04 debian-install.sh
Now you are ready to run the installation script.
Run the installation script
By reading the script I know that the script can be run as an administrator. In Ubuntu we do this with the sudo prefix
. Enter the following command in the terminal:
sudo ./debian-install.sh
Note the ./
before the file name. Those two are required. There are no spaces after the ./
.
You can also run the command ./debian-install.sh
without sudo. The script adds sudo
where required if you don't use it. If all goes well the script will run and the program called surfshark
will be installed in your computer.
Hope this helps