我看到了此命令。它在 Ubuntu 上可用吗?
答案1
它默认不安装,但可以安装。看起来它在Universe
存储库中。只要启用了它,您就应该能够安装它。如果未启用,您可以使用以下命令启用它:
sudo add-apt-repository universe
sudo apt update
然后您可以尝试该命令本身来查看它是否已安装。
terrance@terrance-ubuntu:~$ execstack
Command 'execstack' not found, but can be installed with:
sudo apt install execstack
通常,当apt
知道该命令可以在 Ubuntu 存储库中的包中找到时,它会列出您需要安装的包,而不一定是正确的命令名称。下面我已经安装了它。
terrance@terrance-ubuntu:~$ sudo apt install execstack
[sudo] password for terrance:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
execstack
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 74.4 kB of archives.
After this operation, 233 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 execstack amd64 0.0.20131005-1 [74.4 kB]
Fetched 74.4 kB in 0s (156 kB/s)
Selecting previously unselected package execstack.
(Reading database ... 631244 files and directories currently installed.)
Preparing to unpack .../execstack_0.0.20131005-1_amd64.deb ...
Unpacking execstack (0.0.20131005-1) ...
Setting up execstack (0.0.20131005-1) ...
Processing triggers for man-db (2.9.1-1) ...
terrance@terrance-ubuntu:~$ execstack
execstack: no files given
下面是来自Ubuntu 存储库中 rmadison
所有可用版本的脚本。execstack
注意:rmadison
如果您决定使用,将仅显示来自 Ubuntu 存储库,而不会显示第三方存储库。
terrance@terrance-ubuntu:~$ rmadison execstack
execstack | 0.0.20090925-1 | precise | amd64, armel, armhf, i386, powerpc
execstack | 0.0.20090925-8 | trusty | amd64, arm64, armhf, i386, powerpc, ppc64el
execstack | 0.0.20130503-1.1 | xenial/universe | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
execstack | 0.0.20131005-1 | bionic/universe | amd64, arm64, armhf, i386, ppc64el, s390x
execstack | 0.0.20131005-1 | focal/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
execstack | 0.0.20131005-1.1 | groovy/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
execstack | 0.0.20131005-1.1 | hirsute/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x