Mausoleum
From XOmB wiki
This page is part of a series on Related Projects.
|
Mausoleum (maus for short), is a scriptable package manager based on git and written in minid.
Contents |
[edit] Installation
[edit] XOmB
Currently there is no file system or block devices for a file system in XOmB so if you want to use Mausoleum, you will have to use Linux.
[edit] Linux
[edit] Prereqs
- git
- minid
- The maus executable and wrapper script. Go and click the download button to get maus.
[edit] Install Steps
- Create a /mausoleum directory - This will work as the working directory for maus.
- Create a /mausoleum/packages directory - This will hold the .maus package files
- Move to the /mausoleum directory
- Extract the archive you downloaded above into this directory. You will get a directory with the same name as the archive.
- Move into this directory
- Make sure the maus and maus.md file are marked as executable. If they are not, mark them executable.
- Move the file named maus (this is the wrapper script) into your path somewhere, for example /usr/local/bin
- Move the maus.md file up a level into the /mausoleum directory
- If you want the README move it up to /mausoleum also
- Move up a level and remove the directory with the long name
- You are finished installing
- Note: You will probably need to edit the first line of maus.md to correspond to where your mdcl is located.
[edit] Remote Repositories
[edit] Add
- Open /mausoleum/repos.lst in your text editor of choice
- Add a line in the format "<repo url> <name>" for the repo you want to add
- repo url = the url where the package repository is located
- name = the name of the repositories directory
[edit] Remove
- Open /mausoleum/repos.lst in your text editor of choice
- Remove the line corresponding to the repo you want to remove
[edit] Usage
Install a package named foo
maus --install foo maus -i foo
Uninstall a packaged named foo
maus --uninstall foo maus -u foo
Update the package list
maus --update maus -p
Search for a package named foo
maus --search foo maus -s foo
[edit] Design
The basic idea behind Mausoleum, like other package managers, is to take package files that contain information about how a program is to be obtained (if it doesnt already exist in the package file itself) and how it should be installed. The package file associated with Mausoleum is the .maus file. I know, not very creative but since we don't live in a world with only three character extensions anymore, I want to have a it obvious what program the files belong to. Since the idea of a package manager is so simple. I will leave most of the design details to be said in the package spec since that is where you get into what makes maus different.