用法:
t-get <packages>
就像这样:
root@linux ~# t-get hello test
found:hello
test:not found
有部分包找不到,安装取消。
root@linux ~# t-get hello kernel-3.15-rc1
found: hello
found: kernel (3.15-rc1)
fetching hello ......ok
fetching kernel ......ok
installing hello ......ok
installing kernel ......ok
backup config ......ok
update-grub ......
found: no-linux-here (/dev/sda1)
grub.cfg updated.
root@linux ~#
t-get <packages>
就像这样:
root@linux ~# t-get hello test
found:hello
test:not found
有部分包找不到,安装取消。
root@linux ~# t-get hello kernel-3.15-rc1
found: hello
found: kernel (3.15-rc1)
fetching hello ......ok
fetching kernel ......ok
installing hello ......ok
installing kernel ......ok
backup config ......ok
update-grub ......
found: no-linux-here (/dev/sda1)
grub.cfg updated.
root@linux ~#