无法找到包 flameshot

无法找到包 flameshot

我正在使用 Ubuntu 16.04。我尝试安装 Flameshot,但出现错误提示Unable to locate package flameshot

(base) kong:~$ sudo apt install flameshot
[sudo] password for kong: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package flameshot

结果lsb_release -a

(base) kong:~$ lsb_release -a
LSB Version:    core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:printing-9.20160110ubuntu0.2-amd64:printing-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:    16.04
Codename:   xenial

答案1

如果你想安装火焰喷射器Ubuntu 16.04您可以简单地从源头构建

为此,首先需要安装这些构建工具:

sudo apt install g++ build-essential qt5-default qt5-qmake qttools5-dev-tools
sudo apt install libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 libqt5svg5-dev
sudo apt install git openssl ca-certificates

然后下载源并安装它们:

git clone https://github.com/lupoDharkael/flameshot.git && cd flameshot
mkdir build && cd build
qmake ../
sudo make
sudo make install

答案2

根据https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&keywords=flameshot&searchon=names

flameshot软件包仅适用于 Ubuntu 版本 18.04LTS 或更高版本。

相关内容