```
searchpkg ‘^foo#’ | fetchpkg installpkg foo#1.0.pkg.tgz # replace with actual version
removepkg foo ```