HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

installpkg — Install a Slackware package. More information: <https://www.slackbook.org/html/book.html#PACKAGE-MAN

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandinstallpkginstallcliinformationslackwarepackagemore
linux

Problem

How to use the installpkg command: Install a Slackware package. More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-PACKAGE-UTILITIES-INSTALLPKG>.

Solution

installpkg — Install a Slackware package. More information: <https://www.slackbook.org/html/book.html#PACKAGE-MANAGEMENT-PACKAGE-UTILITIES-INSTALLPKG>.

Install a package:
sudo installpkg {{path/to/package.tgz}}


Generate a report of a simulated installation to stdout:
installpkg -warn {{path/to/package.tgz}}


Create a package from current directory and its subdirectories:
installpkg -m {{package_name.tgz}}


Install the contents of the current directory and subdirectories as a package with a specified name:
sudo installpkg -r {{package_name.tgz}}

Code Snippets

Install a package

sudo installpkg {{path/to/package.tgz}}

Generate a report of a simulated installation to `stdout`

installpkg -warn {{path/to/package.tgz}}

Create a package from current directory and its subdirectories

installpkg -m {{package_name.tgz}}

Install the contents of the current directory and subdirectories as a package with a specified name

sudo installpkg -r {{package_name.tgz}}

Context

tldr-pages: linux/installpkg

Revisions (0)

No revisions yet.