LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-22-2012, 10:54 PM   #1
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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



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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration