我试过了
sudo apt-add-repository ppa:qameta/allure
sudo apt-get update
sudo apt-get install allure
并得到以下结果
Reading package lists... Done
Building dependency tree
Reading state information... Done
allure is already the newest version (0.8.3.0-3build3).
The following packages were automatically installed and are no longer required:
gir1.2-dee-1.0 gnome-software-common libaec0 libappstream-glib8 libapt-pkg5.90 libenchant1c2a libfprint0 libgfortran5 libgpod4 libgspell-1-1 libisl21 liblouis17 liboauth0 libqt5script5 librsync2
libwxgtk3.0-0v5 libx265-176 libxmlb1 python3-markupsafe python3-monotonic shim syslinux-legacy
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
版本的诱惑它没有找到命令
allure --version
allure: command not found
我有完全相同的问题,这为我解决了它:
信用→
解决方案只需三步:
-
sudo apt-get install默认jre
-
wget https://github.com/allure-framework/allure2/releases/download/2.18.1/allure_2.18.1-1_all.deb
-
sudo dpkg -i allure_2.18.1-1_all.deb