Mic*_*woe 5 linux chromium build
如何在我的 Debian Jessie 上安装ungoogled-chromium?我想我必须手动构建它,没有简单的方法(还)?他们有“建筑”页面,但我不太清楚我应该做什么。
这是我尝试过的:
我们需要Python 3
andPython 2
和Ninja
to 使用buildlib
, 来安装ungoogled-chromium
:
user@debian:~$ python3 --version
Python 3.4.2
user@debian:~$ python2 --version
Python 2.7.9
user@debian:~$ apt-get install ninja-build
Run Code Online (Sandbox Code Playgroud)
因为我们使用的是 Debian Jessie,所以我们需要做额外的步骤:
“Debian Jessie 用户注意事项:ungoogled-chromium 被配置为针对系统的 FFmpeg(在 Stretch 及更高版本中可用)进行构建;Libav(在 Jessie 中使用)将无法工作。但是,FFmpeg 在 jessie-backports 中可用。要安装它,将 jessie-backports 添加到 apt 源,然后从中安装 libavutil-dev、libavcodec-dev 和 libavformat-dev。请注意,这将替换 Libav。”
好的,让我们添加jessie-backports
到我们的sources.list
:
/etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie-backports main
sudo apt-get update && sudo apt-get upgrade
现在,我们需要安装libavutil-dev
,libavcodec-dev
和libavformat-dev
包:
sudo apt-get install libavutil-dev libavcodec-dev libavformat-dev
让我们下载ungoogled-chromium
:
wget https://github.com/Eloston/ungoogled-chromium/archive/master.zip
unzip master.zip
cd ungoogled-chromium-master
好的,我们已经准备好了一切。现在我们需要“调用”(?)build.py
来安装ungoogled-chromium
:
chmod +x build.py
./build.py
这是我所能做到的。build.py
向我抛出错误,建筑物将失败。
我究竟做错了什么?
他们在https://ungoogled-software.github.io/ungoogled-chromium-binaries/提供预构建的二进制文件。由于他们只提供 Debian Stretch 的软件包,因此您可以使用“半静态链接的 Linux 构建”。