help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing packages in octave on Ubuntu 12.04


From: Jordi Gutiérrez Hermoso
Subject: Re: Installing packages in octave on Ubuntu 12.04
Date: Fri, 20 Apr 2012 11:40:18 -0400

Please avoid sending HTML emails if possible. I prefer to read plain
text. Also please avoid top-posting. It's not informative to quote an
entire message and only adds cruft.

On 20 April 2012 11:26, mesuron <address@hidden> wrote:
> As I mentioned before I just manually copied all packages files to
> usr/share/octave/packages directory.

This is not how you should be installing anything, ever. Or hardly
ever.

If you want to be installing Octave packages without using apt (i.e.
without using the Ubuntu packaging), you should be using Octave's pkg
install mechanism. If you run something like

    sudo octave -q --eval "pkg install -forge control"

then Octave will install the packages in that location. You shouldn't
be manually copying things into /usr/share.

> There is no packages in any Ubuntu Software Center in versions 10.10
> and latest 12.04 LTS!!!

The packages are in Ubuntu, e.g.

    http://packages.ubuntu.com/oneiric/octave-communications

If you are not seeing them in Software Centre, you probably have some
sort of misconfigured thing in your apt sources. Have you enabled the
Universe repository?

> QT Octave has packages installation manager  that seems like works
> correctly but is is not.

Don't use QtOctave's packaging mechanism. It does not work. QtOctave
itself is also abandoned, so I recommend working without it.

> I tried to use usual way of packages installation through Octave
> terminal and it is obviously giving me a fail!!!

For the nth time, what exactly are you seeing? Copy and paste it to an
email. I don't understand what you're seeing. You've already tried to
describe it enough, now show it to me. Who is saying you need admin
privileges? Show me *exactly* what you're seeing.

> That is why I am proposing to implement in Octave terminal the “SUDO
> manager”, or call is as you want, that will elevate Octave
> application to administrative privileges if needed.

This is very much not needed. Octave can locally install packages
without admin privileges.

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]