Hatena::ブログ(Diary)

kinneko@転職先募集中の日記

検索エンジンから来た方へ: 申し訳ないですが、日記なので日々積み重なっています。
目的の情報にたどり着くには、右の検索窓から日記内を再検索してください。
北陸エリア内(もしくはエリア外でも)で転職先を探しています。
(マジです。ネタではありません。ホントですって...)
詳細履歴書をご希望の方はメールでご連絡下さいませ。(kinneko at gmail.com)
chromeで見ると、死ぬほど出るGoogleの広告がブロックできないので、
firefoxでABPを入れるとすっきり見られます。

2018-08-26

faboollasermac を削除する

SmartInstallerMac_v290.pkg を入れたのだけど、インストーラーにアンインストール機能がない。

たいへんクソなソフトウエアである。

そのくせ、ローカルでWebサーバーを動かし続けるというさらにクソな仕様。

そして、DXFが読み込めないというどうしようもなくクソ。

なので削除。

$ pkgutil --pkgs | grep smartdiys
com.smartdiys.faboollaser

何が入ったか調べる。

$ pkgutil --files com.smartdiys.faboollaser
LaunchDaemons
LaunchDaemons/com.smartdiys.faboollaser.plist
faboollasermac
faboollasermac/dfu
faboollasermac/dfu/bin
faboollasermac/dfu/bin/dfu-util
faboollasermac/dfu/lib
faboollasermac/dfu/lib/libusb-1.0.0.dylib
faboollasermac/faboollaser.app
faboollasermac/faboollaser.app/Contents
faboollasermac/faboollaser.app/Contents/Frameworks
faboollasermac/faboollaser.app/Contents/Info.plist
faboollasermac/faboollaser.app/Contents/MacOS
faboollasermac/faboollaser.app/Contents/MacOS/MacOS.so
faboollasermac/faboollaser.app/Contents/MacOS/Nav.so
faboollasermac/faboollaser.app/Contents/MacOS/Python
faboollasermac/faboollaser.app/Contents/MacOS/_AE.so
faboollasermac/faboollaser.app/Contents/MacOS/_Ctl.so
faboollasermac/faboollaser.app/Contents/MacOS/_Dlg.so
faboollasermac/faboollaser.app/Contents/MacOS/_Evt.so
faboollasermac/faboollaser.app/Contents/MacOS/_File.so
faboollasermac/faboollaser.app/Contents/MacOS/_Menu.so
faboollasermac/faboollaser.app/Contents/MacOS/_Qd.so
faboollasermac/faboollaser.app/Contents/MacOS/_Res.so
faboollasermac/faboollaser.app/Contents/MacOS/_Win.so
faboollasermac/faboollaser.app/Contents/MacOS/_codecs_cn.so
faboollasermac/faboollaser.app/Contents/MacOS/_codecs_hk.so
faboollasermac/faboollaser.app/Contents/MacOS/_codecs_iso2022.so
faboollasermac/faboollaser.app/Contents/MacOS/_codecs_jp.so
faboollasermac/faboollaser.app/Contents/MacOS/_codecs_kr.so
faboollasermac/faboollaser.app/Contents/MacOS/_codecs_tw.so
faboollasermac/faboollaser.app/Contents/MacOS/_collections.so
faboollasermac/faboollaser.app/Contents/MacOS/_ctypes.so
faboollasermac/faboollaser.app/Contents/MacOS/_functools.so
faboollasermac/faboollaser.app/Contents/MacOS/_hashlib.so
faboollasermac/faboollaser.app/Contents/MacOS/_heapq.so
faboollasermac/faboollaser.app/Contents/MacOS/_io.so
faboollasermac/faboollaser.app/Contents/MacOS/_json.so
faboollasermac/faboollaser.app/Contents/MacOS/_locale.so
faboollasermac/faboollaser.app/Contents/MacOS/_multibytecodec.so
faboollasermac/faboollaser.app/Contents/MacOS/_random.so
faboollasermac/faboollaser.app/Contents/MacOS/_scproxy.so
faboollasermac/faboollaser.app/Contents/MacOS/_socket.so
faboollasermac/faboollaser.app/Contents/MacOS/_ssl.so
faboollasermac/faboollaser.app/Contents/MacOS/_struct.so
faboollasermac/faboollaser.app/Contents/MacOS/app
faboollasermac/faboollaser.app/Contents/MacOS/array.so
faboollasermac/faboollaser.app/Contents/MacOS/binascii.so
faboollasermac/faboollaser.app/Contents/MacOS/bz2.so
faboollasermac/faboollaser.app/Contents/MacOS/cPickle.so
faboollasermac/faboollaser.app/Contents/MacOS/cStringIO.so
faboollasermac/faboollaser.app/Contents/MacOS/datetime.so
faboollasermac/faboollaser.app/Contents/MacOS/fcntl.so
faboollasermac/faboollaser.app/Contents/MacOS/frontend
faboollasermac/faboollaser.app/Contents/MacOS/grp.so
faboollasermac/faboollaser.app/Contents/MacOS/include
faboollasermac/faboollaser.app/Contents/MacOS/itertools.so
faboollasermac/faboollaser.app/Contents/MacOS/lib
faboollasermac/faboollaser.app/Contents/MacOS/math.so
faboollasermac/faboollaser.app/Contents/MacOS/operator.so
faboollasermac/faboollaser.app/Contents/MacOS/readline.so
faboollasermac/faboollaser.app/Contents/MacOS/resource.so
faboollasermac/faboollaser.app/Contents/MacOS/select.so
faboollasermac/faboollaser.app/Contents/MacOS/strop.so
faboollasermac/faboollaser.app/Contents/MacOS/termios.so
faboollasermac/faboollaser.app/Contents/MacOS/time.so
faboollasermac/faboollaser.app/Contents/MacOS/unicodedata.so
faboollasermac/faboollaser.app/Contents/MacOS/zlib.so
faboollasermac/faboollaser.app/Contents/Resources
faboollasermac/faboollaser.app/Contents/Resources/frontend
faboollasermac/faboollaser.app/Contents/Resources/frontend/admin.js
faboollasermac/faboollaser.app/Contents/Resources/frontend/app.css
faboollasermac/faboollaser.app/Contents/Resources/frontend/app.html
faboollasermac/faboollaser.app/Contents/Resources/frontend/app.js
faboollasermac/faboollaser.app/Contents/Resources/frontend/assetsfa19c0ffd7c43e9906a09d1c5f6a7b68.png
faboollasermac/faboollaser.app/Contents/Resources/frontend/vendor.js
faboollasermac/faboollaser.app/Contents/Resources/icon-windowed.icns
faboollasermac/faboollaser.app/Contents/Resources/include
faboollasermac/faboollaser.app/Contents/Resources/include/python2.7
faboollasermac/faboollaser.app/Contents/Resources/include/python2.7/pyconfig.h
faboollasermac/faboollaser.app/Contents/Resources/lib
faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7
faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7/config
faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7/config/Makefile

なんか、ファイルは自分で消さないといけないらしい。

ほんどクソなアプリをありがとう。

んで、これどこに入ったのさ?

$ sudo find / | grep faboollasermac
Password:
/Library/faboollasermac
/Library/faboollasermac/dfu
/Library/faboollasermac/dfu/bin
/Library/faboollasermac/dfu/bin/dfu-util
/Library/faboollasermac/dfu/lib
/Library/faboollasermac/dfu/lib/libusb-1.0.0.dylib
/Library/faboollasermac/faboollaser.app
/Library/faboollasermac/faboollaser.app/Contents
/Library/faboollasermac/faboollaser.app/Contents/Frameworks
/Library/faboollasermac/faboollaser.app/Contents/Info.plist
/Library/faboollasermac/faboollaser.app/Contents/MacOS
/Library/faboollasermac/faboollaser.app/Contents/MacOS/MacOS.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/Nav.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/Python
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_AE.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_Ctl.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_Dlg.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_Evt.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_File.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_Menu.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_Qd.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_Res.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_Win.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_cn.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_hk.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_iso2022.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_jp.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_kr.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_codecs_tw.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_collections.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_ctypes.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_functools.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_hashlib.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_heapq.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_io.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_json.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_locale.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_multibytecodec.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_random.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_scproxy.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_socket.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_ssl.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/_struct.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/app
/Library/faboollasermac/faboollaser.app/Contents/MacOS/array.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/binascii.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/bz2.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/cPickle.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/cStringIO.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/datetime.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/fcntl.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/frontend
/Library/faboollasermac/faboollaser.app/Contents/MacOS/grp.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/include
/Library/faboollasermac/faboollaser.app/Contents/MacOS/itertools.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/lib
/Library/faboollasermac/faboollaser.app/Contents/MacOS/math.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/operator.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/readline.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/resource.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/select.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/strop.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/termios.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/time.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/unicodedata.so
/Library/faboollasermac/faboollaser.app/Contents/MacOS/zlib.so
/Library/faboollasermac/faboollaser.app/Contents/Resources
/Library/faboollasermac/faboollaser.app/Contents/Resources/frontend
/Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/admin.js
/Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/app.css
/Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/app.html
/Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/app.js
/Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/assetsfa19c0ffd7c43e9906a09d1c5f6a7b68.png
/Library/faboollasermac/faboollaser.app/Contents/Resources/frontend/vendor.js
/Library/faboollasermac/faboollaser.app/Contents/Resources/icon-windowed.icns
/Library/faboollasermac/faboollaser.app/Contents/Resources/include
/Library/faboollasermac/faboollaser.app/Contents/Resources/include/python2.7
/Library/faboollasermac/faboollaser.app/Contents/Resources/include/python2.7/pyconfig.h
/Library/faboollasermac/faboollaser.app/Contents/Resources/lib
/Library/faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7
/Library/faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7/config
/Library/faboollasermac/faboollaser.app/Contents/Resources/lib/python2.7/config/Makefile
(snip)
$ sudo find / | grep LaunchDaemons | grep smartdiys
/Library/LaunchDaemons/com.smartdiys.faboollaser.plist

場所はわかった。

$ sudo rm -rf /Library/faboollasermac
$ sudo rm /Library/LaunchDaemons/com.smartdiys.faboollaser.plist

パッケージ情報も削除しておく。

$ sudo pkgutil --forget com.smartdiys.faboollaser
Forgot package 'com.smartdiys.faboollaser' on '/'.

やっときれいになった。

しかし、まだプロセスが動いている模様。

$ ps ax | grep fabool
36832   ??  Ss     3:01.69 /Library/faboollasermac/faboollaser.app/Contents/MacOS/app
$ sudo kill 36832

どっかにデータも保持していると思うのだけど、こちらはUI上で全部削除してから作業したので不明。

トラックバック - http://d.hatena.ne.jp/kinneko/20180826/p1