can't install on Linux Ubuntu

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
pstock
Posts: 1
Joined: 21 Nov 2018, 22:57

can't install on Linux Ubuntu

#1 Post by pstock »

I am failing to install (so I can use) Testdisk on Ubuntu 18.04.
what am I doing wrong.
the Sudo apt-get testdisk tells me "no packages found"

when I download the zip file and extract, I cannot seem to Sudo activaite it. here are the files that were extracted. I presume I should be doing "sudo testdisk_static" but that doesn't do anything.

Code: Select all

-rw-r--r-- 1 ubuntu ubuntu     216 Nov 11  2007 AUTHORS
-rw-r--r-- 1 ubuntu ubuntu  188377 Apr 18  2015 ChangeLog
-rw-r--r-- 1 ubuntu ubuntu   17987 Jun 15  2006 COPYING
-rw-r--r-- 1 ubuntu ubuntu     504 Dec 24  2017 documentation.html
-rw-r--r-- 1 ubuntu ubuntu     911 Nov 19 06:34 fidentify.8
-rwxr-xr-x 1 ubuntu ubuntu 3200147 Nov 19 06:34 fidentify_static
drwxr-xr-x 4 ubuntu ubuntu     160 Nov 19 06:26 icons
-rw-r--r-- 1 ubuntu ubuntu     117 Feb 28  2018 INFO
drwxr-xr-x 2 ubuntu ubuntu      60 Nov 19 06:26 jni
drwxr-xr-x 2 ubuntu ubuntu      60 Nov 19 06:34 l
-rw-r--r-- 1 ubuntu ubuntu   18588 Apr 18  2015 NEWS
-rw-r--r-- 1 ubuntu ubuntu    1178 Nov 19 06:34 photorec.8
-rwxr-xr-x 1 ubuntu ubuntu 7720682 Nov 19 06:34 photorec_static
-rw-r--r-- 1 ubuntu ubuntu    2256 Feb 24  2016 README_dev_photorec.txt
-rw-r--r-- 1 ubuntu ubuntu    2053 Dec  2  2017 README.md
-rw-r--r-- 1 ubuntu ubuntu     298 Mar 10  2012 readme.txt
-rw-r--r-- 1 ubuntu ubuntu    1763 Nov 19 06:34 testdisk.8
-rwxr-xr-x 1 ubuntu ubuntu 5934435 Nov 19 06:34 testdisk_static
-rw-r--r-- 1 ubuntu ubuntu     344 Apr 21  2008 THANKS
-rw-r--r-- 1 ubuntu ubuntu      37 Nov 19 06:34 VERSION

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 5327
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: can't install on Linux Ubuntu

#2 Post by cgrenier »

Run "sudo ./testdisk_static", otherwise sudo doesn't know it need to search for testdisk in the local directory.

Locked