当我在终端上安装某些东西时,它通常会显示一些状态信息。首先,它会显示下载速率(这很好)。但是,当我安装某些东西时,它可以显示
Unpacking libgranite2:amd64 (0.3.0~r732+pkg64~ubuntu0.3.1) ...
Selecting previously unselected package slingshot-launcher.
Preparing to unpack .../slingshot-launcher_0.7.6.1+r421+pkg32~ubuntu0.3.1_amd64.deb ...
Unpacking slingshot-launcher (0.7.6.1+r421+pkg32~ubuntu0.3.1) ...
Selecting previously unselected package contractor.
Preparing to unpack .../contractor_0.3.1~r136+pkg22~ubuntu0.3.1_amd64.deb ...
Unpacking contractor (0.3.1~r136+pkg22~ubuntu0.3.1) ...
Selecting previously unselected package apport-hooks-elementary.
Preparing to unpack .../apport-hooks-elementary_0.1-0~35~saucy1_all.deb ...
Unpacking apport-hooks-elementary (0.1-0~35~saucy1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for libglib2.0-0:amd64 (2.40.0-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libgranite-common (0.3.0~r732+pkg64~ubuntu0.3.1) ...
Setting up libgranite2:amd64 (0.3.0~r732+pkg64~ubuntu0.3.1) ...
Setting up slingshot-launcher (0.7.6.1+r421+pkg32~ubuntu0.3.1) ...
Setting up contractor (0.3.1~r136+pkg22~ubuntu0.3.1) ...
Setting up apport-hooks-elementary (0.1-0~35~saucy1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ..
我宁愿不显示。我只想查看下载速率,而不是其他内容。我该怎么做?
编辑:如果出现问题,我还希望将行话存储在其他地方,或者让行话在终端上扩展。
答案1
更好的是,尝试一下 Ubuntu 软件中心!
答案2
答案3
sudo apt-get install &> installoutput.txt 将其重定向到文件。下载速度很难,您可以全部重定向,也可以不重定向。
正如 ElderGeek 指出的那样,这是行不通的。
正如 EcarterYoung 指出的那样,这个确实有效吗?:
sudo apt-get install <package> --assume-yes &> installoutput.txt
将其重定向到文件。