octave 4.4 for Fedora 28/29

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

octave 4.4 for Fedora 28/29

Orion Poplawski-2
FYI -

    I'm trying out the new Modular / AppStream functionality of Fedora
28+ to try to provide octave 4.4 (currently 4.4.1) updates.  I've just
submitted the octave 4.4 module to the updates-testing-modular repo.
I'd be grateful for those of you on Fedora to give it a try.

Feedback can be given on the update for F28 or F29 here:
https://bodhi.fedoraproject.org/updates/?packages=octave%3A4.4

Thanks,

    Orion

--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [hidden email]
Boulder, CO 80301                 https://www.nwra.com/

Reply | Threaded
Open this post in threaded view
|

Re: octave 4.4 for Fedora 28/29

Colin Macdonald-2
On 2018-11-19 7:31 p.m., Orion Poplawski wrote:
> FYI -
>
>     I'm trying out the new Modular / AppStream functionality of Fedora
> 28+ to try to provide octave 4.4 (currently 4.4.1) updates.  I've just
> submitted the octave 4.4 module to the updates-testing-modular repo. I'd
> be grateful for those of you on Fedora to give it a try.

Orion,

TL;DR it works on F28.

- - - - - - - - - -

I've not poked at modules yet so this seemed a good time to try... I'll
document below on F28 in case others were also unsure how to play with
the New Shiny...

# dnf install fedora-repos-modular

# dnf module list

There was no Octave, presumably b/c its in testing still, so I enabled
/etc/yum.repos.d/fedora-updates-testing-modular.repo

# dnf module list

octave                            4.4                         20181118231341

- - - - - - -

# dnf module install octave:4.4
Last metadata expiration check: 0:04:19 ago on Fri 23 Nov 2018 10:01:28
AM PST.
Error: No such profile: octave:4.4:20181118231341/default

- - - - - - -

So then I tried:

# dnf module enable octave:4.4
'octave:4.4' is enabled

# dnf install octave
Dependencies resolved.
=========================================================================================================================================
  Package                     Arch                Version
                       Repository                            Size
=========================================================================================================================================
Upgrading:
  octave                      x86_64
6:4.4.1-1.module_2492+8a359c74               updates-testing-modular
           16 M
  octave-devel                x86_64
6:4.4.1-1.module_2492+8a359c74               updates-testing-modular
          549 k
  octave-doctest              noarch
0.6.1-4.module_2492+8a359c74                 updates-testing-modular
           28 k

- - - - - - - -

Now my /usr/bin/octave is 4.4.1.  No idea where my old 4.2 octave is
because AFAICT it never uninstalled the old RPM.  Probably I just don't
understand modular yet.

thanks,
Colin

Reply | Threaded
Open this post in threaded view
|

Re: octave 4.4 for Fedora 28/29

Orion Poplawski-2
On 11/23/18 11:13 AM, Colin Macdonald wrote:

> On 2018-11-19 7:31 p.m., Orion Poplawski wrote:
>> FYI -
>>
>>     I'm trying out the new Modular / AppStream functionality of Fedora
>> 28+ to try to provide octave 4.4 (currently 4.4.1) updates.  I've just
>> submitted the octave 4.4 module to the updates-testing-modular repo.
>> I'd be grateful for those of you on Fedora to give it a try.
>
> Orion,
>
> TL;DR it works on F28.
>
> - - - - - - - - - -
>
> I've not poked at modules yet so this seemed a good time to try... I'll
> document below on F28 in case others were also unsure how to play with
> the New Shiny...
>
> # dnf install fedora-repos-modular
>
> # dnf module list
>
> There was no Octave, presumably b/c its in testing still, so I enabled
> /etc/yum.repos.d/fedora-updates-testing-modular.repo
>
> # dnf module list
>
> octave                            4.4                        
> 20181118231341
>
> - - - - - - -
>
> # dnf module install octave:4.4
> Last metadata expiration check: 0:04:19 ago on Fri 23 Nov 2018 10:01:28
> AM PST.
> Error: No such profile: octave:4.4:20181118231341/default

The next version of the octave module will have a default profile that
will install the main octave package.  There could be other profiles as
well if it makes sense to have them.

> - - - - - - -
>
> So then I tried:
>
> # dnf module enable octave:4.4
> 'octave:4.4' is enabled
>
> # dnf install octave
> Dependencies resolved.
> =========================================================================================================================================
>
>   Package                     Arch                Version
>                        Repository                            Size
> =========================================================================================================================================
>
> Upgrading:
>   octave                      x86_64
> 6:4.4.1-1.module_2492+8a359c74               updates-testing-modular
>            16 M
>   octave-devel                x86_64
> 6:4.4.1-1.module_2492+8a359c74               updates-testing-modular
>           549 k
>   octave-doctest              noarch
> 0.6.1-4.module_2492+8a359c74                 updates-testing-modular
>            28 k
>
> - - - - - - - -
>
> Now my /usr/bin/octave is 4.4.1.  No idea where my old 4.2 octave is
> because AFAICT it never uninstalled the old RPM.  Probably I just don't
> understand modular yet.
>
> thanks,
> Colin

The modular system in Fedora does not allow for parallel installs of
different versions.  So you had a straight upgrade from 4.2 to 4.4.
Thanks for spelling out the steps as well.

--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [hidden email]
Boulder, CO 80301                 https://www.nwra.com/