How to update GTKwave? - iverilog

I installed GTKwave while installing Icarus Verilog on my system. However, it install v.3.3.100, while the latest version is v.3.3.113. How do I update it to the newest version?
I found the link to the latest version here which downloaded a file named "gtkwave-3.3.113.tar.gz". I don't know what to do with this file.
I tried using gtkwave --update on the cmd prompt, but ofc it didn't work. Couldn't find anything on the gtkwave --help menu as well.

Related

Mac install python without developer tools

I am trying to install python 3.11 without the Mac developer tools, which will give me python3.9. But when I used the vscode to open a python file, the command line installer poped up and showed the following message 'the python3 command requires the command line developer tools ....'. But I can run the python3 command in the terminal successfully.
The annoying part is the pop up window. I found some suggestions about relink or rebuild the Xcode / command line tools. But in my case, there is no Xcode path. Please let me know if there is a way to configure the path correctly.
Thank you,
I checked the link of python3 in /usr/bin
I install the python directly from the http://python.org
Do you use Homebrew in your terminal?
You can try to run brew link --overwrite --dry-run python#3.11 in your terminal to see if you need to do an update for your env path. If you do need it, the terminal will give you suggestions to relink, ex. brew link --overwrite python#3.11 or rm '/usr/local/bin/2to3-3.11'
I also had an issue when installing python3.11 through Homebrew in my terminal, it said I must use xcode-select --install to install python3.11.
So later on, I followed this video step by step, and now it works. Whenever I check python3 --version, it returns Python 3.11.1. It also allows me to install another library that depends on python3.11.
Maybe it is worth checking the current version in your terminal and seeing if need to install again the package.

How to install riscv-tools older version using Homebrew

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.

I just installed Nodejs 14.4 from the site, but when I check the version in Command Prompt it shows version 8.10

title says it all. I have been using nodejs with npm for while now and it has been working fine, but I went to check the version and noticed it was an older one. Nodejs - version 8.10.0 and npm - version 3.5.2. I know there are more recent versions of each and like I said I went to download the new version of Nodejs and I got it. I have the path set up to its location in my Environment Variable. I'm not sure what I'm missing. Would love any help.
Edit: Forgot to mention on my original post that I am on Windows.
Edit2: So I was looking at it more and I am using the Ubuntu Bash Shell on muy windows computer. Whenever I check the version in the normal Windows Command Prompt it displays the right version, but when I check it in the Bash shell it is wrong. Any ideas why this happens?
The Node Version Manager. You can find it at https://github.com/coreybutler/nvm-windows
It allows you to easily install and manage multiple versions of node. Here's a snippet from the help:
Usage:
nvm install <version> Download and install a <version>
nvm use <version> Modify PATH to use <version>
nvm ls List versions (installed versions)
install and Usage:
nvm install 6.14.4 # or 10.10.0, 8.9.1, etc
and then
nvm use 6.14.4
So, I was able to solve my own issue
These two links were very important for solving my issue:
E: Unable to locate package npm
https://learn.microsoft.com/en-us/windows/wsl/install-win10#update-to-wsl-2
So basically after uninstalling nodejs I went and tried uninstalling and reinstalling my Ubuntu Bash shell. Once I had the Bash shell set up again I tried running the commands listed in the stackoverflow post I have listed above. (note: When you run the curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - line you need to adjust the "setup" version to 14.x) When I ran all the commands I was able to get my npm version up-to-date, but my nodejs was still being stuck at version 10.x. I tried running the install again on nodejs and thats when I noticed an error reading gpg: can't connect to the agent: IPC connect call failed I did some research on this error and foudn out my WSL1 would not allow it to update to the most recent version. Thats how I found my way to the Microsoft page that led to me needing to update my version of Windows to 1909 and then installing WSL2 through Power Shell. Everything is now up-to-date and working!
You could Uninstall both versions and reinstall the newer version. That should do it
Or better still download the NVM and follow the instructions from here
https://blog.logrocket.com/switching-between-node-versions-during-development/

Hugo version not updating to latest

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

How to install MUPDF library on CentOS 6

I've CentOS 6 and I want to make install from source of MuPDF library on it. I've tried using different links over internet but no success, Can anyone help me?...
Source of MuPDF is available at
https://mupdf.com/downloads/index.html
I've tried this link on last.
http://software-engineering-and-computers.blogspot.com/2013/10/building-mupdf-on-centos.html
Can anyone help me?
The easiest way of installing on CentOS (or any other os) is using anaconda.
Once you make sure that you have anaconda installed, run the command:
conda install -c conda-forge mupdf
That's it!
If you wanna however not use anaconda (I warn you, it will be nowhere as easy as it is with anaconda), you can follow these steps:
1). Get the MuPDF source from the site wget https://mupdf.com/downloads/archive/mupdf-1.14.0-source.tar.gz and decompress it (latest version as of writing. Others available here: https://mupdf.com/downloads/archive/).
2). MuPDF also has a repository on GitHub. This, however, is the latest development version! Do not use it: it is probably not be compatible with the current PyMuPDF.
3). Set environment variables: export CFLAGS="-fPIC" (on CentOS 5, export CFLAGS="-fPIC -std=gnu99" to resolve errors about missing a definition for NAN symbol in the thirdparty/mujs folder).
4). Run the initial make: make HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local
5). If no issues occur install: make HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local install
Reference: https://github.com/pymupdf/PyMuPDF/wiki/Ubuntu-Installation-Experience

Resources