Skip to content

Squirrel

Babilinx edited this page Jul 11, 2023 · 1 revision

Squirrel, the Stock Linux package manager

Squirrel is a simple but efficient package manager written in bash. Is goal is to install, update and remove package with simple and understandable code, without sacrifying speed.

Installing squirrel

If you are on Stock Linux, you can skip this part.

Note: using squirrel along side any other package manager can cause serious problem to your distribution. Install it only if you know what you are doing.

Downloading squirrel

You need the following packages:

git curl make

Install squirrel

git clone https://github.com/stock-linux/stock-packaging
cd stock-packaging
sudo make install

Configure squirrel

rolling branch

The rolling branch is the default shiped branch. It is the stablest branch to be on.

To use it:

cat > /etc/squirrel.conf << EOF
stocklinux https://packages.stocklinux.org/x86_64/rolling
EOF

testing branch

The testing branch is the developpement branch. Only for contributors or testers.

To use it:

cat > /etc/squirrel.conf << EOF
stocklinux https://packages.stocklinux.org/x86_64/testing
EOF

local mirror

The local mirror make the build time shorter for packagers.

Note: We are working on it

Use squirrel

Note: squirrel need root rights

Install packages

First, sync the repository

squirrel sync

Then install the package

squirrel install <package>

Removing packages

squirrel remove <package>

Updating the OS

First sync the repo

squirrel sync

Then update the system

squirrel update