相关疑难解决方法(0)

如何自动安装 bash 提示我安装的程序?

我在考虑这个输出的用例:

The program 'tiger' is currently not installed. You can install it by typing:
sudo apt-get install tiger
Run Code Online (Sandbox Code Playgroud)

我怎样才能让它提示我安装那个包?例如它会输出这个:

The program 'tiger' is currently not installed. You can install it by typing:
sudo apt-get install tiger
# Confirmation can go here
[sudo] password for tim:
The following NEW packages will be installed
  tiger tripwire
0 to upgrade, 11 to newly install, 0 to remove and 0 not to upgrade.
Need to get 8,416 kB of archives.
After this operation, 26.5 …
Run Code Online (Sandbox Code Playgroud)

bash software-installation

6
推荐指数
1
解决办法
471
查看次数

标签 统计

bash ×1

software-installation ×1