correct way to install awscli on qubes

33 views
Skip to first unread message

Roy Bernat

unread,
Dec 2, 2018, 10:08:18 AM12/2/18
to qubes-users
Hi all ,

is there a best practice to install awscli in qube ?

Roy

Ivan Mitev

unread,
Dec 2, 2018, 11:29:05 AM12/2/18
to qubes...@googlegroups.com


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

Reply all
Reply to author
Forward
0 new messages