linka-cloud / d2vm

Build Virtual Machine Image from Dockerfile or Docker image
Apache License 2.0
208 stars 31 forks source link

What to copy to /usr/local/bin/? #8

Closed geneoes closed 1 year ago

geneoes commented 1 year ago

After installation with make build-dev, what folder is supposed to be copied to usr/local/bin/? The whole root of the project?

I am getting Command 'd2vm' not found

Adphi commented 1 year ago

The make build-dev command builds the container and the binary. The output binary is at the root of the repository. Then you have to move it somewhere in your $PATH.

I updated the README.md and the Makefile to add a make install command. It will install the d2vm binary in the $GOPATH.

Does it works for you ?

Adphi commented 1 year ago

I just added homebrew support to installation :

brew install linka-cloud/tap/d2vm
geneoes commented 1 year ago

I just added homebrew support to installation :

brew install linka-cloud/tap/d2vm

That went great! I just had to manually install qemu-utils and extlinux