Find the answer to your Linux question:
Results 1 to 5 of 5
Using Crunchbang Waldorf I downloaded a program: posterazor with aptitude. I tried starting it, but can't find any programs named razor or post. So now I'm thinking how do I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    166

    Crunchbhang: how to find programs installed?


    Using Crunchbang Waldorf

    I downloaded a program: posterazor with aptitude. I tried starting it, but can't find any programs named razor or post. So now I'm thinking how do I find programs installed with aptitude and files that are associated with it?

    Thanks

  2. #2
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    947
    Have you tried looking for the executable?

    sudo find / -name <name of app looking for>
    Last edited by docbop; 01-29-2014 at 03:17 PM.

  3. #3
    Linux Guru
    Join Date
    Jul 2008
    Posts
    4,171
    Code:
    $ apt-cache policy razor
    razor:
      Installed: (none)
      Candidate: 1:2.85-4build1
      Version table:
         1:2.85-4build1 0
    To find bin launcher

    Code:
    which razor
    razor should launch in terminal after install with

    Code:
    razor

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    218
    Another option is looking through /var/lib/dpkg/info for the program. Every installed pkg has several text files there. The text file names are the same as the pkg names; program names are sometimes different. The '*.list' files have a list of everything the pkg installed as well as where they're located. The '*.conffiles' shows the names and locations of the installed configuration files.

    Takes a bit longer yet works when you know the pkg name but not sure of the program name. Once familiar, invoking cat in the terminal can show the installed programs and also show where to edit or possibly troubleshoot...

    Code:
    $ cat /var/lib/dpkg/info/hdparm.list  (edited for length)
    /etc/apm/event.d/20hdparm
    /etc/default/hdparm
    /etc/init.d/hdparm
    /etc/hdparm.conf
    /sbin/hdparm
    /lib/udev/rules.d/85-hdparm.rules
    /lib/hdparm/hdparm-functions
    /usr/share/doc/hdparm
    /usr/lib/pm-utils/power.d/95hdparm-apm
    /usr/lib/pm-utils/sleep.d/95hdparm-apm
    Code:
    $ cat /var/lib/dpkg/info/hdparm.conffiles
    /etc/apm/event.d/20hdparm
    /etc/default/hdparm
    /etc/init.d/hdparm
    /etc/hdparm.conf

  6. #5
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    166
    Quote Originally Posted by fanderal View Post
    Another option is looking through /var/lib/dpkg/info for the program
    Thanks for the help. I found the info in posterazor.list. The bin was PosteRazor. I didn't think of it capitalized.

Posting Permissions

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