up: support share lib depend and install