Debian环境下载Debian的Chromium代码并编译

华良才
2023-12-01

Debian官网:Chromium包,https://packages.debian.org/sid/chromium

Ubuntu官网:Chromium包,http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/

1、安装工具

apt install devscripts // dget
apt install dpkg-dev   // dpkg-source

2、下载脚本

dget http://deb.debian.org/debian/pool/main/c/chromium/chromium_90.0.4430.212-1.dsc

2、执行脚本,解压及配置代码

dpkg-source -x chromium_90.0.4430.212-1.dsc

3、安装依赖

cd chromium-xxx
sudo apt build-dep .

4、编译源码

debuild -b // 编译命令

 类似资料: