On 02/07/2015 09:15 πμ, Elias Polytarchos wrote:
On Thu, Jul 2, 2015 at 7:19 AM, Mateus Furquim <[email protected] <mailto:[email protected]>> wrote:Hi everyone, I was doing Linux From Scratch a couple of months ago, but can't remember in which section of the chapter 6 I was. Is there anyway to know which are the packages I've already installed? (Other than ls'ing and looking at programs installed) I mean, is there a tool or shell script that I could use to search all the installed packages on LFS? Sincerely, Mateus Hi! While I am not aware of a tool that will indicate the installed packages per se, most of the packages store information in the ${INSTALL_PREFIX}/lib/pkgconfig/. So, by checking out these directories one should be able to approximately determine which packages have been installed.
Something else that could help is to check bash history. If your HISTSIZE value is big enough and you didn't use much the console during the last period, you can see the commands you executed when doing LFS (e.g. tar xf) and find out the last installed package. Even if you are using buildscripts, you can see the last ran. -- Thanos -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
