Reads the project lockfile or another lockfile supplied as an argument. Then attempts to link to a binary version of each package in the cache. If unavailable it will attempt to link to the newest version in the cache. If that is unavailable it will install the package from the available repositories.