Build A Free Website In Minutes - Part 2

To learn more about prerequisites and tools, please check out the Part-1 of this series.

Hugo Theme

Step 1 - Create a new site

hugo new site hello-theme

Step 2 - Download the ananke theme


Step 3 - Extract that .zip file to get a “gohugo-theme-ananke-master” directory


Step 4 - Rename that directory to “ananke”, and move it into the “themes/” directory

mv gohugo-theme-ananke-master/ ananke/
mv ananke/ themes/ananke

Step 5 - Add the theme to the site configuration

echo 'theme = "ananke"' >> config.toml

Step 6 - Add some content and change the header of the post to say draft: false

hugo new posts/
vi content/posts/

Step 7 - Check the result

hugo server


Hugo Uninstall

Use the below command to remove the package of Hugo

sudo apt-get remove --auto-remove hugo

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 44.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 252044 files and directories currently installed.)
Removing hugo (0.73.0) …
dpkg: warning: while removing hugo, directory ‘/usr/local/bin’ not empty so not removed

As Academic requires Hugo extended version, that’s the reason that the standard version is uninstalled.

Hello Academic

Academic is a site builder, it is a hugo site itself.

Install Hugo Extended Version

sudo dpkg -i hugo_extended_0.73.0_Linux-64bit.deb 
hugo version

The output below shows the information of Hugo extended version.

Hugo Static Site Generator v0.73.0-428907CC/extended linux/amd64 BuildDate: 2020-06-23T16:40:09Z

Install Academic

This linke provides the different ways to install Academic. In this part, the Install with ZIP way is used.

Step 1 - Download and extract Academic Kickstart


Step 2 - Download and extract the Academic theme files from the hugo-academic-master folder to the themes/academic/ folder in Academic Kickstart

wget unzip rm

Step 3 - Copy the hugo-academic-master folder to the themes/academic/ folder in Academic Kickstart

cp -r hugo-academic-master/* academic-kickstart-master/themes/academic/

Step 4 - Check the result

cd academic-kickstart-master/
hugo server


In next part, we will install everything in GitHub.

Did you find this page helpful? Consider sharing it 🙌

Hongwei Li
Hongwei Li
Software, Networking

Always on the way - Coding, DevOps, Networking.