How to install DDrescue-GUI in Ubuntu

To install DDrescue-GUI in Ubuntu

DDRescue-GUI is an open source GUI command-line tool used for data recovery tasks. Users can recover data from corrupted hard drive, USB flash drive, CD and DVD. Installation of DDrescue-GUI in Ubuntu is explained in this manual.

Features

  • Integrate the new device detection method.
  • Rewrite the finished window with sizers.
  • Icon integrated into the GUI.
  • Redesign the arrows on MainWindow.
  • Fix an important User Interface bug.

Installation of DDrescue-GUI

Before installing DDrescue, add the required repositories with the following command.

root@linuxhelp1:~# add-apt-repository ppa:hamishmb/myppa
 This PPA contains all stable versions of my packages, and is recommended for use.

If you' re using a version of Ubuntu newer than those supported yet, use the packages for the most recent version of Ubuntu supported.

If you' re using an older, unsupported distribution, you should upgrade. However, if you really must do it, use the package for the oldest version of Ubuntu supported, but please be aware that I don' t test software on unsupported versions, so your mileage may vary.
 More info: https://launchpad.net/~hamishmb/+archive/ubuntu/myppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmplutk94ag/secring.gpg'  created
gpg: keyring `/tmp/tmplutk94ag/pubring.gpg'  created
gpg: requesting key 75B56966 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmplutk94ag/trustdb.gpg: trustdb created
gpg: key 75B56966: public key " Launchpad PPA for Hamish McIntyre-Bhatty"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK


Then update the added repositories with the " apt-get update" command.

root@linuxhelp1:~# apt-get update
Hit:1 http://ppa.launchpad.net/appgrid/stable/ubuntu xenial InRelease                                                       
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]                                                 
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial InRelease                                                                       
Hit:4 http://ppa.launchpad.net/eviltwin1/feedreader-daily/ubuntu xenial InRelease                                                
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                               
Ign:6 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04  InRelease                                         
Get:7 http://ppa.launchpad.net/hamishmb/myppa/ubuntu xenial InRelease [17.5 kB]                                                  
Hit:8 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease                                             
Hit:9 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04  Release                                 
Get:10 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04  Release.gpg [481 B]
Get:11 http://ppa.launchpad.net/hamishmb/myppa/ubuntu xenial/main amd64 Packages [1,072 B]  
Get:12 http://ppa.launchpad.net/hamishmb/myppa/ubuntu xenial/main i386 Packages [1,072 B]                       
Get:13 http://ppa.launchpad.net/hamishmb/myppa/ubuntu xenial/main Translation-en [356 B]
Fetched 115 kB in 2s (49.6 kB/s)         
Reading package lists... Done


Now run the below command to install the ddrescue graphical interface.

root@linuxhelp1:~# apt-get install ddrescue-gui -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libjavascriptcoregtk-3.0-0 libwebkit2gtk-3.0-25 libwebkitgtk-3.0-common
Use ' sudo apt autoremove'  to remove them.
The following additional packages will be installed:
  dmsetup gddrescue kpartx libwxbase3.0-0v5 libwxgtk3.0-0v5 python-bs4 python-chardet python-html5lib python-lxml
  python-pkg-resources python-six python-wxgtk3.0 python-wxtools python-wxversion
Suggested packages:
  python-genshi python-lxml-dbg python-lxml-doc python-setuptools
The following NEW packages will be installed:
  ddrescue-gui dmsetup gddrescue kpartx libwxbase3.0-0v5 libwxgtk3.0-0v5 python-bs4 python-chardet python-html5lib python-lxml
  python-pkg-resources python-six python-wxgtk3.0 python-wxtools python-wxversion
0 upgraded, 15 newly installed, 0 to remove and 12 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 56.9 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 dmsetup amd64 2:1.02.110-1ubuntu10 [59.9 kB]
Get:2 http://ppa.launchpad.net/hamishmb/myppa/ubuntu xenial/main amd64 ddrescue-gui all 2:1.6.1~xenial-0ubuntu1~ppa1 [87.2 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 gddrescue amd64 1.19-2 [99.7 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libwxbase3.0-0v5 amd64 3.0.2+dfsg-1.3 [971 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libwxgtk3.0-0v5 amd64 3.0.2+dfsg-1.3 [4,342 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-bs4 all 4.4.1-1 [64.2 kB]                                       
Get:7 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]      
.
.
.
Setting up kpartx (0.5.0+git1.656f8865-5ubuntu2.2) ...
Setting up ddrescue-gui (2:1.6.1~xenial-0ubuntu1~ppa1) ...
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-36-generic
Processing triggers for libc-bin (2.23-0ubuntu3) ...


Open the unity dash and type " ddrescue" on the search bar. Then click on the ddrescue icon to open the software.

Homepage of the ddrescue software page will display on the screen as shown below.

To remove the DDrescue

Run the below command to uninstall the DDrescue.

root@linuxhelp1:~# apt-get remove ddrescue-gui -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gddrescue kpartx libjavascriptcoregtk-3.0-0 libwebkit2gtk-3.0-25 libwebkitgtk-3.0-common libwxbase3.0-0v5 libwxgtk3.0-0v5
  python-bs4 python-chardet python-html5lib python-lxml python-pkg-resources python-six python-wxgtk3.0 python-wxtools
  python-wxversion
Use ' sudo apt autoremove'  to remove them.
The following packages will be REMOVED:
  ddrescue-gui
0 upgraded, 0 newly installed, 1 to remove and 12 not upgraded.
After this operation, 299 kB disk space will be freed.
(Reading database ... 241553 files and directories currently installed.)
Removing ddrescue-gui (2:1.6.1~xenial-0ubuntu1~ppa1) ...
dpkg: warning: while removing ddrescue-gui, directory ' /usr/share/ddrescue-gui/GetDevInfo'  not empty so not removed
dpkg: warning: while removing ddrescue-gui, directory ' /usr/share/ddrescue-gui/Tools'  not empty so not removed
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Tag : DDrescue
FAQ
Q
what is the PPA for DDrescue-GUI in Ubuntu?
A
ppa:hamishmb/myppa is the PPA for DDrescue-GUI in Ubuntu
Q
is it possible to integrate the Icon into the GUI?
A
Yes, you can integrate the Icon into the GUI
Q
where to get .deb package for DDrescue-GUI in Ubuntu ?
A
you can get .deb package for DDrescue-GUI in Ubuntu from here, https://www.hamishmb.com/files/Downloads/ddrescue-gui/2.0.0/Bionic/ddrescue-gui_2.0.0~bionic-0ubuntu1~ppa1_all.deb
Q
What are the alternative data recovery tools available for linuxapart from DDrescue ?
A
The alternatives for DDrescue were SystemRescueCd,
Gparted Live,
Avira Rescue System,
Trinity Rescue Kit,
Knoppix
Q
Where I can get the download link for knoppix?
A
The download link for knoppix is here http://www.knopper.net/knoppix-mirrors/index-en.html