9

This question already has an answer here:

I am unable to install testdisk in Ubuntu 13.10 from Live Disk. I am using USB drive to run ubuntu 13.10. I want to recover some data from Windows partition.

I am unable to install testdisk. It is a tar.bz2 file. I have extracted it in a directory.

Can someone help me with the steps to install the application.

marked as duplicate by Eliah Kagan, Alaa Ali, Warren Hill, user117103, belacqua Aug 11 '14 at 0:55

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

8

You can install testdisk Install testdisk with apt-get

First, you have to enable the universe repository

repos

Then update and install:

sudo apt-get update
sudo apt-get install testdisk

See https://help.ubuntu.com/community/Repositories/Ubuntu#Ubuntu_Software_Tab for additional information on repositories.

  • Hi minerz, I tried the above command. I am getting the following root@ubuntu:~# sudo apt-get install testdisk Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package testdisk – user230559 Jan 2 '14 at 6:56
  • root@ubuntu:~# sudo apt-get install testdisk Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package testdisk – user230559 Jan 2 '14 at 7:22
  • 1
    you have to enable the universe repository - help.ubuntu.com/community/Repositories/…, then sudo apt-get update && sudo apt-get install testdisk – Panther Jan 2 '14 at 14:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.