Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
03-09-2022, 06:56 AM
|
#16
|
Senior Member
Registered: Aug 2011
Posts: 1,199
Original Poster
Rep:
|
Quote:
Originally Posted by shelldweller
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?
|
|
|
03-09-2022, 08:56 PM
|
#17
|
Member
Registered: Mar 2019
Distribution: Slackware
Posts: 310
Rep: 
|
Quote:
Originally Posted by rng
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.
|
03-09-2022, 09:46 PM
|
#18
|
Senior Member
Registered: Aug 2011
Posts: 1,199
Original Poster
Rep:
|
Quote:
Originally Posted by shelldweller
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?
|
|
|
03-10-2022, 03:03 AM
|
#19
|
Member
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 89
Rep: 
|
Quote:
Originally Posted by rng
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.
|
03-10-2022, 06:56 AM
|
#20
|
Senior Member
Registered: Aug 2011
Posts: 1,199
Original Poster
Rep:
|
@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.
|
|
|
03-10-2022, 09:41 AM
|
#21
|
Member
Registered: Aug 2021
Location: Seattle, WA
Distribution: Slackware
Posts: 330
|
Quote:
Originally Posted by rng
...
Another related question: How can I remove full package groups, e.g. e/ t/ y/, from an installed Slackware system?
|
etc.
|
|
1 members found this post helpful.
|
03-10-2022, 10:37 AM
|
#22
|
Senior Member
Registered: Aug 2011
Posts: 1,199
Original Poster
Rep:
|
Quote:
Originally Posted by JayByrd
|
Wow! That's really easy. This is the beauty of Slackware!
|
|
|
03-10-2022, 05:35 PM
|
#23
|
Slackware Contributor
Registered: May 2015
Distribution: Slackware
Posts: 1,926
|
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.
|
03-10-2022, 06:13 PM
|
#24
|
Member
Registered: Jul 2018
Posts: 494
|
|
|
1 members found this post helpful.
|
03-11-2022, 08:48 AM
|
#25
|
Senior Member
Registered: Aug 2011
Posts: 1,199
Original Poster
Rep:
|
Quote:
Originally Posted by mralk3
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.
|
03-11-2022, 10:40 AM
|
#26
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,435
|
Forget it.
Much to complicated with no use.
Last edited by Tonus; 03-11-2022 at 10:42 AM.
|
|
|
03-11-2022, 05:47 PM
|
#27
|
Slackware Contributor
Registered: May 2015
Distribution: Slackware
Posts: 1,926
|
Quote:
Originally Posted by rng
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.
|
|
|
03-17-2022, 09:30 PM
|
#28
|
Member
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 89
Rep: 
|
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
|
|
|
03-18-2022, 01:26 AM
|
#29
|
Senior Member
Registered: Aug 2011
Posts: 1,199
Original Poster
Rep:
|
Quote:
Originally Posted by mralk3
...
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.
|
|
|
03-18-2022, 09:04 AM
|
#30
|
Member
Registered: Dec 2006
Location: New Mexico, USA
Distribution: Slackware
Posts: 77
Rep:
|
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.
|
All times are GMT -5. The time now is 04:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|