How it is done: google-chrome-stable.deb install by pamac

chrome and for example spotify are installed from a debian package ( *.deb )

Is there an extra pamac scrtipt for that or does pamac use:

aur/debtap 3.5.1-1 (+288 2.81) (Installiert)
A script to convert .deb packages to Arch Linux packages, focused on accuracy. Do not use it to convert packages that already exist on official repositories or can be built from AUR!

pamac usescan access the AUR.

Like all AUR helpers it follows a PKGBUILD.

PKGBUILDS are build scripts.

Depending on the AUR packages PKGBUILD, if it depends on a deb, it may among other things, simply extract it.

pamac has no special deb powers. In fact it wouldnt know what to do with one on its own.

(makepkg on the other hand technically knows to treat debs as archives, but will only unpack the first layer … so many deb PKGBUILDS then need to decompress the data directory)

Bonus:
In the case of the google-chrome PKGBUILD, it uses bsdtar (on data like mentioned above);
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=google-chrome

4 Likes

Simply WHY use the .deb file?

@cscs explains it simple.

Should you want to go into details, there is topic in Tutorials section which explains what you have to do to create a PKGBUILD from a Debian package and turn it into a package pacman can keep track of.

2 Likes

You get to choose between Debian/Ubuntu or Fedora/openSUSE. Beyond that it’s down to community support…

source=("https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-${_channel}/google-chrome-${_channel}_${pkgver}-1_amd64.deb"
	'eula_text.html'
	"google-chrome-$_channel.sh")
sha512sums=('32011273c26cb90ae7a2475289817907939da4dfeab5e6aac60b24c90e1aa055742a5615cf2d0f84c5f82523ba2b3f0ebb39b6f2958748b8cb588285a9fa5646'
            'a225555c06b7c32f9f2657004558e3f996c981481dbb0d3cd79b1d59fa3f05d591af88399422d3ab29d9446c103e98d567aeafe061d9550817ab6e7eb0498396'
            'de02b498a4b5b93e21622c8dba57befe795d733a04656be911cc38e28bfef0e20470450f44be523bbde8d4de28f79c10434846ca01fc2a2f4e67707b79332f94')

package() {
	bsdtar -xf data.tar.xz -C "$pkgdir/"

Chrome is Chrome NO MATTER WHERE you download it from.

I would tend to download the latest version from Google though - not sure where else.

OP has probably noticed from the PKGBUILDs that google-chrome and spotify are downloading .deb files, but may not understand the build process to know that PKGBUILD script does not need additional packages to build from .deb or .rpm sources

Purely for reference; if a non-googled browser is ever needed: Chromium.

(all available platforms)

pacman -S firefox-i18n-en-gb FTW.

Yes, yes, but don’t forget sudo :wink:

if a non-googled browser is ever needed:

Firefox is preinstalled (or Vivaldi on Cinnamon)

1 Like

I use both.

Want to try that again? there is ungoogled-chroium and chromium. TWO completely different animals.

Chromium is less google than Chrome, but not as little as ungoogled-chromium.
Its still a bit of a barrier though because it has pretty long compile times and the chrome store (for extensions) doesnt work out of the box. Spellcheck either.
Or geo/maps … but whomever cares about auto google maps all the time doesnt care about ungoogled-chromium anyways.

2 Likes

There’s also Iridium, which is similar to ungoogled-chromium, albeit not identical. It does use some of the same tweaks, though. It’s available from the AUR in two pre-compiled forms: iridium-rpm and iridium-deb.

I’ve used it in the past — albeit not on Manjaro — and it was pretty good, but it also disables certain things like automatic sign-in.

Well, the intention was to provide an alternate source for Chromium, as an alternative to the googled Chrome; this was apart from the pseudo-branded “Ungoogled Chromium”.

Incidentally, I recall seeing an “Ungoogled Chrome”, at some point, although I don’t think it was official.

Downloading now; more out of curiosity, than much else.

Update:- OK, my initial curiosity has subsided: Chromium with a bespoke icon. :wink:

This is the way I discover software as well. It has served me well.

:wink:

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.