LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 11-22-2012, 10:54 PM   #1
EDDY1
Senior Member
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,658

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
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.
 
Old 11-22-2012, 11:18 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,203

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
 
1 members found this post helpful.
Old 11-22-2012, 11:48 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,880
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
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.
 
2 members found this post helpful.
Old 11-23-2012, 11:12 AM   #4
EDDY1
Senior Member
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,658

Original Poster
Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Quote:
Originally Posted by TobiSGD View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
List installed programs CEB Linux - Software 7 09-14-2009 05:39 AM
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 11:36 AM
install packages & check the list of installed programs/languages/applications shojaru Linux - Newbie 2 05-22-2009 02:36 AM
List installed Programs philthee Linux - General 8 10-07-2005 03:35 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 03:45 PM


All times are GMT -5. The time now is 01:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration