LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Closed Thread
  Search this Thread
Old 01-03-2006, 09:50 AM   #1
Thinking
Member
 
Registered: Oct 2003
Posts: 249

Rep: Reputation: 30
my own package managment?


hiho@ll

Q1: how can i prog my own package managment?
which libraries are helpful, how could it work?

what i want:
i thought about this:
to do a simple package management it should be enough to know which files changed in the file system: update, delete, add

look at this:
./configure
make
make install


it's a very simple and "standard" way of installation of a prog on linux
so how can i do a package managment which will be able to do
1. backup files before they are replaced? (should i use my own 'mv', 'cp','rm' progs?)
2. save which files are changed how (file xxx removed, changed, created)

using this i could do my own package management which will be able to restore the system state before the installation

Q2: how can i do this? is FAM a possibility? (don't know how it works, and i don't think it could notifiy me if a file should be removed so i can backup the file and let 'rm' do its work)
Q3: is there a prog which can do this already? (rpm isn't a good option, because using rpm i have to use SPEC files to create my rpm package, so it's really hard)

thx@ll
 
Old 01-03-2006, 09:56 AM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

http://www.linuxquestions.org/questi...d.php?t=399054
 
  


Closed Thread



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
my own package managment? Thinking Linux - Software 3 01-03-2006 11:52 AM
package managment tool... IwantLINUX Linux - General 6 09-01-2005 08:31 PM
package managment afrodocter Slackware 2 07-05-2004 10:34 AM
package managment GraemeK Slackware 6 01-24-2004 04:54 AM
package managment reuben420 Linux - General 7 12-17-2002 09:40 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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