Clarifying version issues

Installed here is hugo-0.102.3-x86_64-1_SBo.tgz. But, when I type ‘hugo version’ at the shell prompt I see this: hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66 linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio

Why might this happen?

These both appear to be unextended versions. How do I get the latest extended version to use?

TIA,

Rich

With Linux you have several options…

Snap

sudo snap install hugo

Compiled binary

Choose one of the “extended” assets from:
https://github.com/gohugoio/hugo/releases/latest

Build from source (requires Git and Go)

go install -tags extended github.com/gohugoio/hugo@latest

Brew

brew install hugo

Joe,

I downloaded hugo_extended_0.104.2_linux-amd64.tar.gz and will build it
here.

Yet I still want to learn why hugo reports a much earlier version that the
installed version.

Thanks,

Rich

Perhaps you have installed multiple instances.

In your terminal:

whereis hugo  # shows all instances
which hugo    # show the one with highest precedence

Perhaps you have installed multiple instances.

Nope. Only 1:

$ which hugo
/usr/local/bin/hugo

But, it should be in /usr/bin. I’ll check on this.

Thanks,

Rich

File /tmp/pico.84552 saved
github File: /tmp/pico.87460

Choose one of the “extended” assets from:
https://github.com/gohugoio/hugo/releases/latest
[SP] R)epl A)ccept I)nsert L)ookup U)ncap Q)uit e(X)it or ? for help
Fontconfig warning: “/etc/fonts/fonts.conf”, line 102: unknown element “blank”
Opening in existing browser session.
IW /tmp/pico.14084 (Modified)(mail) Row 10 Col 1 3:26 Ctrl-K H for help
Invoking alternate editor…

That’s a much lower number than I thought.

One site said 1 in 8 (12.5%), another said 1 in 9 (11.1%).

Shrug.

Richard

File /tmp/pico.14084 saved
IW /tmp/pico.08256 (Modified)(mail) Row 6 Col 1 3:27 Ctrl-K H for help

Mea culpa. I do have two installed. Will correct this.

Thanks,

Rich

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.