我试图在Raspberry版本的MATE上使用PPA版本的touchegg (focal;20.04)。PPA在touchegg版本2.0+,Universe在1.1+。
PPA信息在这里:https://launchpad.net/~touchegg/+archive/ubuntu/stable/+packages
我执行:
sudo add-apt-repository ppa:touchegg/stable PPA似乎安装了。接下来是apt-get update。
/etc/apt/sources.list.d/touchegg-ubuntu-stable-focal.list包含:
deb http http://ppa.launchpad.net/touchegg/stable/ubuntu focal main我还将99-touchegg-repository放在/etc/apt/preferences.d中;它包含以下内容:
Package: touchegg
Pin: release o=LP-PPA-touchegg
Pin-priority: 450然而,apt policy touchegg仍然表明,唯一可用的触地蛋版本是宇宙中的。每当我apt install touchegg时,我就从universe那里得到旧版本。
如何在Ubuntu中使用PPA中的touchegg版本?
发布于 2021-09-10 06:20:17
PPA只有"amd64“构建,这是一个不同于RP的体系结构。你需要一台英特尔/AMD电脑才能使用它。
要查看哪些构建可用,请单击一个包来展开它。
发布于 2021-09-10 06:45:42
更新20210910:上面提到的PPA现在有包为armhf和arm64。您可以删除引脚文件,并像往常一样使用以下命令安装它们:
sudo rm /etc/apt/preferences.d/99-touchegg-repository
sudo add-apt-repository ppa:touchegg/stable
sudo apt-get update
sudo apt-get install touchegg下面是答案的历史部分。
您正在正确地执行所有步骤。这里的问题是PPA只为amd64 CPU体系结构提供包。有关确认,请参见PPA文件-列表。
我在launchpad上给“Touchégg”团队写了一条消息,请求使用armhf和arm64包构建。我们等着反应吧。
如果您很匆忙-通过使用下面的命令进行从GitHub下载官方软件包:
cd ~/Downloads
# for arm64
wget -c https://github.com/JoseExposito/touchegg/releases/download/2.0.11/touchegg_2.0.11_arm64.deb
sudo apt-get install ./touchegg_2.0.11_arm64.deb
# for armhf
wget -c https://github.com/JoseExposito/touchegg/releases/download/2.0.11/touchegg_2.0.11_armhf.deb
sudo apt-get install ./touchegg_2.0.11_armhf.deb或者直接在RaspberryPi上手动编译这个包。首先在软件和更新中启用源代码(deb-src存储库),然后执行以下命令:
sudo apt-get update
sudo apt-get build-dep touchegg
sudo apt-get install git build-essential cmake libcairo2-dev libgtk-3-dev libinput-dev libpugixml-dev libudev-dev libxrandr-dev
cd ~/Downloads
git clone https://github.com/JoseExposito/touchegg.git -b 2.0.11
cd touchegg
dpkg-buildpackage -uc -us
sudo apt-get install ../touchegg_2.0.11_arm*.debhttps://askubuntu.com/questions/1362903
复制相似问题