Installing chromium browser?
#1
Maybe I'm missing something obvious but I don't seem to be able to install the chromium web browser from the command line. Running apt install chromium-browser doesn't work...


Code:
[mobian@mobian ~]$ sudo apt install chromium-browser
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package chromium-browser is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'chromium-browser' has no installation candidate


Trying apt install chromium doesn't work either, but it suggests another package...



Code:
[mobian@mobian ~]$ sudo apt-get install chromium
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package chromium is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  chromium-bsu

However,"chromium-bsu" appears to be a shoot-em-up space game:



https://packages.debian.org/sid/chromium-bsu



So -- how to install the chromium browser? Is there another repository that needs to be added?
  Reply
#2
This says the chromium browser has moved to snap releases. You can try a deb package from here but don't know if it will work.
  Reply
#3
(12-13-2020, 02:53 PM)nas Wrote: This says the chromium browser has moved to snap releases. You can try a deb package from here but don't know if it will work.

Ugh. A whole new world of hurt where things can go horribly wrong. I primarily use Firefox anyway but some sites work better with Chromium. So I held my nose and attempted the installation...

Code:
apt install snapd
snap install core
snap install chromium

Unfortunately it didn't work, snap exits with an error when attempting to install the browser.

Code:
[mobian@mobian ~]$ sudo snap install chromium
error: cannot perform the following tasks:
- Mount snap "chromium" (1428) ([start snap-chromium-1428.mount] failed with exit status 1: Job failed.

So I just uninstalled the whole mess ("apt purge snapd") and will live without it for now.
  Reply
#4
I do believe that this is a Debian problem, I heard that Chromium is a tricky bit of software to be maintained  in Debian and I saw that it might have even been removed from sid and testing for now so fingers crossed they get it back in before the freeze
  Reply
#5
(12-13-2020, 08:02 PM)gizmuth Wrote: I do believe that this is a Debian problem, I heard that Chromium is a tricky bit of software to be maintained  in Debian and  I saw that it might have even been removed from sid and testing for now so fingers crossed they get it back in before the freeze

It seems that all the newer Debian-derived distributions are using the snap version of Chromium. I've read that the latest Mint has snapd locked out and Chromium unavailable unless the user manually removes the block.

I'm suspicious of anything coming from Google but at least Chromium is open-source so in theory what's in it is known, versus Chrome which might have anything hidden inside.
  Reply
#6
Try Falkon. It works pretty good. Has a type inputting quirk on some distros. But renders webpages well.
  Reply
#7
I was able to successfully install chromium on mobian using flatpak:

sudo apt install flatpak  # but it was already installed for some reason
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.chromium.Chromium

Chromium seems to run perfectly fine (based on playing around with it for the last 30 minutes).
  Reply
#8
Isn't Chromium still dependent on X11, while Mobian's Phosh shell is Wayland-based? Yes, one can still run X11 apps through XWayland, but that is not ideal appearance-wise, and I assume that running X11 apps involves extra memory overheard when this device is already so RAM poor.
  Reply
#9
(01-21-2021, 03:16 PM)agisga Wrote: I was able to successfully install chromium on mobian using flatpak:

sudo apt install flatpak  # but it was already installed for some reason
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.chromium.Chromium

Chromium seems to run perfectly fine (based on playing around with it for the last 30 minutes).

Thanks, I installed it and it works fine. In fact, Chromium seems to run noticeably faster on the Pinephone than Firefox does. The only issue I've run into so far is that it doesn't seem to work with X forwarding. (Firefox does.)

Code:
[mobian@mobian ~]$ send flatpak run org.chromium.Chromium

[2:2:0122/184020.513615:ERROR:browser_main_loop.cc(1438)] Unable to open X display.

(The send() bash function is from another thread on the forum and had to be modified to accept additional command line parameters. Running Chromium from the command line works directly on the Pinephone from the Kings Cross terminal.)
  Reply
#10
Aside from not working with X forwarding, another issue with the flatpack edition of Chromium seems to be that "scale-to-fit" cannot be used to scale it to the screen since there is no APP-ID associated with it. Items in the browser can be resized using keyboard commands, which helps, but there appears to be no way to scale the browser window itself. So for example to manipulate settings it is necessary to keep switching between portait and landscape modes to get at everything.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't type @ from keyboard in chromium flatpak motox6 1 62 06-17-2021, 07:18 PM
Last Post: pjsf
  Installing Mobian --> "Resizing file system" forever Anna 9 1,826 05-01-2021, 07:51 PM
Last Post: jonnicholson
  Installing and tweaking Chromium on Mobian and Arch C0ffeeFreak 19 2,514 03-11-2021, 09:24 AM
Last Post: C0ffeeFreak
  nordvpn and web browser daniel 8 822 03-08-2021, 02:43 AM
Last Post: mini-DIN
  "Low Disk Space on Filesystem root" after installing Axolotl and Podcasts Anna 11 1,334 03-05-2021, 02:33 AM
Last Post: Anna
  Forget Chromium, Vivaldi runs flawlessly! 3x5co 7 987 03-04-2021, 11:26 PM
Last Post: C0ffeeFreak
  ARM Microsoft Teams-problems installing eaglebeckley 14 2,089 02-10-2021, 05:02 AM
Last Post: Tazdevl
  Chromium doesn't seem to recognize that I'm on a mobile device 3x5co 2 469 02-05-2021, 11:13 PM
Last Post: 3x5co
  Installing applicatons via command line Zebulon Walton 2 781 12-01-2020, 11:24 AM
Last Post: Zebulon Walton
  installing vpn ergo owl 3 1,162 10-02-2020, 04:22 PM
Last Post: ergo owl

Forum Jump:


Users browsing this thread: 1 Guest(s)