Re: [qubes-users] having to Install and run software twice?

2019-03-11 Thread Stuart Perkins



On Fri, 8 Mar 2019 16:31:48 -0600
Daniel Allcock  wrote:

>Hi Stuart,
>
>Just a guess, but perhaps this is it.  I assume you are using
>dnf install in the usual way, not anything exotic.
>
>When you install software in the template, the AppVm doesn't "notice"
>until you restart it.  Furthermore, it won't see the new software
>unless you shut down the template before you restart the appvm.  So
>the procedure is: install software in the template, then shut down
>the template, then restart the appvm.
>
>This can be troublesome if you are in the middle of something and don't
>want to restart the appvm, but need some package. In that case you can
>go ahead and install in the appvm too.  Just understand that the
>installation in the appvm will be wiped out when the appvm is shut
>down.  (Although you won't notice, if it is installed in the template.)
>
>Daniel 
>
>On Fri, 8 Mar 2019 13:40:32 -0600
>Stuart Perkins  wrote:
>
>> On Fri, 8 Mar 2019 09:45:36 -0800 (PST)
>> chris.boscarin...@gmail.com wrote:
>>   
>> >Hi,
>> >Just a quick question. I install software into my template (Fedora,
>> >in this case) but when I try to run it from my "personal" qube, I
>> >must install it again in that qube, as well as run the program once
>> >in the template, then again in the "personal" qube. I don't see
>> >anything in the documentation about having to do this,  so I
>> >wondered if I was doing something incorrectly, or that's the correct
>> >procedure. Thanks. Chris
>> >
>> 
>> Depends on the software installation path.  Some software installs
>> under the user directories, which would NOT be copied from the
>> template to the appvm.
>>   
>

Yes, Daniel.  I was assuming the shutdown/restart sequence.  

When you start an appVM, it refreshes its copy of the software installation.  
Updating the template vm is not really complete until you shut it down after 
doing the updates/installs.  I probably should have specified that.  

If you do the indicated start template/install software/shutdown 
template/shutdown appvm/start appvm and the newly installed software is not 
there, it may be that the installation directory wound up somewhere other than 
the "normal" software path on the Template.  Some software has a habit of doing 
that...such as "tor browser" which installs in your /home/... path.

Normally, to install new software for an appvm..

Start the template used by the appvm.
Install the software in the template for the appvm.
Shutdown the template.
if the appvm is running, shut it down.
Start the appvm to get a "fresh copy" of the installed software from the 
template.

Then you should be able to run the new software in the appvm.

Stuart

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20190311094903.0b2a3477%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] having to Install and run software twice?

2019-03-08 Thread Daniel Allcock
Hi Stuart,

Just a guess, but perhaps this is it.  I assume you are using
dnf install in the usual way, not anything exotic.

When you install software in the template, the AppVm doesn't "notice"
until you restart it.  Furthermore, it won't see the new software
unless you shut down the template before you restart the appvm.  So
the procedure is: install software in the template, then shut down
the template, then restart the appvm.

This can be troublesome if you are in the middle of something and don't
want to restart the appvm, but need some package. In that case you can
go ahead and install in the appvm too.  Just understand that the
installation in the appvm will be wiped out when the appvm is shut
down.  (Although you won't notice, if it is installed in the template.)

Daniel 

On Fri, 8 Mar 2019 13:40:32 -0600
Stuart Perkins  wrote:

> On Fri, 8 Mar 2019 09:45:36 -0800 (PST)
> chris.boscarin...@gmail.com wrote:
> 
> >Hi,
> >Just a quick question. I install software into my template (Fedora,
> >in this case) but when I try to run it from my "personal" qube, I
> >must install it again in that qube, as well as run the program once
> >in the template, then again in the "personal" qube. I don't see
> >anything in the documentation about having to do this,  so I
> >wondered if I was doing something incorrectly, or that's the correct
> >procedure. Thanks. Chris
> >  
> 
> Depends on the software installation path.  Some software installs
> under the user directories, which would NOT be copied from the
> template to the appvm.
> 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20190308163148.5f45bbcb%40allcock.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] having to Install and run software twice?

2019-03-08 Thread Stuart Perkins



On Fri, 8 Mar 2019 09:45:36 -0800 (PST)
chris.boscarin...@gmail.com wrote:

>Hi,
>Just a quick question. I install software into my template (Fedora, in this 
>case) but when I try to run it from my "personal" qube, I must install it 
>again in that qube, as well as run the program once in the template, then 
>again in the "personal" qube.
>I don't see anything in the documentation about having to do this,  so I 
>wondered if I was doing something incorrectly, or that's the correct procedure.
>Thanks.
>Chris
>

Depends on the software installation path.  Some software installs under the 
user directories, which would NOT be copied from the template to the appvm.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20190308134032.72863d3b%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] having to Install and run software twice?

2019-03-08 Thread chris . boscarino66
Hi,
Just a quick question. I install software into my template (Fedora, in this 
case) but when I try to run it from my "personal" qube, I must install it again 
in that qube, as well as run the program once in the template, then again in 
the "personal" qube.
I don't see anything in the documentation about having to do this,  so I 
wondered if I was doing something incorrectly, or that's the correct procedure.
Thanks.
Chris

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9932d31f-c983-47af-9ccc-4f5f701b03ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.