Computer, Internet, iOS, Android, Smart Phones,
Microsoft Windows, MAC, Linux Tutorials, Tips and Guides

How to Install TestDisk in Ubuntu


TestDisk is a partition scanner and disk recovery tool that can recover lost partitions and recover disk and data. If you are using Ubuntu Linux, its a good idea to keep recovery tool installed in the system. In case you accidentally delete or alter a partition, it can be recovered by using TestDisk. If you have lost files, it can recover lost files. To get and install TestDisk in Ubuntu, follow this guide.

TestDisk is already in the Ubuntu repository. Its a part of Ubuntu apps.

Press Ctrl+Alt+T to bring up terminal window in Ubuntu. You can install Testdisk by using following command in the terminal.

sudo apt-get install testdisk

Hit Enter.

Testdisk Installation

To run Testdisk as root, use following command (depending on package name):

sudo testdisk

Run Testdisk from Terminal

Hit Enter. This should opened Testdisk in Ubuntu.

Teskdisk Opened in Ubuntu

OR here is the command depending on package name.

sudo testdisk-6.14/testdisk_static

If you encounter the following error: ‘Unable to locate package testdisk‘, you have to enable the universe repository first or you misspelled something in command. Here is guide to troubleshoot ‘unable to locate package’ error.

Similar Tips

About Author

The CEO of tipsNinja at your service. I spend quite enough time with computers and smart devices. I learn everyday and I like to share what I learn. You can subscribe to updates or receive updates in your email. If you have any question, or tipsNinja could not help you in any way, please ask it in Questions/Answers section.

Leave A Reply