1/9/2024 0 Comments Uninstallpkg mac appUninstallPKG allows viewing the contents of any of the packages it has displayed in the list. You can remove these packages quickly by selecting them from the list and then clicking on the Uninstall Package button.īefore removing a package from your Mac, you may want to see the contents of that package. In its window, you can see all the details about those packages including the package identifier, package filename, installation date, current size and the version of the package. UninstallPKG displays all the PKG files it finds on your system. With the help of PKG removal app UninstallPKG we can remove these PKG files and recover all the claimed space easily. After the installation of the software has been done, these PKG files serve no purpose but keep wasting useful storage space on the local hard drive. While not all the software use the PKG format, there are many that use the PKG format frequently. Then you can use them to fresh install or upgrade macOS on your system. For example, you can download the macOS installer from Apple App store and these are installed on your Mac in form of packages. PKG is short of packages and contain several programs bundled into a single package. DMG has to be mount to read the contents and un-mount when done.On macOS 10.x, some software installers use the PKG format. What gets installed is the installers inside DMG. This is one way to do a complete removal.ĭMG are not installer files. Most of them do a search in known directories (like /Library/Preferences, /Library/Application Support etc) with the app name/pkg name or bundle identifier. There are few uninstall/cleaner apps available on OS X. The links given below will give you some info It can extract the scripts and other related information. As a layman we cannot go ahead and uninstall a PKG.īut at the same time there are command lines that can do a complete reverse engineering on PKG files. What is done in PKG scripts is always upto the PKG creator. A PKG/MPKG can have certain pre install and post install scripts associated with that. The concept of PKG uninstallation is not there in OS X. Once you've uninstalled the files, you can remove the system record of that package: $ sudo pkgutil -forget package-name.pkg But some people will need to tweak the command line, so it's better to be clear!) $ pkgutil -only-dirs -files package-name.pkg | tr '\n' '\0' | xargs -n 1 -0 -p sudo rmdir (You should be safe with rmdir too, because it will only remove empty directories. p causes xargs to prompt for confirmation, but don't get trigger-happy. The list of directories output by pkgutil -files can include important shared directories like usr, which you don't want to remove. $ pkgutil -only-files -files package-name.pkg | tr '\n' '\0' | xargs -n 1 -0 -p sudo rmīe careful of the next (final) step, which removes directories. Use this to list the package's installed files: $ pkgutil -files package-name.pkgĪfter visually inspecting the list of files you can do something like this to remove them: $ cd / # assuming the package location is / To find the package location (the root directory that all file listings will be relative to), use $ pkgutil -pkg-info package-name.pkg I'm modifying answer, which didn't work for me.Īt a command line, use the following to find the desired package name: $ pkgutil -pkgs | grep -i is a string you expect to see in the package name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |