Skip to content

Install exact package names #36

@mid-kid

Description

@mid-kid

I'm trying to script around slackware, and one of the problems I'm trying to solve is being able to install and reinstall arbitrary packages with exact package names, rather than having to glob in a dir full of tarballs.
Slackpkg is a very suitable solution for that, but what I'm finding is that it is utterly impossible to specify exact package names with it.

For example:

# slackpkg -batch=on install gcc

Looking for gcc in package list. Please wait... DONE

gcc-11.2.0-x86_64-2.txz
gcc-brig-11.2.0-x86_64-2.txz
gcc-g++-11.2.0-x86_64-2.txz
gcc-gdc-11.2.0-x86_64-2.txz
gcc-gfortran-11.2.0-x86_64-2.txz
gcc-gnat-11.2.0-x86_64-2.txz
gcc-go-11.2.0-x86_64-2.txz
gcc-objc-11.2.0-x86_64-2.txz

Total package(s): 8

Do you wish to install selected packages (Y/n)? n

Is there a way to make it install only the gcc package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions