autopsy icon indicating copy to clipboard operation
autopsy copied to clipboard

[FR]: add instructions/scripts to uninstall/remove/purge Autopsy including dependencies for Linux/macOS

Open j-lakeman opened this issue 1 year ago • 3 comments

I couldn’t find any instructions on how to uninstall/remove/purge Autopsy. On Linux/macOS there are quite some dependencies it needs/installs. Would be awesome if there was a manual and or scripts to entirely purge it including dependencies.

Also brew doctor outputs the following, AFAIK related to Autopsy:

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libtsk.19.dylib
  /usr/local/lib/libtsk_jni.0.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae and may need to be deleted.

Unexpected header files:
  /usr/local/include/tsk/*

Warning: Unbrewed '.la' files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae and may need to be deleted.

Unexpected '.la' files:
  /usr/local/lib/libtsk.la
  /usr/local/lib/libtsk_jni.la

Warning: Unbrewed '.pc' files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae and may need to be deleted.

Unexpected '.pc' files:
  /usr/local/lib/pkgconfig/tsk.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libtsk.a
  /usr/local/lib/libtsk_jni.a

j-lakeman avatar Jan 26 '25 17:01 j-lakeman

Hi, not sure why you have issues with installing autopsy on linux - I did just that and it works. There are instructions on how to do it coming with autopsy.

IrregularLogic avatar Feb 04 '25 19:02 IrregularLogic

Not sure if you read the issue. It's about completely uninstalling autopsy.

j-lakeman avatar Feb 05 '25 14:02 j-lakeman

The uninstall/remove/purge Autopsy depends on how you installed it. If you installed it using the scripts in linux_mac_install_scripts then it would go something like this:

  1. remove Autopsy directory and zip file or if snap remove using snap command
  2. remove sleuthkit deb package via sudo apt remove
  3. remove dependencies via sudo apt remove openjdk-17-jdk openjdk-17-jre
    build-essential autoconf libtool automake git zip wget ant
    libde265-dev libheif-dev
    libpq-dev
    testdisk libafflib-dev libewf-dev libvhdi-dev libvmdk-dev libvslvm-dev
    libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
    gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x
    gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

markmckinnon avatar May 20 '25 15:05 markmckinnon