Skip to main content
Glama

remove_package

Remove packages from Arch Linux systems using pacman. Choose between basic removal, dependency removal, or forced removal options to manage system packages.

Instructions

Remove a package from the system. Supports various removal strategies: basic removal, removal with dependencies, or forced removal. Only works on Arch Linux. Requires sudo access.

Input Schema

NameRequiredDescriptionDefault
package_nameYesName of the package to remove
remove_dependenciesNoRemove package and its dependencies (pacman -Rs). Default: false
forceNoForce removal ignoring dependencies (pacman -Rdd). Use with caution! Default: false

Input Schema (JSON Schema)

{ "properties": { "force": { "default": false, "description": "Force removal ignoring dependencies (pacman -Rdd). Use with caution! Default: false", "type": "boolean" }, "package_name": { "description": "Name of the package to remove", "type": "string" }, "remove_dependencies": { "default": false, "description": "Remove package and its dependencies (pacman -Rs). Default: false", "type": "boolean" } }, "required": [ "package_name" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nihalxkumar/arch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server