Results 1 to 7 of 7

Thread: How do i check if I have a package installed using Shell?

  1. #1
    Join Date
    Feb 2008
    Location
    Malta
    Beans
    126
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    How do i check if I have a package installed using Shell?

    Thanks!

  2. #2
    Join Date
    May 2008
    Beans
    14

    Re: How do i check if I have a package installed using Shell?

    that's something I would like to know as well.

  3. #3
    Inxsible's Avatar
    Inxsible is offline Badabing Badabang Badaboom...Sucker!
    Join Date
    Feb 2006
    Beans
    4,996

    Re: How do i check if I have a package installed using Shell?

    Code:
    which program-name
    If it gives any output you have that program installed. If it simply comes back to the prompt without any output, you don't have that program installed.
    Shed that weight!! -- Apps | Window Managers

    Arch + i3 (tty1) Arch + wmfs (tty2)

  4. #4
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How do i check if I have a package installed using Shell?

    Code:
    aptitude show <package>
    or
    Code:
    aptitude show <package> | grep State
    or
    Code:
    aptitude search <package>
    (i = installed)

  5. #5
    Join Date
    Feb 2008
    Location
    Malta
    Beans
    126
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How do i check if I have a package installed using Shell?

    Thanks!

  6. #6
    Join Date
    Sep 2008
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do i check if I have a package installed using Shell?


  7. #7
    Join Date
    Oct 2006
    Location
    Ayrshire
    Beans
    39,868
    Distro
    Ubuntu Development Release

    Re: How do i check if I have a package installed using Shell?

    Old thread closed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •