On 12/2/18 5:08 PM, Roy Bernat wrote:
Hi all ,

is there a best practice to install awscli in qube ?

Depends on how you want to use it: in many VMs or in only one ?

If it's in only one, simply install the package to your home folder. Eg.:

pip install --user awscli

The files will then be installed $HOME/.local/lib/pythonX.Y/site-packages/ ; that's assuming you have internet access from this VM.


Now, if you want to use the package in many VMs that are based on a given templateVM, you'll first have to download the required files in a VM that has internet access, copy them to the templateVM, and install them from the copied files.

eg.

in a VM - say 'dispvm1234'

mkdir awscli
pip download awscli -d awscli
qvm-copy awscli

in the templateVM

cd ~/QubesIncoming/dispvm1234/awscli
sudo pip install awscli-[..].whl -f ./ --no-index

--
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/ad6bc075-86e1-fada-02fe-690d1dd2c4db%40maa.bz.
For more options, visit https://groups.google.com/d/optout.

Reply via email to