

In this screen dialog we can navigate using arrows and select item using "Space". To continue with PHP 7.4.14 installation, we'll just need to enter this command: $ slackpkg install php-7.4 PHP 7.4.14 itself was released at January 7, 2021. This is interesting because by the time of this writing (January 17, 2021), Slackware already has the latest PHP version. You can search specific files using "slackpkg file-search file".įrom the result, we can figure out that PHP package is available and its version is 7.4.14. The list below shows all packages with name matching "php". It will respond with something like this: Looking for php in package list. For example, if we're about to install PHP, we can search it using this slackpkg command: $ slackpkg search php In Slackware, we'll use slackpkg command below: $ slackpkg update Search the Packageįirst, we need to figure whether the software we'd like to install is available. In Ubuntu or Debian based distribution, before we install anything we must update our package repository first using apt or apt-get command.

#Slackware installpkg upgrade how to
For more details about slackpkg you can check here and here.īasically, here's how to install a package in Slackware: Update Package Repository

Like another Linux distributions out there, Slackware has its own package manager, namely pkgtool, installpkg, upgradepkg and removepkg for installing, upgrading and removing software packages. How Package Management Works in Slackware Testing Slackware Current using Persistent Live USB Drive.This article is a part of my Slackware article series.
