I am supposed to run a script Microsoft has provided for installing .net core to make sure I get rid of any version I already have, and the script is from github. How do I run it?
I need to do Step 2 from this page
I don't have github installed on my computer, but I am not sure if I need it?
You don't need to install anything. Follow the link to the script on GitHub and on the page it takes you to click the "Raw" tab on the right hand side above the script (or just click here for the raw page)
This takes you to a page with only the script. Copy all the text on the screen
Open your favourite text editor, for example, gedit, and paste the text there. Save it, with a name, let's say
netcore
Save it in your home directory or wherever you like. Then close the editor. Open a terminal, and give the script execute permission (replace with the name of the script)if you saved it somewhere other than home, you need to
cd
to the directory, for example,cd Desktop
thenchmod +x netcore
Run the script: