This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

repo could not run

hi,

I have followed the guide, and typed:

$ cd ~/android_rls/mydroid
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ./repo
$ chmod a+x repo

but everytime i run repo, always noticed

No command 'repo' found, did you mean:
 Command 'rep' from package 'rep' (universe)
 Command 'repl' from package 'nmh' (universe)
 Command 'repl' from package 'mailutils-mh' (universe)
repo: command not found
how to solve the problem.

Thanks!




  • Hi Younger,

    As per my understanding, make sure that the path where repo is installed is exported in the $PATH environment variable.

    Can you try to follow the steps mentioned below for installing repo?

    mkdir ~/bin -p
    sudo apt-get install curl
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    chmod a+x ~/bin/repo
    export PATH=~/bin:$PATH

    Thanks & Best Regards,
    Venkat