Some time ago I went through cleaning of my mac and I have removed old developer tools from Library, which were for old iOS versions. I no longer need them, nobody uses them, I have removed them and reclaimed some space.  Today, however, I cam across the com.apple.DeveloperTools located in /private/var/folders. It's around 40GB of uselessness.   How come it ended up there? Can I safely remove it?    Thanks
8604
I have this folder /private/var/folders/bf/ with 3GB of what seems temporary files. Can I delete this folder?
32237
okay, so tyeing to type "icons" in the /usr/share/ directory, hit the delete key as root, now my icons are gone, all of them, the options for play in totem or the ones on the desktop....all of them, any help?
92410
Recently I uninstalled some software using sudo apt-get --purge autoremove, thinking that this would remove all traces of it including unused dependencies and configuration files. However I discovered that a configuration file was left behind in my home folder.  Is there a more powerful command which would remove even that?   Also, is it safe to delete the hidden files and folders under home, if they are merely configuration files, or are there other kinds of files?
91215
Today the App Store is offering me the Command Line Tools for Xcode 10.0 beta 1.  I do not recall ever signing up as a beta tester for any Apple software. Why do I get this update and how can I prevent such beta software from being accidentally installed on my system? I have macOS 10.13.5 and Xcode 9.4. I also have MacPorts with clang 6.0 (newer than the one in Xcode, but it shouldn't interfere).  Update 2019-06-04: It is happening again, this time it is offering &quot;Command Line Tools beta 1 for Xcode 11.0&quot;. This seems to be a mistake on Apple's part again (see the accepted answer). Update 2020-09-15: Again with &quot;Command Line Tools beta 5 for Xcode 12.0&quot;.
42669
Dose anyone know how to make application folders like the 'utilities' folder? It's because I have a lot of apps and want to group them by topic.
47767
I want to delete the pre-installed apps, like Music, Books, Siri etc. from my iMac running Catalina. How do I do this?  (NOTE:  asks the same thing but was closed as a duplicate of . Annoyingly, the supposed duplicate doesn’t give an obvious answer to the question, and the original was locked can’t be answered, hence a new question. I can’t add an answer to  either)
78346
I have deleted some files around /var/lib/dpkg/, namely:  /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/*   I understand Debian uses these files to keep some information about installed packages. Now when I do apt-get update, I get following error:  Reading package lists... Error! E: Could not open file /var/lib/dpkg/status - open  (2: No such file or directory) E: The package lists or status file could not be parsed or opened.   As I understand the , files located in /var are not supposed to be system-critical. Rater these should be temporary files, logs, caches, and similar.   Is there therefore a way to recreate the deleted files ?
121358
I'm disabling the cache from Safari developer menu, but each time I reboot my computer, the cache is re-enabled.  I'm looking for a permanent solution for disabling the cache.  Any ideas?
38228
Hello,    This question is about the Command Line Developer Tools that are usually installed with xcode-select --install and updated via a software update from the Mac App Store (at least until macOS 10.13). I use the developer toolchain on a daily basis and it has always worked and updated without issues.    Today I've updated my mac from High Sierra 10.13.6 to Mojave 10.14.1, and I've lost the ability to update the Developer Tools.    After the update I've executed a terminal command that relies on the developer tools being installed. It was a command to update , although I don't think that the specifics matter, as I believe that any task that tried to access the developer tools would have triggered the same error message.    The error was:   xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun       The phrasing was new (maybe), but I thought that it was caused by the usual need to re-install the Developer Tools after some macOS updates.    Later I tried to dig a bit deeper into the failure, and found out that:  $ ls -l /Library/Developer/CommandLineTools/usr/total 0drwxr-xr-x  3 root  admin  96  4 Nov 19:32 share$ which xcrun/usr/bin/xcrun$ xcode-select -p/Library/Developer/CommandLineTools    Still, as I normally do, I entered the command to install and update the Developer Tools in the terminal:  xcode-select --install    This started the usual procedure: modal window to confirm, then request to accept the license agreement, followed by a progress bar. Except that it failed very quickly with an unexpected error:     Can&rsquo;t install the software because it is not currently available from the Software Update server.     I've tried several times, to no avail. It gets always stuck.    Sometimes, however, the failure causes the System Preferences to report a pending update:      If I open that preference panel it starts searching for updates, and it always finds nothing except the first time that it happened. The first time, it found this:          It literally suggested me to install the updates for macOS 10.11 and 10.13. I have no idea why.  I closed the preference without installing, and as I said it hasn't shown them again. There is also no update available in new Mac App Store.   Is this a known issue? Is there any way to resolve the problem?     Update  Of course I can download the Dev Tools for macOS 10.14 installer from .  Before installing them manually, though, I'm wondering if there is anything that's broken with the system.
103223
I uninstalled Homebrew using .  After running the above commands, I can't find .bashrc and .bash_profle. All files are gone from Documents , Desktop and Downloads :'(  When I do git status on /Users/ava it shows:  # On branch master # Untracked files: #   (use "git add &lt;file&gt;..." to include in what will be committed)  ... all the files which are in /Users/ava   history   113  cd `brew --prefix`   114  rm -rf Cellar   115  brew prune   116  rm `git ls-files`   117  rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributions   118  rm -rf .git   119  rm -rf ~/Library/Caches/Homebrew   120  sudo chown -R $USER:admin /usr/local   121  ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"   122  brew doctor   What just happened?
22484
I had installed a trial version of . Now I want to delete it.  I go to Applications list, it is not there. I search its name in SpotLight, it is not there either. But it keeps attaching its self to the menu bar at the top.  How can I deinstall Drive Genius?
69071
I am aware there are more questions with the same title, but I couldn't find any other post with this specific case.  I have Xcode 7.0 and I want to update to the last version (7.3). But it doesn't appear in the updates page of the App Store. So, I searched for Xcode in the App Store and clicked the little update button. The button remains pressed and a loop icon appears on the top. But it stays like that for hours and there's no sign it's updating.    This doesn't seem to be working. I found in the internet that if I uninstall and reinstall it may work, but I don't want to lose all my projects.
80617
I uninstalled my iWork tools - Keynote, Numbers and Pages - from my MacBook Air.      Unfortunately, I don't want to upgrade my MBA to Mojave/Catalina in order to install.  I looking for the working iWork version for 10.12 Sierra.  Is there some repository for old versions of iWork?
81913
I understand there was a uninstaller for Safari 6 beta (is that available anywhere?) but it seems no longer available in the Apple Dev Center, and I am on Safari 6 release version.  I need to remove this and revet back to 5.1.7.
89026
I am running out of disk space and noted that I have a large /var/cache directory. Can I safely remove this? (using Arch Linux, BTW).
35365
I've been building my own Linux distro, and I've stripped the binaries, etc. The system won't use GCC or development tools, as it will be a Chrome kiosk, so it would greatly help if I could strip down the system...  I was wondering, is there a way that I can delete all of the unused system files (like binaries, etc.) by watching what files/libraries are used during runtime? Maybe another method is preferred, but is there a way to accomplish something like this?
104436
Does Apple's Xcode development environment provide any tools for memory leak detection?  I am especially interested in tools that apply to the iPhone SDK. Currently my favourite platform for hobby programming projects  Documentations/tutorials for said tools would be very helpful.