What does it mean: apt-get with caret (^)

作者: lesca 分类: Concept,Ubuntu 发布时间: 2011-02-26 19:15

I was confused about this for quite a long while, but now I find the answer and I am going to let you know.

A past post of mine mentioned sudo apt-get install lamp-server^ . What does it mean?
Actually, the ^ here makes apt-get behave as tasksel.
In other words, it’s an alternative of tasksel. So the following command behaves the same:

$ sudo tasksel install lamp-server

You may be interested in the official document HERE

[1] lesca – [SOLVED] Regex: word^ matches what?
[2] Ubuntu documentation – Tasksel


本文出自 Lesca 技术宅,转载时请注明出处及相应链接。

本文永久链接: https://lesca.me/archives/what-does-it-mean-apt-get-with-caret.html