LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   list installed packages or programs lfs (https://www.linuxquestions.org/questions/linux-from-scratch-13/list-installed-packages-or-programs-lfs-4175438377/)

EDDY1 11-22-2012 10:54 PM

list installed packages or programs lfs
 
Installed lfs working on blfs would like to get a lisyt of installed packages
Have tired all of the commands from this thread
http://www.cyberciti.biz/faq/show-di...eebsd-openbsd/

Also tried /usr/bin/ls which does give a list but not the actual installed program.

malekmustaq 11-22-2012 11:18 PM

Try,
this:

Code:

sudo find {/var,/opt} -type d -iname \*package\*  -user root -exec ls -l {} \;
It will list down all packages you have installed.

Since I have no idea how it is arranged under lfs I cannot point out which folder are your packages are kept. You may try look for it from /var, /opt or even /tmp. In Slackware it is located at /var/log/packages/records-of-all-packages-installed-here.

Hope that helps.

Good luck.

TobiSGD 11-22-2012 11:48 PM

The first question would be if you have used a package management system when installing LFS. If not, there is no way to tell which packages you have installed, you have to keep track of that yourself.

EDDY1 11-23-2012 11:12 AM

Quote:

Originally Posted by TobiSGD (Post 4835238)
The first question would be if you have used a package management system when installing LFS. If not, there is no way to tell which packages you have installed, you have to keep track of that yourself.

Didn't choose a package-management system but before I install a package I do check the list of installed directories before continuing.


All times are GMT -5. The time now is 07:28 AM.