douan3019 2014-08-31 18:29
浏览 66
已采纳

如何安装雨果?

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?

  • 写回答

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 the hugo_0.11_linux_amd64 executable file to hugo. Move the hugo executable file to /usr/local/bin.

    Run

    $ hugo help
    

    Continue to follow the instructions for Using Hugo.

    References:

    Hugo

    Hugo Documentation: Getting Started

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 单片机学习顺序问题!!
  • ¥15 ikuai客户端多拨vpn,重启总是有个别重拨不上
  • ¥20 关于#anlogic#sdram#的问题,如何解决?(关键词-performance)
  • ¥15 相敏解调 matlab
  • ¥15 求lingo代码和思路
  • ¥15 公交车和无人机协同运输
  • ¥15 stm32代码移植没反应
  • ¥15 matlab基于pde算法图像修复,为什么只能对示例图像有效
  • ¥100 连续两帧图像高速减法
  • ¥15 如何绘制动力学系统的相图