I am trying to install HUGO from repository package with this command line: sudo apt install hugo. It says unable to locate package hugo. A friend of mine advised that as long as I have the new release of Devuan it would have Hugo version 0.111.3-1 (at the time he wrote it). I think I already have the latest Devuan version of Chimaera. Just in case, I went through the process of upgrading Chimaera using these instructions Devuan GNU+Linux Free Operating System and there wasn’t any change according to the terminal messages. I tried installing hugo, it didn’t work again.
I am a baby when it comes to this stuff, it’s all new. I started using command lines a couple of months ago. Help please!
I highly recommend to install Hugo from the prebuilt binaries from the releases page on GitHub (Release v0.115.3 · gohugoio/hugo · GitHub), it’s always efficient! (I’m a Linux user of Hugo too.)
- download the
.deb file (extended version)
dpkg -i the-name-of-the-file.deb
- check the Hugo version with
Is it better?
dpkg -i hugo_extended_0.115.3_linux-arm64.deb
dpkg: warning: ‘ldconfig’ not found in PATH or not executable
dpkg: warning: ‘start-stop-daemon’ not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
For hugo version I got this:
Hugo Static Site Generator v0.80.0/extended linux/amd64 BuildDate: 2021-07-18T09:31:51Z (debian 0.80.0-6+b5)
Does it mean I have it? Strange.
I would prefer to use aptitude if possible. I’d consider other options too.
The current release is v0.115.3. You won’t be able to get that with apt.
dpkg is perhaps not the best way, you can try
sudo apt install your-file.deb. And you have to uninstall hugo first.
I would prefer to use aptitude too, but there are no up-to-date packages.
Thanks for coming back to this.
I have attempted to uninstall Hugo and it has been stuck on the uninstall stage for around 15 minutes now… I started the uninstallation process before I read your comment.
sudo apt purge hugo
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following package was automatically installed and is no longer required:
Use ‘sudo apt autoremove’ to remove it.
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 48.9 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database … 322947 files and directories currently installed.)
Removing hugo (0.80.0-6+b5) …
Processing triggers for man-db (2.9.4-2) …
I have recently started working with w3school website, signed up and am creating index.html and styles.css files. Since I haven’t tried Hugo, for those who are familiar with both these programs, would you say they are similar?
Hugo is a static site generator, Hugo is designed to transform markup files (mainly in Markdown format) into HTML and organize them. But the templates are in HTML, so you can do websites with Hugo and both learn HTML, but I’m not sure it’s a good idea. Perhaps first learn HTML, and after try Hugo (or another static site generator).
hi fairy! i presume you have been successful in getting hugo to work with devuan chimera? if not, i can give it try it on my new setup - i’m an archlinux user, but i just installed peppermint on an old i686 laptop with devuan chimera.
as far as, hugo and css, @antoinentl has explained the difference. if you write html from scratch (probably the way w3school is showing you), then you don’t use hugo, which uses markdown (or orgmode) and then generates the html for you.
you can then use a theme to get it looking nice:
if you want to fine tune things, then you can add css style sheets - something i just learned how to do from the marvelous @jmooring today in this thread:
Org-mode source code display control
imho, it is a good idea to learn at least some html and some css, unless all you are doing is creating a very simple website like say this sort of thing (as the theme describes):
(it’s for a simple personal ad/blog/resume whatever stuff though it can be expanded into a much larger website as any of these minimal themes can.)
anything more, you will no doubt benefit from html and css education (as i certainly did)!