gitunixraspberry-pi3yocto

How can I install git on unix using wget?


How can I install git on unix using wget?

I tried

 wget http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain.

Then I moved it to /usr/bin but git config command failed.

I tried also wget --no-check-certificate -q https://github.com/joyent/node/tarball/v0.7.1

wget: error getting response: No such file or directory

I am working on Yocto poky 2.1.3 distro image on raspberrypi and trying to install git. I don't have apt package on my bin. So only option left is wget.


Solution

  • I recommend to start using available way of install packages within the Yocto, there is dedicated variable which is allows to add packages in order to install into image IMAGE_INSTALL, just add this line into Your conf/local.conf file:

    IMAGE_INSTALL_append = " git"