Aka*_*waj 2 unix git yocto raspberry-pi3
如何使用 wget 在 UNIX 上安装 git?
我试过
wget http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain.
Run Code Online (Sandbox Code Playgroud)
然后我将其移至 /usr/bin 但 git config 命令失败。
我也尝试过
wget --no-check-certificate -q https://github.com/joyent/node/tarball/v0.7.1
wget:获取响应时出错:没有这样的文件或目录
我正在 raspberrypi 上开发 Yocto poky 2.1.3 发行版映像并尝试安装 git。我的垃圾箱里没有 apt 软件包。所以剩下的唯一选择就是 wget。
我的猜测是你必须从源下载、构建并安装
wget https://github.com/git/git/archive/v2.17.1.tar.gz
tar zxvf v2.17.1.tar.gz
cd git # or whatever directory the tar.gz file contains
./configure
make
make install
Run Code Online (Sandbox Code Playgroud)
或类似的规定。
归档时间: |
|
查看次数: |
13890 次 |
最近记录: |