I have downloaded and unzipped the hugo_0.11_linux_amd64.tar.gz
file from the releases page, and I cannot figure out how to run the binary. I took a few stabs at using go run
, and sh
, but no luck. Can anyone offer a few more details?
如何安装雨果?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
4条回答 默认 最新
- douzhuang2016 2014-08-31 20:41关注
Extract
hugo_0.11_linux_amd64.tar.gz
to a directory. In that directory you should find three files:hugo_0.11_linux_amd64 LICENSE.md README.md
Make sure either
hugo
is in your path or provide a path to it. For example, rename thehugo_0.11_linux_amd64
executable file tohugo
. Move thehugo
executable file to/usr/local/bin
.Run
$ hugo help
Continue to follow the instructions for Using Hugo.
References:
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报