I followed this section:-
2.1.9 Ubuntu
As root on the Ubuntu system,
apt update
apt install testdisk
This appeared to run successfully with the last part showing
Code: Select all
The following NEW packages will be installed:
testdisk
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 362 kB of archives.
After this operation, 1,457 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 testdisk amd64 7.1-5 [362 kB]
Fetched 362 kB in 2s (220 kB/s)
Selecting previously unselected package testdisk.
(Reading database ... 321593 files and directories currently installed.)
Preparing to unpack .../testdisk_7.1-5_amd64.deb ...
Unpacking testdisk (7.1-5) ...
Setting up testdisk (7.1-5) ...
Processing triggers for man-db (2.9.1-1) ...
richard@Linux-Box:~$
Here it says:-
You need to be root to run TestDisk.
cd testdisk-7.1
sudo ./testdisk_static
Problem is the cd does not work probably because I can't find any trace of a folder called testdisk-7.1 or similar.
Where has it installed TestDisk?
I'm a relative newbie to Linux so would appreciate any pointers as to what I am doing wrong.
Thanks