Installing octave package in ubuntu

前端 未结 1 1690
无人共我
无人共我 2021-01-11 14:19

anyone can help me with this error?

octave:4> pkg install signal-1.2.0.tar.gz
error: the following dependencies where unsatisfied:
   signal needs optim &         


        
1条回答
  •  醉梦人生
    2021-01-11 15:00

    You need to install mkoctfile. Depending on your ubuntu version this will be in different packages. It used be in octave-pkg-dev but now is on liboctave-dev.

    Ubuntu and Debian place this as separate package because it is only needed if you want to build the packages yourself. They expect you to use the Octave packages that they packaged (sudo apt-get install octave-signal). Their versions will be behind the actual version but the same happens with the Octave version they distribute. That's the price to pay for stability.

    0 讨论(0)
提交回复
热议问题