SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my notes about installing Slackware I have a comment that there is a way of passing a list of unwanted packages during an install. Is this correct?.
I am going to be getting a new box soon and as the disks will be empty I wonder how the install program can get the blacklist file.
The blacklist file will be present in /etc/slackpkg after the install. It is heavily annotated.
Here is its purpose as stated at the beginning of the file:
Code:
# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
I use it primarily to keep slackpkg clean-system from removing Slackbuilds from AlienBob or Slackbuilds.org or packages that I have installed from sources. slackpkg does not upgrade such packages, as they are not part of the Slackware build, but it will try to remove them.
I believe what he is asking is how to pick which software is installed from each section of the installation disk. I may be mistaken though.
What you are looking for are tag files:
http://www.slackbook.org/html/package-management-making-tags-and-tagfiles.html
More information here:
http://www.slackwiki.com/Tagfile_Install
I have been trying to research unattended installation of Slackware. I have a few more links about customizing Slackware installations in my notes on my laptop, but I don't have my laptop at the moment.
Hopefully someone more experienced with Slackware can chime in though.
I was interested in setting up tag files but after reading those two references and looking at some tag files I feel it would be safer to remove unwanted stuff after the install.
This might not be what you're looking for, but if you don't want to use tagfiles and if you use slackpkg, it can generate and use so-called templates. From the man page:
Code:
generate-template
This action creates a new template with all official packages that
are installed in your system. The template is stored at
/etc/slackpkg/templates
install-template
This action install the required template in the system. The tem
plate must be in /etc/slackpkg/templates. If the template
"includes" other templates, all of them need to be in
/etc/slackpkg/templates. You can disable the "includes" in
slackpkg.conf or in command-line.
remove-template
This action remove all packages that are part of selected tem
plate. Be careful, this can put your machine in an unusable state.
The "include" handling can be activated/deactivated in
slackpkg.conf or with the appropriate option in command-line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.