I have installed google earth. I believe I did it through their website. I'm sure its named something along the lines of google-earth. Every time I do apt update i get an annoying message:
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
So, I intend to uninstall the program and try to re-install it. It does not show up in software center.
I found instructions for searching program names via:
sudo apt search <part-of-name-with-an-asterisk*>
being lazy, I typed:
sudo apt search earth*
this resulted in a very, very long list of programs that did not have "earth" in the filename.
Typing:
sudo apt search google-earth-pro
resulted in one program returned from the query. The correct one:
google-earth-pro-stable/stable,now 7.3.2.5494-r0 amd64 [installed] Explore, search and discover the planet
Now I can uninstall, however...
Now I'm confused as to why the first attempt yielded different results. If in the future I need to find the exact program name to be able to uninstall it, what is the correct procedure? I'm sure there are many ways to accomplish this, but I feel like I was just being lucky.
Lets say there is a complicated filename 24ewftw2ecw-24wfrew-f2ec or something, and all i can remember about the file was that it had ftw in it somewhere... What is an appropriate method?
What is an appropriate use for using the asterisk on apt search?
Thanks in advance!
apt-cache policy
when looking for specific apps. Tryapt-cache policy *earth*
– Terrance Oct 05 '18 at 03:49deb [arch=amd64] http...
(note: I'm assuming here you're using AMD64, as google no longer support i386) – guiverc Oct 05 '18 at 03:53*earth*
correct? Without the asterisks it will not search for anything – Terrance Oct 05 '18 at 03:54[arch=amd64]
and I haven't found an answer to keep that yet. Grrrrr – Terrance Oct 05 '18 at 03:56apt search
command usually will find all applications with your search term in the description.apt-cache policy
looks for the application name. – Terrance Oct 05 '18 at 04:10