Provide installation procedure for Linux
I've been looking for a while on the net, and I can't find any useful procedure to install the latest version of autopsy on Linux.
So can you provide an installation procedure on the README.md file please.
sidahmed-malaoui, at Basis Technology we are not currently actively supporting Autopsy on Linux, although community efforts to do so are underway. I hope to make the change to README.md that you are requesting at some time in the future.
Sincerely, Richard Cordovano Autopsy Team Lead Director of Engineering - Digital Forensics, Basis Technology
Thanks, I appreciate it.
I just created a shell of a README just for Linux and OS X. For those that are working on getting Autopsy working on Linux and OS X, they can add their instructions to this file and send them to us via pull requests.
Thanks @bcarrier .
This is a working installation file for Debian systems. It has a few nasty dependencies - which are documented in the comments - so may break, but it gets Autopsy 4.5.1 up and running on my test system.
@marshalla99 I'm going to take the script you just posted and spin it up inside of a docker container to bootstrap the plugin development process.
@marshalla99 Do you want to create a git repository for that code so that other people can contribute and make pull request?
I guess we could - or we could just add it to this repository as a linux build option and update the Readme that Brian has left as a placeholder.
Maybe create a folder full of Linux build scripts to cater for apt, dnf and yum based systems in particular?
@marshalla99, @bcarrier It is up to you. I'm still pretty new to the project, but I'd really like to make the startup process easier for those trying to get this running on Linux.
I'd vote for doing it as part of the main distribution and keeping it within this structure - it'll get a wider audience and keep everything under one umbrella. But it's really up to @bcarrier and @rcordovano as the leads, I guess.
For now, since I'm evolving scripts for Debian and Ubuntu (with the intention of adding Autopsy 4 to a live distro. for a course I'm teaching next year), I'm making the scripts available on a Google Drive shared folder at: https://drive.google.com/drive/folders/1wL8_JI6U_3_Kq4hJKBhxhGIJk-sSdVVK?usp=sharing
@marshalla99 Hi, I have made a few fixes to your script, to compile and build Autopsy 4.5.1 as a non-root user in my Ubuntu16.04 x64 workstation.
Cool. Thanks. I'll merge into the newest versions later this week.
@marshalla99 and @danpos thanks for this, have been trying to get it building since last night but this script did it.
I think it should be possible to build on this script, maybe clean it up and account for edge cases, and make it part of the default build/install process for Linux (given that there really isn't any Linux procedure).
It's still pretty rough and definitely needs to be cleaned up - but all it does it get something to build. That something may or may not work properly (my instance doesn't, yet) so we need to keep plugging away figuring out the rest of the missing dependencies (I have another version which grabs additional files and patches some source to resolve other problems.)
Sometime, we should probably turn it into a proper Makefile or similar.
Just dropping in a couple of build warnings that I'm getting at the moment. No idea if these relate to the Timeline problem, but I guess anything is possible. I'll fix them later and add to the Ubuntu script.
[nb-javac] warning: [path] bad path element "/home/osboxes/AutopsyInst/autopsy/Core/release/modules/ext/LGoodDatePicker-10.3.1.jar": no such file or directory
[nb-javac] warning: [path] bad path element "/home/osboxes/AutopsyInst/autopsy/Core/release/modules/ext/mchange-commons-java-0.2.11.jar": no such file or directory
@marshalla99 I also got that, which lead to me submitting #3295
It's a problem with the dependency management of this project; being that it uses 'ivy' which appears to be fairly defuct (at least with regards to Netbeans). I managed to fix most dependency issues by installing Apache Ivy: http://ant.apache.org/ivy/
This does not fix the issue you have though (despite earlier edits of this comment). Though I think it probably should, which may suggest that we have an underlying dependency management issue at play.
That's interesting. I guess there's a problem with the standard implementation of ivy (which the build process seems to download automagically) then? That would explain why the list of missing .jars is so variable - the two listed above are always missing, but about every third or fourth build attempt throws a list of at least 6 others. That's even after multiple passes through the dependencies.
I've created an additional shell script to drag them down, just in case.
If the build process downloads ivy automagically, it does so in a way that does not work well on Linux. I had to install it manually to get it to fetch dependencies. Even so, LGoodDatePicker always seemed to be missing.
Bizarrely, when I manually added the dependencies to their expected path, I've had builds that were completely absent any ingest modules.
Ugh. That's horrible. I'm starting to wonder if we mightn't be better off just picking up Autopsy 2 and developing it some more ;) (especially with the missing bindings files problem in TSK).