/go/package: package from the Command Line

/go/package prepares a server for GoAdmio by installing the system packages and tools that GoAdmio's other commands rely on. It: It supports AlmaLinux, Rocky Linux, CentOS, Red Hat, Fedora, Debian, and Ubuntu. The command runs sudo internally, so run it as root or as a user with sudo rights, and the server needs internet access. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Install all missing base packages
/go/package

Options

None.

Examples

# Install all missing base packages
/go/package

# Run inside screen so a lost SSH connection doesn't interrupt it
screen -S package /go/package

# See recent runs
tail /var/log/go/package.log

# Check that a tool is installed
command -v ttyd

Output

The command prints a progress message for each step, such as Installing Screen, followed by the package manager’s own output. It prints no final summary.

Outcome What you get
Supported operating system Progress messages for each missing package, then the shc and WebP steps if they are missing.
Everything already installed The upgrade or update output only.
Unsupported operating system No package steps run. Only the shc and WebP checks at the end still run.

The command does not stop when a step fails, and it has no exit status of its own: the status is that of the last command it ran. Read the output for errors.

Log

Each run appends one line to /var/log/go/package.log:

[Nov 21 12:00:00]# package

See the full reference at /go/package and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *