How to install ungoogle-chromium?, Debian13

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
keos
Posts: 189
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 7 times

How to install ungoogle-chromium?, Debian13

#1 Post by keos »

Hello,

I tried to get ungoogle-chromium, with the information from Debian: https://wiki.debian.org/ungoogled-chromium it says that to install the package you have to run

Code: Select all

apt install ./ungoogled-chromium_*.deb
and it refers to GitHub, -- very confusing page for me, could someone please indicate how I should proceed to install it?.

Thanks for any comments,

Greetings
Probook-hp
AMD Ryzen 7 7730U with Radeon Graphics

Debian 13 Testing
Desktop: xfce4-panel 4.20.0

User avatar
eriefisher
Posts: 144
Joined: 2008-06-04 03:49
Location: Ontario's West Coast
Has thanked: 1 time
Been thanked: 1 time

Re: How to install ungoogle-chromium?, Debian13

#2 Post by eriefisher »

If you followed the link it takes you to the bits and pieces and the instruction to build the .deb.
https://github.com/ungoogled-software/u ... ium-debian

There is also this:
https://software.opensuse.org//download ... d-chromium
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.20

User avatar
keos
Posts: 189
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 7 times

Re: How to install ungoogle-chromium?, Debian13

#3 Post by keos »

The first option I could not follow, it gives me failure.

The option of the opensuse repo, which seemed the best to me since I am not an expert:

Code: Select all

keos@kaos:~$ LANG=C sudo apt install ungoogled-chromium
Some packages could not be installed. This may mean that you have
requested an impossible situation, or if you are using the unstable distribution
unstable that some necessary packages have not yet been created
or have been moved out of Incoming.
The following information may help resolve the situation:

Unmet dependencies:
 ungoogled-chromium : Depends: libjsoncpp25 (>= 1.9.5) but cannot install.
                      Depends: libre2-9 (>= 20201101+dfsg) but not installable
Error: Unable to fix problems, has retained broken packages.
keos@kaos:~$ 
Is there any other possibility?,

Thanks
Probook-hp
AMD Ryzen 7 7730U with Radeon Graphics

Debian 13 Testing
Desktop: xfce4-panel 4.20.0

User avatar
eriefisher
Posts: 144
Joined: 2008-06-04 03:49
Location: Ontario's West Coast
Has thanked: 1 time
Been thanked: 1 time

Re: How to install ungoogle-chromium?, Debian13

#4 Post by eriefisher »

What is the "failure" on the first one?

The second is a dependency issue. You will have to search out how and where to get those. I'm not sure why they are not available from your standard repo but I'm sure there is a reason.
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.20

User avatar
keos
Posts: 189
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 7 times

Re: How to install ungoogle-chromium?, Debian13

#5 Post by keos »

Code: Select all

keos@kaos:~/ungoogled-chromium-debian$ sudo mk-build-deps -i debian/control
dpkg-buildpackage: información: paquete fuente ungoogled-chromium-build-deps
dpkg-buildpackage: información: versión de las fuentes 120.0.6099.216-1
dpkg-buildpackage: información: distribución de las fuentes unstable
dpkg-buildpackage: información: fuentes modificadas por Equivs Dummy Package Generator <root@kaos.kaos.org>
dpkg-buildpackage: información: arquitectura del sistema amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install --destdir=debian/ungoogled-chromium-build-deps/
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: construyendo el paquete `ungoogled-chromium-build-deps' en `../ungoogled-chromium-build-deps_120.0.6099.216-1_all.deb'.
 dpkg-genbuildinfo --build=binary -O../ungoogled-chromium-build-deps_120.0.6099.216-1_amd64.buildinfo
 dpkg-genchanges --build=binary -O../ungoogled-chromium-build-deps_120.0.6099.216-1_amd64.changes
dpkg-genchanges: información: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: información: subida sólo de binarios (no se incluye ninguna fuente)

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Seleccionando el paquete ungoogled-chromium-build-deps previamente no seleccionado.
(Leyendo la base de datos ... 149898 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar ungoogled-chromium-build-deps_120.0.6099.216-1_all.deb ...
Desempaquetando ungoogled-chromium-build-deps (120.0.6099.216-1) ...
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
Corrigiendo dependencias...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) ungoogled-chromium-build-deps:amd64 < 120.0.6099.216-1 @iU K Nb Ib >
Broken ungoogled-chromium-build-deps:amd64 Depende on dh-exec:amd64 < none @un H >
  Removing ungoogled-chromium-build-deps:amd64 because I can't find dh-exec:amd64
Done
 Listo
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Los siguientes paquetes se ELIMINARÁN:
  ungoogled-chromium-build-deps
0 actualizados, 0 nuevos se instalarán, 1 para eliminar y 0 no actualizados.
1 no instalados del todo o eliminados.
Se liberarán 10.2 kB después de esta operación.
¿Desea continuar? [S/n] s
(Leyendo la base de datos ... 149902 ficheros o directorios instalados actualmente.)
Desinstalando ungoogled-chromium-build-deps (120.0.6099.216-1) ...
localepurge: Disk space freed:      0 KiB in /usr/share/locale
localepurge: Disk space freed:      0 KiB in /usr/share/man
localepurge: Disk space freed:      0 KiB in /usr/share/gnome/help
localepurge: Disk space freed:      0 KiB in /usr/share/cups/templates
localepurge: Disk space freed:      0 KiB in /usr/share/cups/locale
localepurge: Disk space freed:      0 KiB in /usr/share/cups/doc-root
localepurge: Disk space freed:      0 KiB in /usr/share/cups/templates
localepurge: Disk space freed:      0 KiB in /usr/share/cups/locale
localepurge: Disk space freed:      0 KiB in /usr/share/cups/doc-root
localepurge: Disk space freed:      0 KiB in /usr/share/help

Total disk space freed by localepurge: 0 KiB

mk-build-deps: Unable to install ungoogled-chromium-build-deps at /usr/bin/mk-build-deps line 460.
mk-build-deps: Unable to install all build-dep packages
And after this ... adding 'LANG=C':

Code: Select all

keos@kaos:~/ungoogled-chromium-debian$ LANG=C sudo mk-build-deps -i debian/control
dpkg-buildpackage: info: source package ungoogled-chromium-build-deps
dpkg-buildpackage: info: source version 120.0.6099.216-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@kaos.kaos.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install --destdir=debian/ungoogled-chromium-build-deps/
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'ungoogled-chromium-build-deps' in '../ungoogled-chromium-build-deps_120.0.6099.216-1_all.deb'.
 dpkg-genbuildinfo --build=binary -O../ungoogled-chromium-build-deps_120.0.6099.216-1_amd64.buildinfo
 dpkg-genchanges --build=binary -O../ungoogled-chromium-build-deps_120.0.6099.216-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package ungoogled-chromium-build-deps.
(Reading database ... 149898 files and directories currently installed.)
Preparing to unpack ungoogled-chromium-build-deps_120.0.6099.216-1_all.deb ...
Unpacking ungoogled-chromium-build-deps (120.0.6099.216-1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) ungoogled-chromium-build-deps:amd64 < 120.0.6099.216-1 @iU K Nb Ib >
Broken ungoogled-chromium-build-deps:amd64 Depends on dh-exec:amd64 < none @un H >
  Removing ungoogled-chromium-build-deps:amd64 because I can't find dh-exec:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages will be REMOVED:
  ungoogled-chromium-build-deps
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 10.2 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 149902 files and directories currently installed.)
Removing ungoogled-chromium-build-deps (120.0.6099.216-1) ...
localepurge: Disk space freed:      0 KiB in /usr/share/locale
localepurge: Disk space freed:      0 KiB in /usr/share/man
localepurge: Disk space freed:      0 KiB in /usr/share/gnome/help
localepurge: Disk space freed:      0 KiB in /usr/share/cups/templates
localepurge: Disk space freed:      0 KiB in /usr/share/cups/locale
localepurge: Disk space freed:      0 KiB in /usr/share/cups/doc-root
localepurge: Disk space freed:      0 KiB in /usr/share/cups/templates
localepurge: Disk space freed:      0 KiB in /usr/share/cups/locale
localepurge: Disk space freed:      0 KiB in /usr/share/cups/doc-root
localepurge: Disk space freed:      0 KiB in /usr/share/help

Total disk space freed by localepurge: 0 KiB

mk-build-deps: Unable to install ungoogled-chromium-build-deps at /usr/bin/mk-build-deps line 460.
mk-build-deps: Unable to install all build-dep packages
keos@kaos:~/ungoogled-chromium-debian$ 

Probook-hp
AMD Ryzen 7 7730U with Radeon Graphics

Debian 13 Testing
Desktop: xfce4-panel 4.20.0

User avatar
eriefisher
Posts: 144
Joined: 2008-06-04 03:49
Location: Ontario's West Coast
Has thanked: 1 time
Been thanked: 1 time

Re: How to install ungoogle-chromium?, Debian13

#6 Post by eriefisher »

Broken ungoogled-chromium-build-deps:amd64 Depends on dh-exec:amd64
As it says, "Depends on dh-exec"

Code: Select all

apt install dh-exec
and build again.
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.20

User avatar
keos
Posts: 189
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 7 times

Re: How to install ungoogle-chromium?, Debian13

#7 Post by keos »

Code: Select all

keos@kaos:~$ su
Contraseña: 
root@kaos:/home/keos# apt install dh-exec
Error: No se ha podido localizar el paquete dh-exec

root@kaos:/home/keos# LANG=C apt install dh-exec
Error: Unable to locate package dh-exec
root@kaos:/home/keos# 

Probook-hp
AMD Ryzen 7 7730U with Radeon Graphics

Debian 13 Testing
Desktop: xfce4-panel 4.20.0

User avatar
eriefisher
Posts: 144
Joined: 2008-06-04 03:49
Location: Ontario's West Coast
Has thanked: 1 time
Been thanked: 1 time

Re: How to install ungoogle-chromium?, Debian13

#8 Post by eriefisher »

dh-exec is available through all branches of debian since buster so I'm not sure why it doesn't come up. Possible a repo issue?

Code: Select all

 apt policy dh-exec
dh-exec:
  Installed: (none)
  Candidate: 0.30
  Version table:
     0.30 500
        500 https://deb.debian.org/debian unstable/main amd64 Packages
apt update
apt install dh-exec
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.20

User avatar
keos
Posts: 189
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 7 times

Re: How to install ungoogle-chromium?, Debian13

#9 Post by keos »

Code: Select all

deb http://deb.debian.org/debian/ trixie non-free-firmware main   
deb-src http://deb.debian.org/debian/ trixie main non-free-firmware 

deb http://security.debian.org/debian-security/ trixie-security main non-free-firmware 
deb-src http://security.debian.org/debian-security/ trixie-security main non-free-firmware 

# trixie-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ trixie-updates main non-free-firmware 
deb-src http://deb.debian.org/debian/ trixie-updates main non-free-firmware 
Probook-hp
AMD Ryzen 7 7730U with Radeon Graphics

Debian 13 Testing
Desktop: xfce4-panel 4.20.0

User avatar
hotnuma
Posts: 14
Joined: 2024-12-25 22:44
Has thanked: 2 times
Been thanked: 1 time

Re: How to install ungoogle-chromium?, Debian13

#10 Post by hotnuma »

There is also some deb files here :

https://github.com/berkley4/ungoogled-c ... n/releases

There is one mandatory file :
ungoogled-chromium

Three optional :
ungoogled-chromium-sandbox
ungoogled-chromium-l10n
ungoogled-chromium-driver

There are also debug symbols.

Then the command to install is :
https://wiki.debian.org/ungoogled-chrom ... ian_Builds

Code: Select all

apt install ./ungoogled-chromium_*.deb
Then there is this note:
Until I can get a hotfix uploaded, please edit line 9 of /usr/bin/chromium to read as follows...
. /etc/chromium/launcher.vars
Also a few issues :
VA-API appears to be broken for some people
XZ_THREADED won't have any effect until upstream dpkg enables multi-threaded compression (see bug)
A sample apparmor profile can be manually copied to /etc/apparmor.d to prevent a startup error on Ubuntu 24.04+
For builders: ninja cleandead (./debian/rules cleandead) might fail on non-completed builds
I don't know if it works thought, I would be cautious to install such binaries on my system :-P
Last edited by hotnuma on 2025-01-25 17:26, edited 1 time in total.

Shamak
Posts: 183
Joined: 2018-04-14 00:33
Has thanked: 14 times
Been thanked: 15 times

Re: How to install ungoogle-chromium?, Debian13

#11 Post by Shamak »

keos wrote: 2025-01-25 14:39

Code: Select all

keos@kaos:~$ su
Contraseña: 
root@kaos:/home/keos# apt install dh-exec
Error: No se ha podido localizar el paquete dh-exec

root@kaos:/home/keos# LANG=C apt install dh-exec
Error: Unable to locate package dh-exec
root@kaos:/home/keos# 

keos, I'm no expert but you're supposed to use su - now instead of su. Maybe that's the problem?

Actually, I just ran a simulation using su and it worked so that's probably not the problem. But you're supposed to use su - now.

viewtopic.php?p=704486#p704486
Last edited by Shamak on 2025-01-25 17:48, edited 3 times in total.

User avatar
eriefisher
Posts: 144
Joined: 2008-06-04 03:49
Location: Ontario's West Coast
Has thanked: 1 time
Been thanked: 1 time

Re: How to install ungoogle-chromium?, Debian13

#12 Post by eriefisher »

Your sources are incomplete and is probably why. See example.

deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware

Add the missing components and apt update again.
____________________________________________
There's a manual?
Siduction
Debian Sid
Xfce4 4.20

User avatar
keos
Posts: 189
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 7 times

Re: How to install ungoogle-chromium?, Debian13

#13 Post by keos »

dh-exec is already installed, clang and clang17 are installed.

It looks like there is not any problem with repos:

viewtopic.php?t=161673

Code: Select all

keos@kaos:~/ungoogled-chromium-debian$ LANG=C sudo mk-build-deps -i debian/control
dpkg-buildpackage: info: source package ungoogled-chromium-build-deps
dpkg-buildpackage: info: source version 120.0.6099.216-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@kaos.kaos.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install --destdir=debian/ungoogled-chromium-build-deps/
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'ungoogled-chromium-build-deps' in '../ungoogled-chromium-build-deps_120.0.6099.216-1_all.deb'.
 dpkg-genbuildinfo --build=binary -O../ungoogled-chromium-build-deps_120.0.6099.216-1_amd64.buildinfo
 dpkg-genchanges --build=binary -O../ungoogled-chromium-build-deps_120.0.6099.216-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package ungoogled-chromium-build-deps.
(Reading database ... 154801 files and directories currently installed.)
Preparing to unpack ungoogled-chromium-build-deps_120.0.6099.216-1_all.deb ...
Unpacking ungoogled-chromium-build-deps (120.0.6099.216-1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) ungoogled-chromium-build-deps:amd64 < 120.0.6099.216-1 @iU K Nb Ib >
Broken ungoogled-chromium-build-deps:amd64 Depends on clang-16:amd64 < none @un H >
  Removing ungoogled-chromium-build-deps:amd64 because I can't find clang-16:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages will be REMOVED:
  ungoogled-chromium-build-deps
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 10.2 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 154805 files and directories currently installed.)
Removing ungoogled-chromium-build-deps (120.0.6099.216-1) ...
localepurge: Disk space freed:      0 KiB in /usr/share/locale
localepurge: Disk space freed:      0 KiB in /usr/share/man
localepurge: Disk space freed:      0 KiB in /usr/share/gnome/help
localepurge: Disk space freed:      0 KiB in /usr/share/tcltk
localepurge: Disk space freed:      0 KiB in /usr/share/cups/templates
localepurge: Disk space freed:      0 KiB in /usr/share/cups/locale
localepurge: Disk space freed:      0 KiB in /usr/share/cups/doc-root
localepurge: Disk space freed:      0 KiB in /usr/share/cups/templates
localepurge: Disk space freed:      0 KiB in /usr/share/cups/locale
localepurge: Disk space freed:      0 KiB in /usr/share/cups/doc-root
localepurge: Disk space freed:      0 KiB in /usr/share/help

Total disk space freed by localepurge: 0 KiB

mk-build-deps: Unable to install ungoogled-chromium-build-deps at /usr/bin/mk-build-deps line 460.
mk-build-deps: Unable to install all build-dep packages
keos@kaos:~/ungoogled-chromium-debian$
Probook-hp
AMD Ryzen 7 7730U with Radeon Graphics

Debian 13 Testing
Desktop: xfce4-panel 4.20.0

User avatar
keos
Posts: 189
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 7 times

Re: How to install ungoogle-chromium?, Debian13

#14 Post by keos »

I messed up the system a lot dealing with those commands ... I gave up and installed it using Flatpak :|
Probook-hp
AMD Ryzen 7 7730U with Radeon Graphics

Debian 13 Testing
Desktop: xfce4-panel 4.20.0

Post Reply