LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-09-2022, 06:56 AM   #16
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47

Quote:
Originally Posted by shelldweller View Post
I do this sort of thing all the time for ARM devices, where storage space is often limited.
.....
To remove rust, seamonkey and thunderbird from a slackware distribution (they have already got installed), will following command work?

Code:
removepkg rust seamonkey thunderbird
Or will I need to remove some other packages with above also?
 
Old 03-09-2022, 08:56 PM   #17
shelldweller
Member
 
Registered: Mar 2019
Distribution: Slackware
Posts: 300

Rep: Reputation: Disabled
Quote:
Originally Posted by rng View Post
To remove rust, seamonkey and thunderbird from a slackware distribution (they have already got installed), will following command work?

Code:
removepkg rust seamonkey thunderbird
Or will I need to remove some other packages with above also?
I think the package name is mozilla-thunderbird. Otherwise, that should work, as would:

Code:
slackpkg remove rust seamonkey mozilla-thunderbird
 
1 members found this post helpful.
Old 03-09-2022, 09:46 PM   #18
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by shelldweller View Post
I think the package name is mozilla-thunderbird. Otherwise, that should work, as would:
Code:
slackpkg remove rust seamonkey mozilla-thunderbird
Ok thanks.

And for upgrading such systems, I should only use commands "slackpkg update" and "slackpkg upgrade" and not "slackpkg install-new" and "slackpkg upgrade-all". Is that correct?
 
Old 03-10-2022, 03:03 AM   #19
ethelack
Member
 
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 82

Rep: Reputation: Disabled
Quote:
Originally Posted by rng View Post
Ok thanks.

And for upgrading such systems, I should only use commands "slackpkg update" and "slackpkg upgrade" and not "slackpkg install-new" and "slackpkg upgrade-all". Is that correct?
"slackpkg upgrade" is used to upgrade a list of individual packages given on the command line as such it is too slow for upgrading the whole system. The preferred method is to use "slackpkg upgrade-all" in combination with a blacklist which will ignore installing/upgrading/removing of packages listed in /etc/slackpkg/blacklist.

There is an explaination how to edit the blacklist at the beginning of the file. Basically you would want.

-----------------------
e/
kde/
t/
y/

kernel-source
rust
seamonkey
mozilla-thunderbird
-----------------------

Last edited by ethelack; 03-10-2022 at 04:46 AM.
 
1 members found this post helpful.
Old 03-10-2022, 06:56 AM   #20
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
@ethelack : Very clearly explained. Thanks.

Another related question: How can I remove full package groups, e.g. e/ t/ y/, from an installed Slackware system?

Last edited by rng; 03-10-2022 at 08:12 AM.
 
Old 03-10-2022, 09:41 AM   #21
JayByrd
Member
 
Registered: Aug 2021
Location: Seattle, WA
Distribution: Slackware
Posts: 302

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
Quote:
Originally Posted by rng View Post
...
Another related question: How can I remove full package groups, e.g. e/ t/ y/, from an installed Slackware system?
Code:
slackpkg remove e
etc.
 
1 members found this post helpful.
Old 03-10-2022, 10:37 AM   #22
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by JayByrd View Post
Code:
slackpkg remove e
etc.
Wow! That's really easy. This is the beauty of Slackware!
 
Old 03-10-2022, 05:35 PM   #23
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
If you are going for a stripped down install, you can get away with only picking a/ ap/ d/ l/ k/ n/ package series during setup. This will give you closest thing to a minimal install, without having to know the entire dependency chain, and retaining system functionality at the command line.

Then you can easily do a "slackpkg install x && slackpkg install xfce" and you will have a very basic xfce desktop.

Following that, you can run slackpkg again and cherry pick the applications you want from xap/ series.

One other useful command:
Code:
slackpkg file-search <keyword>
Additionally, there is the ability to search the package tree using: packages.slackware.com

That is how I do it for small installations of Slackware ARM. Network servers and routers, etc. Typically I find I do not need a GUI unless I am on my daily driver.
 
1 members found this post helpful.
Old 03-10-2022, 06:13 PM   #24
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 352

Rep: Reputation: 259Reputation: 259Reputation: 259
Dependency listings for Slackware packages would be useful if you're looking to strip down your system.

http://slackware.uk/salix/x86_64/slackware-15.0/deps/

Read these two posts first though.

https://www.linuxquestions.org/quest...4/#post5640421

https://www.linuxquestions.org/quest...4/#post5640741
 
1 members found this post helpful.
Old 03-11-2022, 08:48 AM   #25
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by mralk3 View Post
If you are going for a stripped down install, you can get away with only picking a/ ap/ d/ l/ k/ n/ package series during setup. This will give you closest thing to a minimal install, without having to know the entire dependency chain, and retaining system functionality at the command line.

Then you can easily do a "slackpkg install x && slackpkg install xfce" and you will have a very basic xfce desktop.
Very useful information. Thanks.

What will be approximate size of this installation?

Last edited by rng; 03-11-2022 at 08:50 AM.
 
1 members found this post helpful.
Old 03-11-2022, 10:40 AM   #26
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,408
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Forget it.
Much to complicated with no use.

Last edited by Tonus; 03-11-2022 at 10:42 AM.
 
Old 03-11-2022, 05:47 PM   #27
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
Quote:
Originally Posted by rng View Post
Very useful information. Thanks.

What will be approximate size of this installation?
No problem!

You can pare it down more if you remove k/ and d/, but that assumes you aren't going to compile or program code. I'm not sure how much space since results will vary depending on what else you add or remove.
 
Old 03-17-2022, 09:30 PM   #28
ethelack
Member
 
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 82

Rep: Reputation: Disabled
useful command to list packages by size.

Code:
( cd /var/log/packages/ ; grep -x 'U.*M' * ) | awk -F: '{print $3 "\t" $1}' | sort -nr | less
 
Old 03-18-2022, 01:26 AM   #29
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by mralk3 View Post
...
You can pare it down more if you remove k/ and d/, but that assumes you aren't going to compile or program code.
....
Q1. If I need to add software from slackbuilds.org, then I think I will need packages in "d" set. Is that correct?

Q2. If there is an update of Linux-image, then "k" folder packages may be needed. Is that correct?

Last edited by rng; 03-18-2022 at 01:28 AM.
 
Old 03-18-2022, 09:04 AM   #30
dhubsith
Member
 
Registered: Dec 2006
Location: New Mexico, USA
Distribution: Slackware
Posts: 72

Rep: Reputation: 25
I don't know if this will be helpful, or just spark debate about why I left pkg a out, but here is my list. A few things need explanation. I make a new folder, copy to it only the packages I intend to install, and do the installation from there. In the second part of the installation I install the multilib compat-32 packages, downloaded pre-compiled packages, and my own compiled packages and kernel.

Some things I leave out:
Kernels and modules as I compile my own
gcc and glib - I use the multilib version
the n folder I try to keep as minimal as I can
I totally hacked up x - you get a godzillion fonts, but you only really need font-alias, font-cursor-misc and font-misc-misc, plus something readable, like deja-vu. You also get fonts with libreoffice. I only need keyboard and mouse drivers.
the only things in xap I use are audacious and sane. I compile xfce 4.12 from source , prefer gtk2.
some things like ffmpeg and wine I compile myself.
plus I leave out a lot of stuff I don't need.

slackware64: copy the following from the sub-folders:

a: all except: aaa_glibc-solibs, kernel-firmware, kernel-generic, kernel-huge, kernel-modules, lvm2, mdadm, mtx, pcmciautils, upower

ap: all except: joe, lxc, terminus-font

d: all except: gcc, gcc-brig, gcc-g++, gcc-gdc, gcc-gfortran, gcc-gnat, gcc-go, gcc-objc, llvm, rust

l: all except: alsa-oss, ffmpeg, fuse, fuse3, glibc, glibc-i18n, glibc-profile, gnome-keyring, gnome-themes-standard, imagemagick, libmtp, libnjb, libpcap, media-player-info, pilot-link, pulseaudio, tango-icon-theme-extras, vte

n: only: crda, curl, cyrus-sasl, dhcpcd, ethtool, gnutls, iproute2, iputils, libgcrypt, libgpg-error, libmnl, net-snmp, net-tools, nettle, network-scripts, nghttp2, ntp, openldap, openssl, p11-kit, samba, tcp-wrappers, wireless-tools, wpa_supplicant

x: only fonts: dejavu-fonts, font-alias, font-cursor-misc, font-misc-misc

only drivers: xf86-input-keyboard, xf86-input-mouse

only servers: xorg-server

remove: anthy, fcitx, fcitx-anthy, fcitx-configtool, fcitx-hangul, fcitx-kkc, fcitx-libpinyin, fcitx-m17n, fcitx-qt5, fcitx-sayura, fcitx-table-extra, fcitx-table-other, fcitx-unikey, ibus, ibus-anthy, ibus-hangul, ibus-kkc, ibus-libpinyin, ibus-m17n, ibus-table, ibus-unikey, twm, vulkan-sdk, xcursor-themes, xdg-user-dirs

install everything else

xap: only: audacious, audacious-plugins, sane

multilib: install the following:

a: aaa_glibc-solibs

d: gcc, gcc-brig, gcc-g++, gcc-gdc, gcc-gfortran, gcc-gnat, gcc-go, gcc-objc

l: glibc, glibc-i18n, glibc-profile

Hope this is useful.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I safely omit eliloconfig step in setup and do some changes related to eliloconfig script? gustav3000 Slackware 7 09-08-2021 10:29 PM
Omit Standard System Packages carlosinfl Debian 2 03-01-2011 06:54 PM
[SOLVED] How to omit a couple of update packages taylorkh Linux - Server 3 01-26-2011 04:02 PM
Omit device from automounter? TomalakBORG SUSE / openSUSE 1 01-12-2006 06:30 PM
omit print dialog kingshrimp Linux - Newbie 0 12-09-2003 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 03:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration