install packages using URL; explicitly create db instance