I recently decided to do a complete re-install of my linuxbrew set-up; however, there have been several problems with it. Mysql won’t build properly, and an R package doesn’t run properly. I had mysql installed in the old set-up and the R package was working there too. I’ll address these in github issues.
In the meantime, I’ve been switching back and forth between the set-ups using a symlink. The symlink /home/linuxbrew/.linuxbrew points to /home/linuxbrew/.linuxbrew_old when I need that functionality and to /home/linuxbrew/.linuxbrew_new when I want to troubleshoot what’s going on with the new set-up. The output of
brew dr, however, hints that this may cause problems…
Warning: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew. Some of Homebrew's bottles (binary packages) can only be used with the default prefix (/home/linuxbrew/.linuxbrew).
One may suggest that I just use “mv” as no data is actually moved but only the inode associated with the path is changed; however, I plan to move .linuxbrew_old to a network share as I’m running out of space that has been allotted by our IT to dirs in /home, and I believe that this would actually consist of an actual move of data rather than just changing the inode associated with the path, meaning a “mv” would take forever whenever I’d like to switch.
Any insight would be appreciated. Thanks.