# Sleuthkit CLI not work with sleuthkit-java 4.10.2.1

**URL:** <https://sleuthkit.discourse.group/t/sleuthkit-cli-not-work-with-sleuthkit-java-4-10-2-1/2642>\
**Category:** The Sleuth Kit Help\
**Created:** [May 13, 2021, 11:40pm UTC](https://sleuthkit.discourse.group/t/sleuthkit-cli-not-work-with-sleuthkit-java-4-10-2-1/2642 "2021-05-13T23:40:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![it.dude](https://avatars.discourse-cdn.com/v4/letter/i/5daacb/32.png) [@it.dude](https://sleuthkit.discourse.group/u/it.dude)\
**Post date:** [May 13, 2021, 11:40pm UTC](https://sleuthkit.discourse.group/t/sleuthkit-cli-not-work-with-sleuthkit-java-4-10-2-1/2642/1 "2021-05-13T23:40:39Z")

</div>

I have Ubuntu 20.04 with Autopsy 4.18.0. When I run mmls -V via terminal, I get"  
“Command ‘mmls’ not found, but can be installed with:  
sudo apt install sleuthkit.”

When I run “sudo apt install sleuthkit” , mmls -V works but it removes sleuthkit-4.10.2.jar and attempting to run autopsy-4.18.0, I get:  
“…Checking for Sleuth Kit Java bindings…ERROR: sleuthkit-4.10.2.jar not found in /usr/share/java/ or /usr/local/share/java/.  
Please install the Sleuth Kit Java bindings file.”

Both autopsy-4.18.0 and mmls -V work OK on Windows (albeit sloooooow). How can I get both to run on Ubuntu 20.04?  
Thank you,  
Steve

---

<div class="post-metadata">

**Author:** ![atdt0](https://yyz2.discourse-cdn.com/free1/user_avatar/sleuthkit.discourse.group/atdt0/32/202_2.png) [@atdt0](https://sleuthkit.discourse.group/u/atdt0)\
**Post date:** [May 14, 2021, 2:37pm UTC](https://sleuthkit.discourse.group/t/sleuthkit-cli-not-work-with-sleuthkit-java-4-10-2-1/2642/2 "2021-05-14T14:37:47Z")

</div>

Hi Steve.

The problem is that sleuthkit-java conflicts with and replaces libtsk13. libtsk13 is a dependency for sleuthkit so once libtsk13 is removed it takes the rest of its cohorts with it. I haven’t looked into having them both working simultaneously but you could extract and rebuild sleuthkit-java to remove the Conflicts and Replaces entry in the dpkg control file which should allow it to co-exist with sleuthkit on your machine. I don’t know what kind of long term side affects this might have on your system in regards to Autopsy though!

```
 $ dpkg -I sleuthkit-java_4.10.2-1_amd64.deb
 <snip>
 Depends: libafflib0v5 (>= 3.7.6), libc6 (>= 2.14), libewf2 (>= 20121209), libgcc1 (>= 1:4.2), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5.2), libvhdi1 (>= 20150110), libvmdk1 (>= 20150516), zlib1g (>= 1:1.1.4), libewf-dev (>= 20130416), libafflib-dev (>= 3.6.6), libsqlite3-dev, libc3p0-java, libvmdk-dev, libvhdi-dev
 Conflicts: libtsk13
 Replaces: libtsk13
 Section: contrib
 Priority: optional
 Homepage: http://www.sleuthkit.org/sleuthkit
```

---

<div class="post-metadata">

**Author:** ![it.dude](https://avatars.discourse-cdn.com/v4/letter/i/5daacb/32.png) [@it.dude](https://sleuthkit.discourse.group/u/it.dude)\
**Post date:** [May 14, 2021, 5:10pm UTC](https://sleuthkit.discourse.group/t/sleuthkit-cli-not-work-with-sleuthkit-java-4-10-2-1/2642/3 "2021-05-14T17:10:48Z")

</div>

atdt0

Thanks for your fast response. I will experiment with it when I get on my linux PC. I assume the “$ dpkg -I sleuthkit-java\_4.10.2-1\_amd64.deb” opens the .deb to allow editing.

---

<div class="post-metadata">

**Author:** ![atdt0](https://yyz2.discourse-cdn.com/free1/user_avatar/sleuthkit.discourse.group/atdt0/32/202_2.png) [@atdt0](https://sleuthkit.discourse.group/u/atdt0)\
**Post date:** [May 17, 2021, 9:10pm UTC](https://sleuthkit.discourse.group/t/sleuthkit-cli-not-work-with-sleuthkit-java-4-10-2-1/2642/4 "2021-05-17T21:10:41Z")

</div>

What you’ll want to do is ‘apt-get source [package]’ and from there you can edit the Debian control file and do the rebuild. The official docs for doing this are here: [BuildingTutorial - Debian Wiki](https://wiki.debian.org/BuildingTutorial)

---

<div class="post-metadata">

**Author:** ![it.dude](https://avatars.discourse-cdn.com/v4/letter/i/5daacb/32.png) [@it.dude](https://sleuthkit.discourse.group/u/it.dude)\
**Post date:** [May 18, 2021, 1:10am UTC](https://sleuthkit.discourse.group/t/sleuthkit-cli-not-work-with-sleuthkit-java-4-10-2-1/2642/5 "2021-05-18T01:10:45Z")

</div>

Thank you again. The Debian Wiki looks like a great resource.

Steve
