README updates

This commit is contained in:
Greg DiCristofaro 2021-09-27 19:59:23 -04:00
parent 35f5168c82
commit 7d2ed26914
2 changed files with 14 additions and 39 deletions

View File

@ -18,23 +18,9 @@
``` ```
brew install --cask liberica-jdk8-full brew install --cask liberica-jdk8-full
``` ```
- You will need to set this Java to `JAVA_HOME` with something like: - You will need the java path for properly setting up autopsy. You can get the path to java by calling:
``` ```
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) && \ /usr/libexec/java_home -v 1.8
echo 'export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)' | tee ~/.bash_profile
```
- and properly link it to the OpenJDK location:
```
OPEN_JDK_LN=/usr/local/opt/openjdk && \
rm $ && \
ln -s $JAVA_HOME $OPEN_JDK_LN
```
- Finally, you can verify this version of Java with:
```
echo "/usr/local/opt/openjdk now is:"
ls -l /usr/local/opt/openjdk
echo "Java Version is:"
java -version
``` ```
## On Linux (Ubuntu / Debian-based) ## On Linux (Ubuntu / Debian-based)
@ -46,14 +32,15 @@
``` ```
- Use `apt` to install dependencies: - Use `apt` to install dependencies:
``` ```
sudo apt -y install \ sudo apt update && \
libpq-dev \ sudo apt -y build-dep imagemagick libmagickcore-dev && \
ant build-essential autoconf libtool git-core automake git zip wget \ sudo apt -y install build-essential autoconf libtool git-core automake git zip wget ant \
libheif-dev libde265-dev libmagickcore-dev imagemagick \ libde265-dev libheif-dev \
testdisk libafflib-dev libewf-dev libvhdi-dev libvmdk-dev \ libpq-dev \
libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \ testdisk libafflib-dev libewf-dev libvhdi-dev libvmdk-dev \
gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x \ libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \
gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x \
gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
``` ```
- You will also need to install Java 8 and JavaFX to run autopsy. We recommend Liberica OpenJDK which can be installed as follows: - You will also need to install Java 8 and JavaFX to run autopsy. We recommend Liberica OpenJDK which can be installed as follows:
``` ```
@ -64,16 +51,7 @@
sudo apt -y install bellsoft-java8-full && \ sudo apt -y install bellsoft-java8-full && \
popd popd
``` ```
- Then, you will need to set this Java to `JAVA_HOME` with something like:e - Take note of the location of the java 1.8 install. This will be necessary to properly setup Autopsy. If using the recommended method, the path should be `/usr/lib/jvm/bellsoft-java8-full-amd64`
```
export JAVA_HOME=/usr/lib/jvm/bellsoft-java8-full-amd64 && \
echo 'export JAVA_HOME=/usr/lib/jvm/bellsoft-java8-full-amd64' | tee ~/.profile
```
- Finally, you can verify this version of Java with:
```
echo "Java Version is:"
java -version
```
# Install Sleuthkit # Install Sleuthkit
@ -136,10 +114,7 @@
# TODO # TODO
- align scripts with README
- open cv issues on linux? - open cv issues on linux?
- stalling when not running autopsy as sudo?
- troubleshooting from Running_Linux_OSX.txt - troubleshooting from Running_Linux_OSX.txt
- setup development environment guide - setup development environment guide
- do we need all these dependencies and are these all of the dependencies we need?
- other installation steps - other installation steps

View File

@ -10,8 +10,8 @@ if [[ $? -ne 0 ]]; then
fi fi
echo "Installing all apt dependencies..." echo "Installing all apt dependencies..."
sudo apt update && sudo apt update && \
sudo apt -y build-dep imagemagick libmagickcore-dev && sudo apt -y build-dep imagemagick libmagickcore-dev && \
sudo apt -y install build-essential autoconf libtool git-core automake git zip wget ant \ sudo apt -y install build-essential autoconf libtool git-core automake git zip wget ant \
libde265-dev libheif-dev \ libde265-dev libheif-dev \
libpq-dev \ libpq-dev \