added changes to handle symlinking .so & save apt-list locally