Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 12-21-2008, 10:28 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 12

Rep: Reputation: 0
Question Single Package User instead of Package UserS

I have read the guide on Package Users but I had a different thought and wanted to see what other peoples opinions were. I am not trying to suggest that there is anything wrong with package users and I do not want to get into a debate about that. I have also spent a good deal of time looking at various ways to manage packages installed from source but I have not come across any that suggest doing what I propose here so I fear there must be something wrong with trying to do this.

So instead of using a different user to install each package why not install a package using some user X and then after the package is installed search for all files owned by user X and make a list. Then change all of those files owned by user X to root. You can then keep the list and use it to remove the package at a later date.

What kinda gotchas might I run into with this plan? What's your opinion? Will I run into allot of packages that wont install like this? I am not interested in other ways to manage packages here, just wether or not this is a good or bad idea.


I debated between placing this post in the LFS or general linux as it could apply to any distro. Sorry if I put it in the wrong place.
Old 12-21-2008, 10:38 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Most packages are installed and maintained by root for the benefit of all users. It is possible for a user to install a package for himself which cannot be used by other users but this is the exception, not the rule. So if you download a package to be used by all users then install that package as root.

Steve Stites
Old 12-29-2008, 05:27 AM   #3
LQ Newbie
Registered: Dec 2008
Posts: 13

Rep: Reputation: 0
The package users method is an elegant solution to the problem of building and installing linux from scratch. You will keep most of the build & installation issues that traditionally accompany the package users method and you will lose the benefits of each package having their own home directories, login scripts, groups, etc.


lfs, package management

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
LXer: GNOME Debian Package Finder: Rough and ready package search for the desktop LXer Syndicated Linux News 0 09-04-2008 02:00 AM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 10:30 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 08:05 PM
is there a way to update a single package in gentoo? mdpniesta Linux - Software 4 01-26-2005 03:19 AM
apt wont install a single package craigdolson Debian 3 12-16-2003 05:59 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:10 AM.

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