Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Pro Tools Software > macOS
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-17-2023, 08:13 AM
Righty27 Righty27 is offline
Member
 
Join Date: Sep 2010
Location: UK
Posts: 1,096
Default Clean install - deleting old Library files

Just spent a few hours cleaning up my new Mac as part of my clean install process, whereby I was still carrying lots of old files/folders that are no longer required/relevant. Ideally, I'm aiming to only install Apple Silicon apps/plug-ins and, whilst I plan to retain backup copies, there's lots of old software that won't be installed at all.

However, I cannot delete the sub-folders within my ~/Library/Audio/Plug-Ins folder - these are Components, Digidesign and VST, out of which I guess that Digidesign shouldn't be required in future.

Not an issue of e.g. space but just wondering why these cannot be deleted, whereas their equivalents in the main Library folder can, for example?

Might be something obvious ... maybe just tired?! :)
Reply With Quote
  #2  
Old 12-17-2023, 12:56 PM
albee1952's Avatar
albee1952 albee1952 is offline
Member
 
Join Date: May 2004
Location: Norwich, CT
Posts: 39,332
Default Re: Clean install - deleting old Library files

Total guess but maybe disk permissions are not set correctly(restricting what you are able to do)
__________________
HP Z4 workstation, Mbox Studio
https://www.facebook.com/search/top/...0sound%20works


The better I drink, the more I mix

BTW, my name is Dave, but most people call me.........................Dave
Reply With Quote
  #3  
Old 12-17-2023, 12:59 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Clean install - deleting old Library files

Be careful here. If this is a new Mac how did stuff get onto it that needs to be removed? With any new major upgrade, you are much better off re-installing what you need from the latest installers.

And the odd empty directory scattered in places takes no real space and you never know if some uninstaller or other software might assume it's there so best to just leave stuff alone. Especially under the mess that is ~/Library.

As for why you can't remove stuff, these directories are just macOS directories protected by ACL permissions with "everyone deny delete" set. You can see this by looking at the ACL permissions with ls -lde <directory name>. (edit: sorry I had mistyped the e aka "extended" option as s). If you really really really need to delete them you can change the ACL permissions or just blow it away with sudo rm -rf <directory name>. But you should be questioning why you are going this.

Be careful removing VST/VST3 or even AU plugins from /Library/Audio/Plug-Ins/* or ~/Library/Audio/Plug-Ins/* even if you do not have any DAW or other audio apps that use these plugins directly. Pro Tools might be using say VST plugins if you specifically use VST host software like BlueCat PatchWork, but also some AAX plugins use direct wrappers for VST plugins, and you need those VST plugins installed for the AAX plugin to work. Some of the plugins obtained directly from AIR Instruments do that for example. Some non-obvious non-DAW audio apps on Mac might install AU plugins since this is all so closely tied to CoreAudio.

And don't mess with /Library/Audio/Plug-Ins/HAL these are CoreAudio driver components, either to implement audio routing like ProToolsAudioBridge or part of the new (user space audio drivers) AudioDriverKit software.

Some installers or uninstallers may later barf if you have removed stuff by hand or changed file permissions. It can be better to use an uninstaller to fully remove traces of a plugin if you really want to get rid of it, but not all plugin vendors are great about that either. But running an installer and picking not to install say AU and VST plugins is great if you don't need them, the installer should knows if say an AAX plugin would rely on a VST plugin being installed, etc.

For almost all applications and plugins and libraries you don't get to pick Intel or Apple Silicon native support, they are both built into those files at a low level and you don't mess with that. So again a clean Mac or clean macOS install and just install the minimum needed software is often the best way to go.

Last edited by Darryl Ramm; 12-17-2023 at 06:33 PM.
Reply With Quote
  #4  
Old 12-18-2023, 01:12 AM
Righty27 Righty27 is offline
Member
 
Join Date: Sep 2010
Location: UK
Posts: 1,096
Default Re: Clean install - deleting old Library files

Quote:
Originally Posted by albee1952 View Post
Total guess but maybe disk permissions are not set correctly(restricting what you are able to do)
Thanks Dave - disk permissions looked correct.

Quote:
Originally Posted by Darryl Ramm View Post
... how did stuff get onto it that needs to be removed?
Cheers Darryl - used Migration/Setup Assistant to transfer my user account from old Macintosh HD (in a drive enclosure) without transferring any applications. Decided on this approach versus recreating the account and transferring data manually, in order to avoid manually setting UIDs/GIDs, which you previously guided me on also. I ran some tests using a separate MacBook Pro and my original account used/allowed uppercase character(s) whereas new accounts did not, so I wasn't convinced that everything would match without resorting to further tweaking.

Quote:
Originally Posted by Darryl Ramm View Post
As for why you can't remove stuff, these directories are just macOS directories protected by ACL permissions with "everyone deny delete" set. You can see this by looking at the ACL permissions with ls -lde <directory name>. (edit: sorry I had mistyped the e aka "extended" option as s). If you really really really need to delete them you can change the ACL permissions or just blow it away with sudo rm -rf <directory name>. But you should be questioning why you are going this.
I wasn't familiar with ACLs and this would make sense. These three folders (although I was only looking to delete Digidesign, as I doubt that naming would be used anymore) were the only examples I encountered whilst removing everything clearly related to any 3rd-party/application/plugin/VI not installed on the Mac by default, in the knowledge that I do not save my own presets, etc. ... so, the idea is to now install everything afresh. I erred on the side of caution, however on the basis that everything will now be reinstalled, I imagine that any missing folder(s) would be recreated.

Quote:
Originally Posted by Darryl Ramm View Post
Be careful removing VST/VST3 or even AU plugins from /Library/Audio/Plug-Ins/* or ~/Library/Audio/Plug-Ins/* even if you do not have any DAW or other audio apps that use these plugins directly. Pro Tools might be using say VST plugins if you specifically use VST host software like BlueCat PatchWork, but also some AAX plugins use direct wrappers for VST plugins, and you need those VST plugins installed for the AAX plugin to work. Some of the plugins obtained directly from AIR Instruments do that for example. Some non-obvious non-DAW audio apps on Mac might install AU plugins since this is all so closely tied to CoreAudio.
I've avoided anything that looks like it's related to the non-'Pro' Apple apps - I'll reinstall the likes of FCPX, MainStage, etc. anyway. My old system did have both BlueCat Patchwork and all the AIR stuff installed, and I deleted their files. My logic being the same i.e. would reinstall (if I could work out how for AIR!)

Quote:
Originally Posted by Darryl Ramm View Post
It can be better to use an uninstaller to fully remove traces of a plugin if you really want to get rid of it
Some of my software, and related files, go back to 2009, so using the original developer's uninstaller (not always saved or kept up-to-date) would have added significantly to the task - I have accrued LOTS of software over that time. FWIW, in case it interests anyone in future, I looked into CleanMyMac and similar (which I've always steered clear of). They rely somewhat on logs recorded at the time of installation, in order to identify what to delete - their support didn't clearly answer my questions and I doubted whether this would have been effective in my scenario (where the Library, etc. files have appeared on a new system without the associated apps being installed).

Quote:
Originally Posted by Darryl Ramm View Post
For almost all applications and plugins and libraries you don't get to pick Intel or Apple Silicon native support, they are both built into those files at a low level and you don't mess with that. So again a clean Mac or clean macOS install and just install the minimum needed software is often the best way to go.
Understood - I've been using a second Mac during the period where my old iMac (High Sierra) has been out of service and receiving my new Studio (Sonoma - I know!) - this has a typical transitional mix of Intel/Apple Silicon. During that period, I've complied a compatibility spreadsheet and plan to only install the Apple Silicon stuff on the Studio as/when compatible (mostly now) plugins are released.

Thanks for the awesome, detailed advice - I also like to add my detail here in case it helps others in future! :)
Reply With Quote
  #5  
Old 12-18-2023, 01:49 AM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Clean install - deleting old Library files

Great stuff.

I forgot to mention one very nice article on ACLs from Howard Oakley: https://eclecticlight.co/2022/02/16/...sions-and-acls

A nice promotion of Tinker Tool. Oakley posts so many useful deeper Mac articles.

ACL capability can be a bit to learn but it is needed to make modern computer systems really work with usable security/permissions. Windows, Linux, and macOS all support ACLs with similar capabilities/behavior.
Reply With Quote
  #6  
Old 12-18-2023, 02:46 AM
thin ice thin ice is offline
Member
 
Join Date: Aug 2002
Location: Berkshire
Posts: 982
Default Re: Clean install - deleting old Library files

What was said about VST plugins is something I experienced. Omnisphere stopped working when I deleted the VST3 plugin that I assumed Pro Tools wasn't using. A few other instrument plugins were exactly the same.

The frustration of Mac System Data grabbing over 120gb of my drive is what lead led trying to clean things out of Library folders, but you have to be quite careful.

The only thing I ever managed to do safely was delete Time Machine Snapshots to save any space. For some reason they start writing to my system drive, even though I use and external drive for TM.
__________________
Mac Mini M1 16 GB
OS 12.7.4
PT 2024.3.1

Last edited by thin ice; 12-18-2023 at 06:10 AM.
Reply With Quote
  #7  
Old 12-18-2023, 03:59 AM
JFreak's Avatar
JFreak JFreak is offline
Moderator
 
Join Date: Jan 2003
Location: Tampere, Finland
Posts: 24,909
Default Re: Clean install - deleting old Library files

That's why clean install (yes, wiping whole hard drive) is recommended every now and then. Especially now when one of your goals is to only install ARM compatible apps and plugs.
__________________
Janne
What we do in life, echoes in eternity.
Reply With Quote
  #8  
Old 12-18-2023, 09:22 AM
Righty27 Righty27 is offline
Member
 
Join Date: Sep 2010
Location: UK
Posts: 1,096
Default Re: Clean install - deleting old Library files

Quote:
Originally Posted by thin ice View Post
The only thing I ever managed to do safely was delete Time Machine Snapshots to save any space. For some reason they start writing to my system drive, even though I use and external drive for TM.
My understanding is that this is how Time Machine (at least used to) work i.e. local saves in periods between connecting your external drive(s). However, I believe this all changed with APFS.

Picking up + seconding Darryl's recommendation of The Eclectic Light Company, I have learnt and decided to start a new Time Machine set for my new Mac as inheriting my longstanding/full history which commenced pre-APFS (for Time Machine - initially, only HFS was compatible) wasn't viable.
Reply With Quote
  #9  
Old 12-19-2023, 02:28 AM
thin ice thin ice is offline
Member
 
Join Date: Aug 2002
Location: Berkshire
Posts: 982
Default Re: Clean install - deleting old Library files

Quote:
Originally Posted by Righty27 View Post
My understanding is that this is how Time Machine (at least used to) work i.e. local saves in periods between connecting your external drive(s). However, I believe this all changed with APFS.

Picking up + seconding Darryl's recommendation of The Eclectic Light Company, I have learnt and decided to start a new Time Machine set for my new Mac as inheriting my longstanding/full history which commenced pre-APFS (for Time Machine - initially, only HFS was compatible) wasn't viable.
That's interesting. So are you saying that I should leave my Time Machine drive connected permanently; would that stop it writing snapshots?
__________________
Mac Mini M1 16 GB
OS 12.7.4
PT 2024.3.1
Reply With Quote
  #10  
Old 12-19-2023, 04:19 AM
Righty27 Righty27 is offline
Member
 
Join Date: Sep 2010
Location: UK
Posts: 1,096
Default Re: Clean install - deleting old Library files

... this should explain properly ...

https://eclecticlight.co/2016/01/01/...cal-snapshots/

https://eclecticlight.co/2020/07/29/...and-snapshots/

https://eclecticlight.co/2022/02/15/...ine-snapshots/

Hope that helps!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What files to transfer for PT LE 8 on Snow Leopard clean install sturdystrutter 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 3 10-18-2016 02:01 PM
Mavericks Clean install. PT LE8 user. What files to transfer? skronger macOS 23 06-09-2014 05:05 AM
Pro Tools 10.3.2 wont even install! After clean windows 7 install!!! shamanrock Windows 13 12-27-2012 04:39 PM
Clean install of PT 10 under fresh install of Lion bortraws macOS 0 10-24-2011 08:53 AM
Can't install Pro Tools 8! Clean install, new system, Vista! DJ Hellfire 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) 31 01-09-2011 11:16 AM


All times are GMT -7. The time now is 02:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com