LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



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

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, 08:35 AM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
man dpkg

Something like
Code:
dpkg --root=/apps/$package --admindir=/apps/var/lib/ --instdir=/apps/$package -i ${package}.deb
http://www.courville.org/mediawiki/index.php/Apt/dpkg
 
Old 12-03-2010, 12:04 PM   #3
boxyzzy
LQ Newbie
 
Registered: Mar 2008
Location: Virginia
Distribution: Red Hat, Ubuntu, OpenSUSE
Posts: 10

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
 
  


Reply

Tags
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 07:02 AM
apt/dpkg List of all installed packages jmoschetti45 Linux - Software 2 02-12-2010 05:20 PM
Freezing the system. Packages error. sudo dpkg --configure -a kombez Linux - Newbie 1 09-03-2009 02:31 PM
Is a there general method to segregate debugging symbols in Slackware packages? Shingoshi Slackware 7 03-27-2009 09:15 PM
cleaning up my system of unneeded packages with apt-get Michael_aust Debian 13 04-04-2006 03:23 AM


All times are GMT -5. The time now is 03:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration