gateway: install package