I just want to verify the following holds true for installing kexts in 10.11 via the shell and that there are no other steps missing:
sudo cp -R some.kext (/System)/Library/Extensions/ # Add or remove /System based on location of kext on this and next ones
sudo chown -R root:wheel (/System)/Library/Extensions
# maybe add: `sudo chmod -R 755 (/System)/Library/Extensions/`
sudo touch (/System)/Library/Extensions
As I understand it, it may be useful to also do the following as far as the kext caches go in current OS releases:
# For /System; not sure of location for /Library centric kexts:
sudo rm -R /System/Library/Caches/com.apple.kext.caches
sudo kextcache -u / # or /Volumes/"Whatever volume name"
Fix disk permissions
sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
# Fix Homebrew folder if you use it:
sudo chown -R "$USER":admin /usr/local
Reboot:
sudo reboot
*NOTE: the process seems to have changed over the last couple years from this (especially with regards to the kext caches) and I would like to receive verification.
sudo kextload [FILEPATH]
orsudo kextunload [FILEPATH]
? – Thinkr Jun 04 '23 at 07:55