How do i install particular repository from Github?

I'm new to ubuntu terminal and I'm trying to learn the basics.

How do I install this repository?

These are the instructions from the link:

  • For Ubuntu (16.04 or higher) download script,
  • make it executable chmod +x install.sh, and
  • run ./install.sh

How do I download the script? when pressed it is redirecting me to a new tab with the written script.

Thanks in advanced.

4 Answers

First, install the package git:

sudo apt-get update
sudo apt-get install git

At the link you gave, there is a green button marked Clone or download. Click it and then click the clipboard icon. This will copy the git link to your clipboard. Now, back to the terminal:

git clone
cd golem/Installer/Installer_Linux
./install.sh
1

You can install it as follow:

wget
chmod +x install.sh
./install.sh

See : Installation on Ubuntu

The officially supported release is 16.04 at the moment.

Now the steps would be:

  1. Open your terminal with: Ctrl+Alt+t
  2. Type this line and press enter:

    wget 
  3. Still in that terminal type:

    chmod +x install.sh
  4. Now run the file by typing in the terminal, and providinh any password if asked:

    ./install.sh

Another way would be to type this in the terminal:

wget -O - | bash

But of course this is done if you want to download and run it at once and if you completely trust this script, but download it separately and read it before running it the first time.

Although command line options are nice, there is a way to download only a single page from GitHub without copying links.

First open the file you have to download on GitHub on Firefox, you will see a link as "Raw" click on that. Now you will have only that file in browser. Use Ctrl+S or "Save page as" to save it where you want.

The you can run chmod +x install.sh to make it executable.

Then use ./install.sh to run it.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like