I usually don't even bother doing that through Unity: just open a tty with crtl+alt+f6, install all the packages from there ;)