0

I want to see all of the software I've compiled from extra-repository sources, sources that aren't on my etc/apt/sources.list or in ppas. To clarify I'm not including .deb files- just archives. The purpose is for security and management, particularly updates. Thanks!

1
  • Start by keeping track of "all of the software I've compiled from extra-repository sources".
    – waltinator
    Oct 19, 2016 at 21:09

1 Answer 1

1

See my comment above. To find all files on your system that were NOT installed through the dpkg packaging system, read man dpkg-query, man find (to reduce the files checked - I'm checking everything:

sudo find / -type f -print0 | \
    xargs -0 -n 1 dpkg -S | \
    grep "no path found matching pattern" >>/tmp/not-owned-by-dpkg

Since this will, for each file on the system, search every package for the filename, it's going to take a loooong time.

2
  • Hmm, wouldn't it be faster if I looked for relevant formats like .tar, .zip, etc? How would I pipe that in?
    – user594454
    Oct 25, 2016 at 14:32
  • The existence (or not) of any archive file(.tar,.tgz,.zip, ...) has NO relationship to what software is installed.
    – waltinator
    Oct 25, 2016 at 14:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .