[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wiki : Octave for GNU/Linux
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Wiki : Octave for GNU/Linux |
Date: |
Mon, 11 Feb 2019 07:41:11 +0900 (JST) |
o MATSUOKA wrote:
>> $ sudo flatpak run org.octave.Octave
>>
>>
>> octave:1> pkg install -forge -verbose control
>> warning: creating installation directory /app/share/octave/packages
>> warning: called from
>> install at line 30 column 5
>> pkg at line 437 column 9
>> error: could not create installation directory: Read-only file system
>> error: called from
>> install at line 33 column 7
>> pkg at line 437 column 9
>
> I think the problem here is that you are running as root. Don't use sudo
> to run Octave.
>
> You can install flatpak applications system-wide or per-user.
>
> System-wide:
>
> sudo flatpak install flathub org.octave.Octave
>
> Per-user:
>
> flatpak install --user flathub org.octave.Octave
>
> But you should always run it as a normal user:
>
> flatpak run org.octave.Octave --gui
>
> The problem with root is that Octave's pkg function assumes packages
> will be installed system-wide if root is running Octave. But in flatpak
> the application root directory /app is read-only by design.
>
>> The control package is very popular package.
>> (I use signal package and signal package requires control package)
>
> After fixing the above you should definitely be able to install control
> and signal easily as a normal user.
>
> Does that help?
Perhaps I have made some mistakes and could not run flapak octave without sudo.
I remove ~.local/share/flatpak and reinstall octave.
I can launch flatpak octave without sudo and can install control package.
Thanks
Tatsuro