How do I install three Snap Apps at the same time? Let's pick these three
- Notes
- Shout
- Hangups
maybe
sudo snap install notes && sudo snap install shout && sudo snap install hangups
or
sudo snap install notes shout hangups
?
How do I install three Snap Apps at the same time? Let's pick these three
maybe
sudo snap install notes && sudo snap install shout && sudo snap install hangups
or
sudo snap install notes shout hangups
?
The second example you give works, on the proviso that all three use the same confinement model. If one of them requires the
--classic
confinement model, then it will need a separate install step.So simply:-
Will work. As you can see here:-
Parallel installs
snap now also has an experimental parallel install feature documented at: https://snapcraft.io/docs/parallel-installs
As of snap 2.50.1 Ubuntu 21.04, if you do:
it fails with:
and after:
the installation works.
However, if you run again:
it now fails with:
and exits with status 1 which is annoying because I with it were idempotent by default while developing and re-running my setup scripts. This has been asked at: Problem when trying to install multiple apps with snap
It is possible just specify wherever is needed
Hope to help! :)