Delete in OS x. pkg package software:pkg_uninstaller!

inPrevious articlein,We now discuss the method can find deleted .pkg packages,Obviously the pros and cons,Then I introduced a software for everyone,pkg_uninstaller,This is what I found on the github,Its website here:

then,For us it is to install and use,of course,I regret that it does not have graphics port,Hehe。

First of all,Let's install it:

Open a terminal,Then enter:

of course,Here it is need your password。Wait for completion,Such,File is downloaded to your / opt directory,then,In a terminal

So this command added to the system。This time,This software is completely installed well。
Then,Us about its use:


Use this command to install a .pkg installation package,Use double-click,Such installation,pkg_uninstallerIt will generate a .sh uninstall scripts for you in the current directory,After you want to uninstall this software,Then to the terminal where you can run this script,For example,

(of course,Conscience say,This feature I have not tested,I only use it to uninstall pkg hehe,Specific you can try)

This can be used,I've tried,Installed software can be used normally,And it will generate a file .sh Uninstaller,after,We can use this to uninstall! I specially established folders,Used to store these sh ha ha!


First usepkg-listNow look at those who have already installed the .pkg package,Do you really want to remember these names -

then,Use the following command to uninstall:

Okay, I admit,Some of those names package length,Fortunately, there is not a copy and paste? Oh ~ so wait for the end of it,Some software giant words - unloading speed will slow slightly,So,Do not think the crash oh,Be patient。
All right,Temporarily described here,What I can not understand a message asking me,Mmm。

Words hold for so long,Finally Biechu a bit with the article hehe,happy New Year to all!

Also a graphical pkg package removal tool!

Thanks forritzstar Message,We at find a graphical pkg package removal tool,Of course,For a fee。

The price is $ 9.99,But you can remove free three programs,I think,If you just need to remove one of the two, then use the free version is enough chant ╮(╯▽╰)╭

This is a screenshot of the software (the official website from people oh)


Original article written by Gerber drop-off:R0uter's Blog » Delete in OS x. pkg package software:pkg_uninstaller!

Reproduced Please keep the source and description link:

About the Author


The non-declaration,I have written articles are original,Reproduced, please indicate the link on this page and my name。


  1. 9.9 US dollars of software that I had pkg_uninstaller down from the brew is better to use many packages can not find the article you wrote is not very good
    Another:If you are using zsh(Catalina somehow change when the update is over) We need to make full name / opt / pkg_uninstaller / pkg-uninstall
    Or exchange bash proceed in accordance with the method of

  2. Hello there,I double-click to install pkg,I would like to use uninstall to uninstall,But I only know the id,Such as:com.websense.endpoint,I do not know the name pkg,How to uninstall?

  3. Hello there,I would like to ask,Pkg installed with this software to display commandnotfound how to do? Then if I want to uninstall the software itself how to do? Thank you!

  4. Being given ah。
    pkg_uninstaller-master ➤ sudo ./pkg-uninstall org.pureftpd.macosx
    Uninstalling org.pureftpd.macosx …………………………………………………………………………………….
    Unknown error Error Domain=NSCocoaErrorDomain Code=4 ““” couldn’t be removed.” UserInfo=0x7fa7c3400fc0 {NSFilePath=/var/db/receipts/, NSUserStringVariant =(
    ), NSUnderlyingError = 0x7fa7c3400f40 “The operation couldn’t be completed. No such file or directory”}.
    Forgot package ‘org.pureftpd.macosx’ on ‘/’.

    1. You run again sudo pkg-listSee below to check,That you want to remove has no pkg。
      This small document is written in a bit imperfect,In the Delete Files when,Your pkg may have some or all of the stuff has been removed but still link,When this happens the,It will still go to delete。
      Virtually no documentation,You can not delete,Given that it will not be deleted。In fact,It has been deleted。(=。= Good knot)
      In short,To see the next list, right there!

Leave a Reply

Your email address will not be published. Required fields are marked *