What does it mean: apt-get with caret (^)
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
Reference:
[1] lesca – [SOLVED] Regex: word^ matches what?
[2] Ubuntu documentation – Tasksel
版权声明
本文出自 Lesca 技术宅,转载时请注明出处及相应链接。
本文永久链接: https://www.lesca.cn/archives/what-does-it-mean-apt-get-with-caret.html