Announcement

Collapse
No announcement yet.

How to search for packages with apt-get?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to search for packages with apt-get?

    On arch linux I'd do pacman -Ss name_of_package and it would show me what packages matched that string. How do I do that with apt-get, if possible?

    For example:

    Code:
    pacman -Ss xine
    libxine-xyz
    xinegui-xzy
    xinerama
    
    and so forth

    #2
    Re: How to search for packages with apt-get?

    Have a look at http://ubuntuforums.org/showthread.php?t=75655
    "A problem well stated is a problem half solved." --Charles F. Kettering
    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

    Comment


      #3
      Re: How to search for packages with apt-get?

      man apt-cache
      APT-CACHE
      Section: (8)

      NAME
      apt-cache - APT package handling utility -- cache manipulator

      SYNOPSIS
      apt-cache [-hvsn] [-o=config string] [-c=file] {[add file...] | [gencaches] | [showpkg pkg...] | [showsrc pkg...] | [stats] | [dump] | [dumpavail] | [unmet] | [search regex] | [show pkg...] | [depends pkg...] | [rdepends pkg...] | [pkgnames prefix] | [dotty pkg...] | [policy pkgs...] | [madison pkgs...]}

      DESCRIPTION


      apt-cache
      performs a variety of operations on APT's package cache. apt-cache does not manipulate the state of the system but does provide operations to search and generate interesting output from the package metadata.

      ...
      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 patterns that are and'ed together.

      =>
      Code:
      apt-cache search xine


      More > FAQ: Package Managers
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: How to search for packages with apt-get?

        Thanks alot

        Comment

        Working...
        X