Hi all
I know a few post ago i was wondering about AUR and conclued to be calm down with it, but remains a very few exceptions and google-earth is one of them, but impossible to install google-earth
First try console with yay:
[bozzoh@bozzoh ~]$ yay -Ss google-earth-pro
aur/google-earth-pro 7.3.4.8248-1 (+1056 0.60)
3D interface to explore the globe, terrain, streets, buildings and other planets (Pro version)
[bozzoh@bozzoh ~]$ yay -S google-earth-pro
:: Vérification des conflits...
:: Vérification des conflits internes...
[Aur:1] google-earth-pro-7.3.4.8248-1
:: (0/1) Downloaded PKGBUILD: google-earth-pro
-> erreur lors de la récupération google-earth-pro : fatal: impossible de créer le répertoire de la copie de travail 'google-earth-pro': Permission non accordée
context: exit status 128
[bozzoh@bozzoh ~]$ sudo yay -S google-earth-pro
[sudo] Mot de passe de bozzoh :
-> Évitez d'utiliser yay en tant que root ou via sudo.
:: Vérification des conflits...
:: Vérification des conflits internes...
[Aur:1] google-earth-pro-7.3.4.8248-1
:: (1/1) Downloaded PKGBUILD: google-earth-pro
1 google-earth-pro (Fichiers de compilation existants)
==> Afficher les diffs ?
==> [N]Aucun [A]Tous [Ab]Annuler [I]nstallés [No]nInstallés ou (1 2 3, 1-3, ^4)
==> 1
warning: impossible d'accéder à '/root/.config/git/attributes': Permission non accordée
warning: impossible d'accéder à '/root/.config/git/attributes': Permission non accordée
diff --git /tmp/google-earth-pro/.gitignore /tmp/google-earth-pro/.gitignore
new file mode 100644
index 0000000..eab4f4f
--- /dev/null
+++ /tmp/google-earth-pro/.gitignore
@@ -0,0 +1,2 @@
+*.html
+*.deb
diff --git /tmp/google-earth-pro/PKGBUILD /tmp/google-earth-pro/PKGBUILD
new file mode 100644
index 0000000..9c6c252
--- /dev/null
+++ /tmp/google-earth-pro/PKGBUILD
@@ -0,0 +1,76 @@
+# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
Second try console with trizen:
[bozzoh@bozzoh ~]$ trizen -Ss google-earth-pro
aur/google-earth-pro 7.3.4.8248-1 [1056+] [0.60%] [29 Jul 2021]
3D interface to explore the globe, terrain, streets, buildings and other planets (Pro version)
[bozzoh@bozzoh ~]$ trizen -S google-earth-pro
:: Pulling AUR changes: google-earth-pro
--------------------------------------------------------------------------------
:: Content of /tmp/trizen-bozzoh/google-earth-pro/PKGBUILD
--------------------------------------------------------------------------------
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
# Contributor: Daniel Bermond <dbermond@archlinux.org>
# Contributor: Det <nimetonmaili g-mail>
# check the latest version with:
# $ curl -sL https://dl.google.com/linux/earth/deb/dists/stable/main/binary-amd64/Packages | grep -Pom1 'Version: \K[^-]*'
pkgname=google-earth-pro
pkgver=7.3.4.8248
pkgrel=1
pkgdesc='3D interface to explore the globe, terrain, streets, buildings and other planets (Pro version)'
arch=('x86_64')
url='https://www.google.com/earth/'
license=('custom')
depends=(
'curl'
'glu'
'hicolor-icon-theme'
'libsm'
'libxrender'
'libproxy'
'gst-plugins-base-libs'
'libxi'
'fontconfig'
'alsa-lib'
'libcups'
'desktop-file-utils')
provides=('google-earth')
options=('!strip' '!emptydirs')
install="${pkgname}.install"
source=("https://dl.google.com/linux/earth/deb/pool/main/g/google-earth-pro-stable/google-earth-pro-stable_${pkgver}-r0_amd64.deb"
'Google-Terms-of-Service.html'::'https://www.google.com/intl/ALL/policies/terms/index.html'
'Google-Earth-Additional-Terms-of-Service.html'::'https://www.google.com/help/terms_maps.html'
'Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html'::'https://www.google.com/help/legalnotices_maps.html'
'Google-Privacy-Policy.html'::'https://www.google.com/intl/ALL/policies/privacy/index.html')
noextract=("google-earth-pro-stable_${pkgver}-r0_amd64.deb")
sha256sums=('cdf406c0574564b2b1c2bdcfd731c45ae6358d1f69969895ccd4ea6344bc6add'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
_installdir='/opt/google/earth/pro'
prepare() {
mkdir -p "${pkgname}-${pkgver}"
bsdtar -xf "google-earth-pro-stable_${pkgver}-r0_amd64.deb" -C "${pkgname}-${pkgver}"
}
package() {
bsdtar -xf "${pkgname}-${pkgver}/data.tar.xz" -C "$pkgdir"
# desktop file
mv "${pkgdir}/${_installdir}/google-earth-pro.desktop" "${pkgdir}/usr/share/applications"
# icons
local _res
for _res in 16 22 24 32 48 64 128 256
do
install -D -m644 "${pkgdir}/${_installdir}/product_logo_${_res}.png" \
"${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/google-earth-pro.png"
done
# remove the debian-intended cron job and duplicated images
rm -r "${pkgdir}/etc/cron.daily" "${pkgdir}/${_installdir}"/product_logo_*.png
# licenses
local _file
for _file in 'Google-Terms-of-Service.html' \
'Google-Earth-Additional-Terms-of-Service.html' \
'Legal-Notices-for-Google-Earth-and-Google-Earth-APIs.html' \
'Google-Privacy-Policy.html'
do
install -D -m644 "$_file" "${pkgdir}/usr/share/licenses/${pkgname}/${_file}"
done
}
=>> Edit google-earth-pro/PKGBUILD? [y/N]: n
--------------------------------------------------------------------------------
:: Content of /tmp/trizen-bozzoh/google-earth-pro/google-earth-pro.install
--------------------------------------------------------------------------------
# Colored makepkg-like functions
msg_blue() {
printf "${blue}==>${bold} $1${all_off}\n"
}
note() {
printf "${blue}==>${yellow} NOTE$2:${bold} $1${all_off}\n"
}
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
blue="${bold}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)"
# 64-bit?
if [[ $(uname -m) = x86_64 ]]; then
_64=true
fi
post_install() {
if [[ $_64 ]]; then
note "The launcher is called 'google-earth-pro'." "1"
note "If experiencing graphical corruption:
$ rm -r ~/.googleearth/Cache/" "2"
else
note "The launcher is called 'google-earth-pro'."
fi
}
post_upgrade() {
if [[ $_64 ]]; then
note "If experiencing graphical corruption:
$ rm -r ~/.googleearth/Cache/"
fi
}
=>> Edit google-earth-pro/google-earth-pro.install? [y/N]:
Then here i don’t know what i have to do:
Third try with GUI pamac:
Fourth and last try with octopi:
In Octopi all options are greased i can’t do anything
So is it possible to install google-earth and how do it??
PS: I know google-earth is a total non-free gafam buisness, i’m not asking a pirating i’m ready to pay what it has to be payed just like i do with GuitarPro7 in legality and so on, i just want to install before outsiding the Visa-card just in the case