
論壇
網站公告
社群伺服器正進行搬移作業中,部份已完成;目前仍缺硬體資源,請參考討論區站務公告及主機近況公告。若有不便之處敬請見諒。
正在瀏覽:
1 名遊客
#2
Re: apt 如何列出已安裝的套件列表
訪客
Ident: 3d5bd f107d e596c e77e8
2006/8/25 13:37
我是用 ~$ dpkg -l
不過,你說用 apt-cache search 找 *可安裝的套件*,似乎有點不太正確...
因為 man 說:
不過,你說用 apt-cache search 找 *可安裝的套件*,似乎有點不太正確...
因為 man 說:
apt-cache search regex [ regex ... ]
search performs a full text search on all available package
lists for the regex pattern given. It searches the package names
and the descriptions for an occurrence of the regular expression
and prints out the package name and the short description. If
--full is given then output identical to show is produced for
each matched package, and if --names-only is given then the long
description is not searched, only the package name is.
Separate arguments can be used to specify multiple search pat‐
terns that are and’ed together.
#3
Re: apt 如何列出已安裝的套件列表
gage
2006/8/26 23:55
dpkg --get-selections
這不知道算不算是你想要的答案!
來源:http://linuxtoy.org/archives/reinstallation_software_tip.html
這不知道算不算是你想要的答案!
來源:http://linuxtoy.org/archives/reinstallation_software_tip.html
#4
Re: apt 如何列出已安裝的套件列表
雪龍
2006/9/1 13:32
匿名 寫到:
我是用 ~$ dpkg -l
不過,你說用 apt-cache search 找 *可安裝的套件*,似乎有點不太正確...
是否應該說在可用的套件清單中用關鍵字作搜尋
您可以查看帖子.
您可以發帖.
您可以回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您可以不經審核直接發帖.





