How to install Maple in a Fedora-30 template in Qubes OS R4.0 ?

48 views
Skip to first unread message

M

unread,
Nov 9, 2020, 11:59:41 AM11/9/20
to qubes-users
I have received this file from a administrator at my workplace: "Maple2020.1LinuxX64Installer.run" which I have downloaded to my work domain.

My question is then: How can I install Maple in a Fedora-30 template in Qubes OS R4.0. ... ?

awokd

unread,
Nov 9, 2020, 2:22:02 PM11/9/20
to qubes...@googlegroups.com
'M' via qubes-users:
Don't know Maple specifically, but if it's like most packages, you
qvm-copy it to the template, then install it there. Be aware it will
then be "installed" in all AppVMs based on that template.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Andrew David Wong

unread,
Nov 9, 2020, 6:03:27 PM11/9/20
to M, qubes-users
Please note that Fedora 30 reached EOL a long time ago:

https://www.qubes-os.org/news/2020/04/30/fedora-31-template-available/

And Fedora 31 is also approaching EOL:

https://www.qubes-os.org/news/2020/10/27/fedora-31-approaching-eol/

--
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org

OpenPGP_signature

unman

unread,
Nov 9, 2020, 7:49:01 PM11/9/20
to qubes...@googlegroups.com
On Mon, Nov 09, 2020 at 07:21:25PM +0000, 'awokd' via qubes-users wrote:
> 'M' via qubes-users:
> > I have received this file from a administrator at my workplace:
> > "Maple2020.1LinuxX64Installer.run" which I have downloaded to my work
> > domain.
> >
> > My question is then: How can I install Maple in a Fedora-30 template in
> > Qubes OS R4.0. ... ?
> >
> Don't know Maple specifically, but if it's like most packages, you qvm-copy
> it to the template, then install it there. Be aware it will then be
> "installed" in all AppVMs based on that template.
>

If you're looking for specific advice on how to install it, the first
thing to do is to check what *sort* of file it is. You can do this using
the `file` command.
But from the "run" suffix, I'm guessing it's an installer script. You
would need to check that it is executable by running `ls -l`, or make it
so using `chmod +x`

I don't know Maple: you may or may not be able to install it in a
template. If it is intended to be installed in the home directory, then
you should run it in /etc/skel in the template and install it there.
Then it will appear in the /home/user directory in qubes created from
that template.
Otherwise install it in the home directory in a qube. You can always
clone that to other qubes.

When you've determined the best approach, please document it here so
other users can benefit from your experience.

M

unread,
Nov 13, 2020, 7:05:13 AM11/13/20
to qubes-users
Thank you for your advices.

In case you would like to know, here is a description of the application called "Maple": https://maplesoft.com/products/Maple/ and https://en.wikipedia.org/wiki/Maple

Regarding the "Fedora-30 template", if it has ended it's life long time ago, then why is it still the template version in Qubes R4.0.3 or is it just the shown name of the template in the Qubes Applicatons menu ?

Do I understand you correctly "unman", that I can choose to either install the application in a template or just in a AppVM, and if so how do I only install it in a AppVM ?

Effie ML

unread,
Nov 13, 2020, 7:36:50 AM11/13/20
to qubes...@googlegroups.com
On 11/13/20 1:05 PM, 'M' via qubes-users wrote:
Thank you for your advices.

In case you would like to know, here is a description of the application called "Maple": https://maplesoft.com/products/Maple/ and https://en.wikipedia.org/wiki/Maple

Regarding the "Fedora-30 template", if it has ended it's life long time ago, then why is it still the template version in Qubes R4.0.3 or is it just the shown name of the template in the Qubes Applicatons menu ?

Because Qubes ISOs are offline (the reason they are so big) and are created manually.

There is work on R4.0.4 which has Fedora 32, however it might be a few days before it gets released


Do I understand you correctly "unman", that I can choose to either install the application in a template or just in a AppVM, and if so how do I only install it in a AppVM ?

It depends on the application. We don't know it.

I know if you are using Snap (and maybe appimage or flatpak) you can install in an AppVM.

tirsdag den 10. november 2020 kl. 01.49.01 UTC+1 skrev unman:
Advising that you are leaking language, and therefore possibly country.
--
You received this message because you are subscribed to the Google Groups "qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/8e371d4e-8825-4d06-b376-ed82000f4ca6n%40googlegroups.com.

M

unread,
Nov 13, 2020, 8:07:15 AM11/13/20
to qubes-users
What makes the difference between if an application can and cannot be installed only in a AppVM ?

Effie ML

unread,
Nov 13, 2020, 8:14:33 AM11/13/20
to qubes...@googlegroups.com
The difference is, if the install script puts data into /home /usr/local or /rw. If it puts data into anywhere else (e.g. if it installs a package) then it can only be in a Template.
OpenPGP_0xA4F7ABA43C0CCC66.asc
OpenPGP_signature

M

unread,
Nov 13, 2020, 8:35:57 AM11/13/20
to qubes-users
Can I then open a terminal and view the script-file in nano and try to see if it installs a package or place data anywhere else to determine if it's possible to only install it in a AppVM, or is it possible that it isn't written in the installer script that it puts data somewhere else ?

unman

unread,
Nov 13, 2020, 9:48:49 AM11/13/20
to M, qubes-users
On Fri, Nov 13, 2020 at 05:35:56AM -0800, 'M' via qubes-users wrote:
>
> Can I then open a terminal and view the script-file in nano and try to see
> if it installs a package or place data anywhere else to determine if it's
> possible to only install it in a AppVM, or is it possible that it isn't
> written in the installer script that it puts data somewhere else ?
>

Yes - example - Matlab has an installer file that gives you the option
to choose destination. If /opt then it has to go in TemplateVM; but if
you choose somewhere in /home/user you can install in to an AppVM,
since *that* will persist across reboots.
The choice there comes as option in install process.
You quite likely *will* be able to see this in the script.

Since I'm just a bodger at heart, I would go ahead and run the script in
a Template based qube, and see what happens. If you get the option well
and good; if not you've learnt something in exchange for a few
minutes of your time.
Doing this will *also* allow you to see what packages you may
additionally need to install, so that's a bonus too.
Reply all
Reply to author
Forward
0 new messages