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 TLS1.2协议通信解密
  • ¥40 图书信息管理系统程序编写
  • ¥20 Qcustomplot缩小曲线形状问题
  • ¥15 企业资源规划ERP沙盘模拟
  • ¥15 树莓派控制机械臂传输命令报错,显示摄像头不存在
  • ¥15 前端echarts坐标轴问题
  • ¥15 ad5933的I2C
  • ¥15 请问RTX4060的笔记本电脑可以训练yolov5模型吗?
  • ¥15 数学建模求思路及代码
  • ¥50 silvaco GaN HEMT有栅极场板的击穿电压仿真问题