Search for Install Packages from the Ubuntu Command Line Tìm kiếm với các gói cài đặt từ Command Line Ubuntu
When you are trying to install software on Ubuntu or Debian linux using the apt-get package system, quite often you'll forget the exact name of the package you are trying to install. Here's how you can get a little help figuring out what the name is. Khi bạn đang cố gắng để cài đặt phần mềm trên Ubuntu hay Linux Debian bằng cách sử dụng apt-get gói hệ thống, khá thường xuyên, bạn sẽ quên tên chính xác của các gói bạn đang cố gắng để cài đặt. Đây là cách bạn có thể có được một chút giúp đỡ figuring ra những gì tên là.
Syntax: Cú pháp:
apt-cache search SearchTerm apt-cache search SearchTerm
Example: Ví dụ:
> apt-cache search monodevelop > Apt-cache search MonoDevelop
monodevelop – C#/Boo/Java/Nemerle/ILasm Development Environment MonoDevelop - C # / Boo / Java / Nemerle / ILasm Phát triển Môi trường
monodevelop-boo – Boo plugin for MonoDevelop MonoDevelop-boo - Boo plugin cho MonoDevelop
monodevelop-java – Java plugin for MonoDevelop MonoDevelop-java - Java plugin cho MonoDevelop
monodevelop-nunit – NUnit plugin for MonoDevelop MonoDevelop-nunit - NUnit plugin cho MonoDevelop
monodevelop-query – MonoQuery plugin for MonoDevelop MonoDevelop-truy vấn - MonoQuery plugin cho MonoDevelop
monodevelop-versioncontrol – VersionControl plugin for MonoDevelop MonoDevelop-versioncontrol - VersionControl plugin cho MonoDevelop
Rather useful, no? Thay vào đó có ích, không có? I've found it very useful even when I know the name of the package I'm trying to install, you can figure out what the names of extra plugins are, as in the above example. Tôi đã tìm thấy nó rất hữu ích, ngay cả khi tôi biết tên của gói Tôi đang cố gắng để cài đặt, bạn có thể tìm ra những gì tên các plugins thêm là, như trong ví dụ trên. I had initially installed monodevelop, but didn't realize there was nunit and version control plugins for it. Tôi đã cài đặt MonoDevelop ban đầu, nhưng đã không nhận ra có nunit kiểm soát và bổ sung phiên bản dành cho nó.
You may also want to run the results through a more, or even a grep. Bạn cũng có thể chạy các kết quả được thông qua, nhiều hơn hoặc thậm chí là một grep. For instance: Ví dụ:
> apt-cache search firefox | grep plugin > Apt-cache search firefox | grep plugin
libflash-mozplugin – GPL Flash (SWF) Library – Mozilla-compatible plugin libflash-mozplugin - GPL Flash (SWF) Thư viện - Mozilla-compatible plugin
mozilla-helix-player – the helix audio and video player (browser plugin) mozilla-helix-player - âm thanh của xoắn và xem video (trình duyệt plugin)
j2re1.4-mozilla-plugin – Java plugin for mozilla/firefox j2re1.4-mozilla-plugin - Java plugin cho mozilla / firefox
mozilla-acroread – Adobe Acrobat(R) Reader plugin for mozilla / konqueror mozilla-acroread - Adobe Acrobat (R) Reader plugin cho mozilla / Konqueror
totem-gstreamer-firefox-plugin – Totem Firefox Plugin – gstreamer version totem-GStreamer-firefox-plugin - Totem Firefox Plugin - GStreamer phiên bản
totem-xine-firefox-plugin – Totem Firefox Plugin – xine version totem-xine-firefox-plugin - Totem Firefox Plugin - xine phiên bản

Daily Email Updates Email cập nhật hàng ngày
You can get our how-to articles in your inbox each day for free. Bạn có thể làm thế nào chúng tôi vào các bài viết trong hộp thư của bạn mỗi ngày miễn phí. Just enter your name and email below: Chỉ cần nhập tên và email của bạn dưới đây:



If you do “apt-cache show monodevelop”, you see a line: Nếu bạn "hiển thị apt-cache MonoDevelop", bạn thấy một dòng:
Suggests: monodevelop-boo, monodevelop-java, monodevelop-nunit, monodevelop-versioncontrol, monodevelop-query, nemerle Gợi ý: MonoDevelop-boo, MonoDevelop-java, MonoDevelop-nunit, MonoDevelop-versioncontrol, MonoDevelop-truy vấn, nemerle
You can use “aptitude”, which is an improved “apt-get” and install via “aptitude install -r monodevelop”. Bạn có thể sử dụng "aptitude", mà là một "cải thiện apt-get" và cài đặt thông qua "aptitude install-r MonoDevelop". The “-r” will cause it to install all suggestions. The "-r" sẽ gây ra nó để cài đặt tất cả các lời đề nghị.
Thanks, that's very helpful. Thanks, đó là rất hữu ích. I was thinking of posting a how-to for aptitude as well. Tôi đã suy nghĩ của bài một cách để cho aptitude là tốt.
does anyone know where i can comand some cd's with UBUNTU because i heard they're free không ai biết nơi tôi có thể COMAND một số cd với Ubuntu, vì tôi nghe nói họ đang Việt
You can download ubuntu from the Ubuntu website. Bạn có thể tải ubuntu từ trang web của Ubuntu. You can also order them from there as well. Bạn cũng có thể đặt chúng từ đó là tốt.
apt-cache is great for a number of things, but I think aptitude has a better search function in this instance; apt-cache là rất tốt cho một số điều, nhưng tôi nghĩ aptitude có một chức năng tìm kiếm tốt hơn trong trường hợp này;
aptitude search aptitude tìm kiếm
mostly because it'll also return status of the package. chủ yếu là bởi vì nó cũng sẽ trở về trạng thái của gói.
i have found a problem about the lack (gstreamer) all plugin .so please help me to give me all plugin through my mail. i đã tìm thấy một vấn đề về việc thiếu (GStreamer) tất cả các plugin. vì vậy hãy giúp tôi để cho tôi tất cả các plugin thông qua các thư của tôi.
Thanks. Cảm ơn.