首页 » Concept » What does it mean: apt-get with caret (^)

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

作者: lesca 分类: Concept, Ubuntu 发布时间: 2011-02-26 19:15 ė浏览 2,825 次 6Comments Off on 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://lesca.me/archives/what-does-it-mean-apt-get-with-caret.html

Ɣ回顶部