OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Mar 19, 2024 12:42 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Package Managers
PostPosted: Tue Sep 07, 2021 6:31 pm 
Offline
Member
Member
User avatar

Joined: Mon Sep 21, 2020 9:51 am
Posts: 100
Location: Aboard the Enterprise
Out of curiosity, has anyone implemented package managers in their OSes?

_________________
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe

Live Long And Prosper

Slava Ukraini!
Слава Україні!


Top
 Profile  
 
 Post subject: Re: Package Managers
PostPosted: Wed Sep 08, 2021 5:08 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
Several.

My first "package manager" was little more than a manifest of files to download. This grew to the point where most packages were a single tarball.

My second iteration introduced a dedicated format for tarballs with an integrated metadata description, but it was written in Python and relied heavily on some tricks the "tarfile" module provided.

When I rewrote my userspace to remove third-party dependencies, I essentially went back to the first concept, though I've consistently used tarballs for package contents. I am actively working to move back to the dedicated package file format.

Image

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: Package Managers
PostPosted: Sat Sep 11, 2021 8:31 am 
Offline
Member
Member
User avatar

Joined: Mon Sep 21, 2020 9:51 am
Posts: 100
Location: Aboard the Enterprise
Are the tarballs stored on the system and expanded when installed, or are they stored on the internet and retreived?

_________________
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe

Live Long And Prosper

Slava Ukraini!
Слава Україні!


Top
 Profile  
 
 Post subject: Re: Package Managers
PostPosted: Sat Sep 11, 2021 8:38 am 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
PavelCheckov wrote:
Are the tarballs stored on the system and expanded when installed, or are they stored on the internet and retreived?

The latter. Storing them on the disk would take way too much disk space

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group