I need to use riscv64-unknown-elf-gdb with Clion (on Mac) that is currently supporting only up to version 9.2, I have installed riscv-tools using brew install riscv-tools as instructed here and got the latest version which is 10.1.
After that, I tried brew install riscv-tools#9.2.0 but got: No available formula or cask with the name "riscv-tools#9.2.0"
Is there any way to install a specific older version?
And how bad it is to use an usupported version of gdb with Clion? so far it seems to be working anyway.
A solution in Linux will also be very appreciated.
If you want to get gdb 9.2, you can easily get it from https://ftp.gnu.org/gnu/gdb/ where gdb 9.2 already support risc-v.
Related
I am trying to work with the Hugo static site generator.
Problem: Hugo is saying it is updated to the latest version but it is not.
$ hugo version
Hugo Static Site Generator v0.40.1 linux/amd64 BuildDate: 2018-04-25T17:16:11Z
But the latest version is now v0.70.0
System:
Windows Subsystem for Linux via the terminal in Visual Studio Code v1.45.0
Any help would be much appreciated thank you all.
If you're using a Debian-based system, e.g. Ubuntu, you can download the appropriate .deb from https://github.com/gohugoio/hugo/releases and install it with, for example:
sudo dpkg --install ./hugo_extended_0.70.0_Linux-64bit.deb
I wrote about this in footnote 10 in my Hugo Tutorial.
If you've installed it via the apt package manager, you might be out of luck there, because the official repositories might not be up to date with the latest version of Hugo.
To update the repositories and install the latest available version of hugo, try doing
sudo apt update
sudo apt install hugo
However, I see it's only getting version 0.6x.
If you want to use it on Windows, you could try installing it via Chocolatey or Scoop. Both seem to have version 0.70.x in their repositories, but you'd need to install them first, because they're not Windows out-of-the-box software. Not sure if and how it would work if you use it in the WSL, though.
Otherwise, there's always the good'ol download the binary and save it.
The Ubuntu package manager "apt" does not contain the latest version of Hugo right now. It needs to be updated by the repo owner or similar.
I solved my problem by following a binary install guide here
I am trying the following brew statement on console, but required node version is not found
brew install node#5.4.1
Does anybody knows how to install node version 5.4.1 by using Homebrew? This version is mandatory when using SAP HAT framework and is no longer possible to use previously node versions.
Futher information about HAT may be found on the following link: https://help.hana.ondemand.com/webide_hat/frameset.htm
You can’t install a specific version of Node with Homebrew if nobody wrote a formula (= package) for it. Homebrew doesn’t magically knows how to retrieve Node version 5.4.1 and how to build it.
You have to either install that version another way (e.g. using n) or create your own Homebrew formula (see the node#6 one).
The ArangoDB installation instructions for MacOS state that Homebrew is the preferred installation method, but brew is behind the DMG packages available here. The brew version, including the --HEAD version, is 2.8.7, but my freshly (brew installed) system is complaining and asking me to upgrade to 2.8.9, available as a DMG package.
Should I stop using brew and instead use the DMG version?
The Brew version lags a bit behind, since there are ongoing discussions about ArangoDB 3.0 features:
https://github.com/Homebrew/homebrew-core/pull/1965/commits
These will hopefully be closed and accepted within the next days, you will get fresh versions soon.
Btw, a good point in time to try out ArangoDB 3.0 RC2 while its hot:
https://www.arangodb.com/download-preview/
I'm trying to install node.js on Ubuntu using linuxbrew. I'm running the following commands:
brew update
brew info node
the output is
node: stable 6.0.0, HEAD
However version 6.1.0 should already be available (you could verify it in e.g braumeister)
Any ideas what could be the issue here?
Linuxbrew is built on top of Homebrew and updates to the latter need to be manually ported to the former, which is why you can expect a small update lag. Braumeister and similar websites get their infos from Homebrew.
I am new to Ubuntu (linux).
I installed node.js for a project.
Recently I am getting this error on npm install.
Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
I found a stack link below as
Node pre error
Under the solution it asks for the directory where node.js is installed and currently i am clueless where the nodejs is installed.
Please help me on how can I locate the directory where node.js is installed.
Quick explanation
You have a version with -pre. Get rid of it and put the latest stable version from nodejs.org.
You can use which to locate a command. For your case, type which nodejs.
EDIT: The answer from your link is referring to the path of node source code, not the nodejs binary.
On Ubuntu, most software can be installed from the built-in repositories. This updates it for you (even if it's sometimes a bit outdated).
To install the stable version the Ubuntu way, install the nodejs-legacy package (after uninstalling your version):
sudo apt install nodejs-legacy
To use the latest, refer to https://askubuntu.com/a/663052/438156 (my answer), or https://askubuntu.com/a/711976/438156 (bit more involved, more the Ubuntu way).