Clean up Visual Studio For Mac installation failed disk full problem
While trying to install Visual Studio for Mac yesterday, the installer decided to fail halfway during the download and install process.
After quitting the installation process, I found that some of my applications cannot run because of disk full problem. Apparently, the Visual Studio for Mac installer somehow used up all my available disk space. Last I checked that the download size is 3.78 GB and my SSD has about 13 GB free space. What's going on?
To get to the bottom of this disk full problem, I need to see the installation logs. To view the installation logs, first re-run the installer and wait for it fail again. Click on the "Manual Instruction" button.
then
you can click on the "Reveal in Finder" link or see the logs by clicking on "Open Log" button.
Oh no! Unable to execute my favorite iTerm program because of disk full problem!
Luckily I'm still able to access the default Mac OS X's Terminal program and after analyzing the installation logs, I proceed to delete these two folders to remove whatever that are being downloaded halfway by the Visual Studio for Mac installer.
/Users/xxx/Library/Caches/XamarinInstaller (xxx being your default username in Mac, replace it with yours)
and
/Users/xxx/Library/Developer/Xamarin
Voila! Managed to recover back my disk space.
Hope this helps!
See also : Golang : Find file size(disk usage) with filepath.Walk
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+15.1k Golang : How to check if a date is within certain range?
+22.3k Golang : Use wildcard patterns with filepath.Glob() example
+14k Golang : How to run Golang application such as web server in the background or as daemon?
+2.1k Google : Block or disable caching of your website content
+1.9k Golang : Calculate US Dollar Index (DXY)
+2.6k PHP : How to handle URI or URL with non-ASCII characters such as Chinese/Japanese/Korean(CJK) ?
+3.7k Golang : Shuffle strings array
+2.6k Python : Delay with time.sleep() function example
+4.6k Golang : Append and add item in slice
+2.5k Golang : Selection sort example
+2.6k Golang : Test input string for unicode example
+1.7k Golang : A program that contain another program and executes it during run-time