Just to verify that git is installed, what is the output of running the following command on the Edison?
opkg list-installed | grep "git -"
this is the response after running opkg command :
root@edison:~# opkg list-installed | grep "git-"
cppzmq-dev - git-r0
when i run git --version. I get
git: command not found
Please run opkg list-installed | grep "git -" with a space between "git" and "-". The package you listed is cppzmq-dev, not git.
I suspect that you don't actually have git installed, and this should confirm it.
I think the next question will be, "How did you install git on your Edison?"
when i run opkg list-installed | grep "git -", I get nothing as a result.
So now I think we can be sure that you do not, in fact, have git installed on your Edison.
How did you attempt to install it?
- when i do opkg info git , the result is (but now i see that it is not installed ) :
Depends: libssl1.0.0 (>= 1.0.1g), libz1 (>= 1.2.8), libcurl5 (>= 7.35.0), libcrypto1.0.0 (>= 1.0.1g), libc6 (>= 2.19), libexpat1 (>= 2.1.0)
Status: unknown ok not-installed
Maintainer: Yocto Devkit <firstname.lastname@example.org>
Description: Distributed version control system Distributed version control system.
Depends: libssl1.0.0 (>= 1.0.1j), libz1 (>= 1.2.8), libcurl5 (>= 7.35.0), libcrypto1.0.0 (>= 1.0.1j), libc6 (>= 2.19), libexpat1 (>= 2.1.0)
Status: install user not-installed
- I did another install of git opkg install git and the result is :
root@edison:~# opkg install git
Installing git (1.9.0-r0) to root...
* opkg_download_pkg: Package git is not available from any configured src.
* opkg_install_pkg: Failed to download git. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package git.
root@edison:~# opkg info git
- Why is this >?