Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 12-02-2010, 02:16 PM   #1
LQ Newbie
Registered: Mar 2008
Location: Virginia
Distribution: Red Hat, Ubuntu, OpenSUSE
Posts: 12

Rep: Reputation: 0
Question apt/dpkg: How do I segregate user application packages from system packages?

Is there a way using dpkg or apt-get to segregate user application packages from system packages?

What I envision is an /apps directory structure that can be the install target for selected packages so not to "clutter" the storage areas for the system administration files/packages - maybe even with permissions set so that (a GROUP of) users could install packages on an Ubuntu server w/o SysAdmin guidance. This could also allow 1)system upgrades with or w/o including these packages, and 2)the sharing of /apps (via NFS) among common Ubuntu systems.

Is this doable using the dpkg or apt maintenance tools?

Thanks, in advance, for your help.
Old 12-03-2010, 07:35 AM   #2
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
man dpkg

Something like
dpkg --root=/apps/$package --admindir=/apps/var/lib/ --instdir=/apps/$package -i ${package}.deb
Old 12-03-2010, 11:04 AM   #3
LQ Newbie
Registered: Mar 2008
Location: Virginia
Distribution: Red Hat, Ubuntu, OpenSUSE
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks for the help. I had read "man dpkg" but was unsure of the explicit set of parameters for what I want to do. I'll give it a try. -Mike


apt, apt-get, dpkg

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
how to use apt-get/aptitude/dpkg in ubuntu to install packages on a HDD (booting ubuntu from CD) gujedan Linux - Newbie 1 10-07-2010 06:02 AM
apt/dpkg List of all installed packages jmoschetti45 Linux - Software 2 02-12-2010 04:20 PM
Freezing the system. Packages error. sudo dpkg --configure -a kombez Linux - Newbie 1 09-03-2009 01:31 PM
Is a there general method to segregate debugging symbols in Slackware packages? Shingoshi Slackware 7 03-27-2009 08:15 PM
cleaning up my system of unneeded packages with apt-get Michael_aust Debian 13 04-04-2006 02:23 AM

All times are GMT -5. The time now is 07:29 PM.

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