无法定位包裹火焰

Kon*_*ong 4 apt software-installation 16.04

我正在使用 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
Run Code Online (Sandbox Code Playgroud)

结果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
Run Code Online (Sandbox Code Playgroud)

sim*_*eco 5

如果你想在Ubuntu 16.04上安装Flameshot,你可以简单地从源代码构建它

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

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
Run Code Online (Sandbox Code Playgroud)

然后下载源代码并安装它们:

git clone https://github.com/lupoDharkael/flameshot.git && cd flameshot
mkdir build && cd build
qmake ../
sudo make
sudo make install
Run Code Online (Sandbox Code Playgroud)

  • 像魅力一样工作。谢谢。只是为未来读者提供的附加信息: 开始:从终端 - ``` 火焰射击 ``` 顶部栏上会有一个图标。 (2认同)

wal*_*tor 4

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

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