Most importantly: Linux is case-sensitive. "gparted" and "Gparted" are not the same program name, and only the first is right.
To see if a package ( which contains a program AND the program's ancillary files) is installed, use the terminal command dpkg -l packagename (dpkg -l gparted). To see a list of the files installed by a package use the terminal command dpkg -L packagename (dpkg -L gparted).
To get from a file on your system back to the package that installed it, use the terminal command dpkg -S filename (dpkg -S /bin/bash or dpkg -S $(type -p bash) ).