Skip to content

dnkmmr69420/containerized-amethyst

Repository files navigation

containerized-amethyst

A package manager that runs amethyst in an arch based distrobox container called Crystal linux docker image

Feel free to include this in your project

Setup

Type this to set up came after installing. this sets up both the container and the config.

came-setup

There is a command that only makes the came container.

create-came-container

came command

To install something, use it like how regular amethyst is used.

came -S packagename

execute a program installed with came

It is quite simple to execute something installed with came.

came-exec command

You can also use came exec to export an application or binary. Replace application name with the name of the application.

came-exec distrobox-export --app application-name
came-exec distrobox-export --bin /path/to/bin --export-path ~/.local/bin

Source

Enter came

you can also enter the came distrobox container

enter-came

resetting came

This command resets the came container by deleting it and creating a new one.

reset-came-container

This command resets the config

reset-came-conf

Stop came

You can type this command to stop the came container

stop-came

Initialize came container

To initialize the came container (start the container), type this command.

came-init

Config

There is only two things in the config since this is a simple program. It is located at ~/.config/came.conf

dcid=ame-container
durl=registry.getcryst.al/crystal/misc/docker:latest

dcid is the name of the container while durl is the container image url.

Scripts

Installers

User wide installer

bash <(curl -s https://raw.githubusercontent.com/dnkmmr69420/containerized-amethyst/main/user-wide-install.sh)

System wide installer

bash <(curl -s https://raw.githubusercontent.com/dnkmmr69420/containerized-amethyst/main/system-wide-install.sh)

Uninstallers

User wide uninstaller

bash <(curl -s https://raw.githubusercontent.com/dnkmmr69420/containerized-amethyst/main/user-wide-uninstall.sh)

System wide uninstaller

bash <(curl -s https://raw.githubusercontent.com/dnkmmr69420/containerized-amethyst/main/system-wide-uninstall.sh)

Installing with make

First clone the repo

git clone https://github.com/dnkmmr69420/containerized-amethyst.git

CD too containerized-amethyst

cd containerized-amethyst

For single user installation type this

Make sure the bin directory exists

mkdir ~/.local/bin

Now install

PREFIX=~/.local make install

Multiuser installation

Type this

sudo PREFIX=/usr/local make install

Uninstall

Type this for single user installs

PREFIX=~/.local make uninstall

For multiuser installs type this

sudo PREFIX=/usr/local make uninstall

Installing with makepkg (arch linux and arch based distros only)

First clone the repo

git clone https://github.com/dnkmmr69420/containerized-amethyst.git

Next cd into the repo

cd containerized-amethyst

now use the makepkg command

makepkg -si

It should now be installed as a pacman package

Dependencies

required at all times: distrobox along with podman (perferably and has been tested) or docker (which has not been tested)

required for installation: wget, curl

License

Licensed under LGPL