Hi,
Sorry for asking basic questions here.
I am trying to set up Hugo on my laptop, which is running Linux Mint.
I have installed Hugo from Github - this version: hugo_0.159.2_linux-amd64.deb
From the Terminal on Mint, I ran hugo version and got this response:
hugo v0.159.2-5f4646acaad89e1166aac118e118b0d28013f460 linux/amd64 BuildDate=2026-04-01T12:59:20Z VendorInfo=gohugoio
I attempted to follow the Quick Start instructions, which were to run these commands:
hugo new project quickstart
cd quickstart
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
hugo server
I did that okay, and up until the hugo server step all worked okay - response:
Congratulations! Your new Hugo project was created in /home/xvd/www/hugo/quickstart.
Just a few more steps…
Change the current directory to /home/xvd/www/hugo/quickstart.
Create or install a theme:
Create a new theme with the command “hugo new theme ”
Or, install a theme from https://themes.gohugo.io/
Edit hugo.toml, setting the “theme” property to the theme name.
Create new content with the command “hugo new content /.”.
Start the embedded web server with the command “hugo server --buildDrafts”.
See documentation at https://gohugo.io/.
hint: Using ‘master’ as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch
hint:
hint: Names commonly chosen instead of ‘master’ are ‘main’, ‘trunk’ and
hint: ‘development’. The just-created branch can be renamed via this command:
hint:
hint: git branch -m
Initialised empty Git repository in /home/xvd/www/hugo/quickstart/.git/
Cloning into ‘/home/xvd/www/hugo/quickstart/themes/ananke’…
remote: Enumerating objects: 4262, done.
remote: Counting objects: 100% (113/113), done.
remote: Compressing objects: 100% (71/71), done.
remote: Total 4262 (delta 88), reused 42 (delta 42), pack-reused 4149 (from 3)
Receiving objects: 100% (4262/4262), 6.29 MiB | 12.86 MiB/s, done.
Resolving deltas: 100% (2060/2060), done.
When I run hugo server this is the response:
Watching for changes in /home/xvd/www/hugo/quickstart/archetypes, /home/xvd/www/hugo/quickstart/assets, /home/xvd/www/hugo/quickstart/content, /home/xvd/www/hugo/quickstart/data, /home/xvd/www/hugo/quickstart/i18n, /home/xvd/www/hugo/quickstart/layouts, /home/xvd/www/hugo/quickstart/static, /home/xvd/www/hugo/quickstart/themes/ananke/archetypes, /home/xvd/www/hugo/quickstart/themes/ananke/assets/ananke, /home/xvd/www/hugo/quickstart/themes/ananke/i18n, ... and 3 more
Watching for config changes in /home/xvd/www/hugo/quickstart/hugo.toml, /home/xvd/www/hugo/quickstart/themes/ananke/config/_default
Start building sites …
hugo v0.159.2-5f4646acaad89e1166aac118e118b0d28013f460 linux/amd64 BuildDate=2026-04-01T12:59:20Z VendorInfo=gohugoio
Built in 1 ms
ERROR error building site: render: [en v1.0.0 guest] failed to render pages: render of "/404" failed: "/home/xvd/www/hugo/quickstart/themes/ananke/layouts/baseof.html:26:15": execute of template failed: template: 404.html:26:15: executing "404.html" at <partials.Include>: error calling Include: "/home/xvd/www/hugo/quickstart/themes/ananke/layouts/_partials/site-style.html:2:32": execute of template failed: template: _partials/site-style.html:2:32: executing "_partials/site-style.html" at <.RelPermalink>: error calling RelPermalink: TOCSS: failed to transform "/ananke/css/main.css" (text/css). Check your Hugo installation; you need the extended version to build SCSS/SASS with transpiler set to 'libsass'.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
I’m not sure why this would be the case when I’m using a brand new installation of Hugo and I’m following the official Hugo Quick start steps?
I also followed the steps from this site: Building a blog with Hugo
Step 1: hugo new site hugo01
Response:
Congratulations! Your new Hugo project was created in /home/xvd/www/hugo/hugo01.
Just a few more steps…
1. Change the current directory to /home/xvd/www/hugo/hugo01.
2. Create or install a theme:
- Create a new theme with the command “hugo new theme ”
- Or, install a theme from https://themes.gohugo.io/
3. Edit hugo.toml, setting the “theme” property to the theme name.
4. Create new content with the command “hugo new content /.”.
5. Start the embedded web server with the command “hugo server --buildDrafts”.
See documentation at https://gohugo.io/.
Step 2 - run these commands:
cd essgeelabs.net
git init
git submodule add --depth=1 https://github.com/vimux/mainroad.git themes/mainroad
Response:
bash: cd: ``essgeelabs.net``: No such file or directory
hint: Using ‘master’ as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch
hint:
hint: Names commonly chosen instead of ‘master’ are ‘main’, ‘trunk’ and
hint: ‘development’. The just-created branch can be renamed via this command:
hint:
hint: git branch -m
Initialised empty Git repository in /home/xvd/www/hugo/hugo01/.git/
Cloning into ‘/home/xvd/www/hugo/hugo01/themes/mainroad’…
remote: Enumerating objects: 125, done.
remote: Counting objects: 100% (125/125), done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 125 (delta 18), reused 30 (delta 1), pack-reused 0 (from 0)
Receiving objects: 100% (125/125), 229.67 KiB | 3.15 MiB/s, done.
Resolving deltas: 100% (18/18), done.
Step 3 - echo 'theme = "mainroad"' >> .\config.toml
Step 4 - hugo new posts/first-post.md
Response:
Content “/home/xvd/www/hugo/hugo01/content/posts/first-post.md” created
Step 5 - edit first-post.md
After update, page contains:
+++
date = ‘2026-04-03T15:02:34+01:00’
draft = true
title = ‘First Post’
+++
I’m using Hugo to build my new website. Hugo is awesome.
Step 5 - start internal server - hugo server -D
Response:
Watching for changes in /home/xvd/www/hugo/hugo01/archetypes, /home/xvd/www/hugo/hugo01/assets, /home/xvd/www/hugo/hugo01/content/posts, /home/xvd/www/hugo/hugo01/data, /home/xvd/www/hugo/hugo01/i18n, /home/xvd/www/hugo/hugo01/layouts, /home/xvd/www/hugo/hugo01/static
Watching for config changes in /home/xvd/www/hugo/hugo01/hugo.toml
Start building sites …
hugo v0.159.2-5f4646acaad89e1166aac118e118b0d28013f460 linux/amd64 BuildDate=2026-04-01T12:59:20Z VendorInfo=gohugoio
WARN found no layout file for "html" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN found no layout file for "html" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN found no layout file for "html" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN found no layout file for "html" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
│ EN
──────────────────┼────
Pages │ 5
Paginator pages │ 0
Non-page files │ 0
Static files │ 0
Processed images │ 0
Aliases │ 0
Cleaned │ 0
Built in 3 ms
Environment: "development"
Serving pages from disk
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
Step 6 - open localhost http://localhost:1313/
Response: Page Not Found
If I put in a test .txt page called test.txt in /home/xvd/www/hugo/hugo01/contentthen I can see its contents here:http://localhost:1313/test.txt
It’s not that nothing works at all, but something seems to be not working.
Sorry for the essay. Any advice much appreciated.
Thanks
