Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Octave packages - command pkg not found

I've recently install Octave like MatLab alternative in Linux.

I want install fuzzy-logic-toolkit but the pkg command does not exist in my system

λ bgarcial [~/Downloads] → pkg install fuzzy-logic-toolkit-0.4.5.tar.gz
zsh: command not found: pkg

λ bgarcial [~/Downloads] → 

How to can I use the pkg command?

like image 646
bgarcial Avatar asked Apr 30 '26 22:04

bgarcial


1 Answers

It seems like you are trying to run an Octave command inside your linux shell.

Aparently you are using Z Shell or zsh, pkg is a command inside octave.

Run octave first you should get something like this:

# octave
octave:1> pkg install fuzzy-logic-toolkit-0.4.2.tar.gz

I havent use octave in a while so I might be wrong.

PS. You should run it as a root user https://gist.github.com/gnomex/cd4bc898f7aa3f2ded58

like image 80
Juan Diego Avatar answered May 05 '26 05:05

Juan Diego



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!