Car is a package manager for Redrose Linux. It will also become a wrapper for other package managers to simplify package management.
- Basic functionality
- Basic versioning
- More advanced versioning
- Mirrors
- Website with all packages from official repos
- .car tarballs so installation is not only online
- if the package argument of get ends with .car, install locally
car get|delete|update
# Examples
car get <package> [--noconfirm]
car delete <package>
car update
get <package> [--noconfirm]
- install a package. Use--noconfirm
to skip prompts.delete <package>
- remove a package.update
- update all packages. (currently not functional)
Start by creating a file named install_script
.
version = "0.0.1"
Optional hook that runs before installation.
def beforeinst():
print("This runs before installation!")
print("DO NOT USE THIS FOR DEPENDENCIES")
Declare dependencies. If none, print the exact line below.
def deps():
print(":: No dependencies required")
Provide build steps. If no build is required print:
print(":: No build required")
If the installation is not done in build(), do it here. You do not need to print no deps required, because installing (moving to /usr/bin/) does not take long.
Runs after installation. Place final install steps here if needed.
- Fork the
car-binary-storage
repository. - In GitHub web UI click New file then Create new file.
- Choose a package name. Naming rules:
- Use
-bin
for packages that download binaries. - Use suffixes like
-nightly
or-stable
for specific build channels. - Use
-git
if the package builds from source. - No suffix for a standard package.
- Use
- Create a directory with the package name and add a file named
install_script
. - Paste your
install_script
content. - Submit a pull request. Wait for review and merge.