LinuxQuestions.org
Help answer threads with 0 replies.
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
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,108

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
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,206

Rep: Reputation: 230Reputation: 230Reputation: 230
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: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
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
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,108

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


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 08:05 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