LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-18-2022, 11:12 PM   #1
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 370

Rep: Reputation: Disabled
Remove whole package sets?


Just spun up a Linode... Don't need/want any X...

Tried:
Code:
slackpkg remove kde
slackpkg remove slackware/kde
slackpkg remove slackware64/kde
removepkg kde
removepkg slackware/kde
removepkg slackware64/kde
None worked.

How do you remove a whole package set?

I'd like to kill: kde, x, xap, and xfce


SOLVED: I'm an idiot. Kde wasn't installed only X.

Code:
slackpkg remove x
...worked fine.

Last edited by arfon; 05-18-2022 at 11:16 PM. Reason: I'm an idiot....
 
Old 05-19-2022, 01:56 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by arfon View Post
JI'd like to kill: kde, x, xap, and xfce
Technically, the Slackware's package sets aren't really package groups (like in dependency groups), like many other distributions have.

So, removing the X would be quite bad, from the POV of resolving the runtime dependencies of many packages from the still installed package sets.

Anyway, IF you intend to make a partial install of Slackware, I suggest you to forget the slackpkg and to start to learn how to find the packages dependencies. And please be kind to always specify that you do a partial install when you ask for help.

It's not true that Slackware has no package dependencies as many imagine, it just does NOT have an automated package dependencies resolution, then either you install everything, or you have to walk a painful way.

Last edited by LuckyCyborg; 05-19-2022 at 02:15 AM.
 
4 members found this post helpful.
Old 05-19-2022, 12:39 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by LuckyCyborg View Post
And please be kind to always specify that you do a partial install when you ask for help.
Yes. As a general rule we prefer to provide technical support on full installations of Slackware.
 
Old 05-19-2022, 01:52 PM   #4
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 316

Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by LuckyCyborg View Post

Anyway, IF you intend to make a partial install of Slackware, I suggest you to forget the slackpkg and to start to learn how to find the packages dependencies. .
Can you give any pointers to where or how to best learn how to find the packages dependencies? I would be interested in learning more about this.
 
Old 05-19-2022, 02:09 PM   #5
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Quote:
Originally Posted by amikoyan View Post
Can you give any pointers to where or how to best learn how to find the packages dependencies? I would be interested in learning more about this.
Gentoo portage ebuild files, Salix repository..
Depends on what package you want really, if it's just some binary package unpack the bin and use ldd to see what's what.
If it's a packaged collection of scripts all I can say is good luck. Script packages from different upstreams change deps like the weather does.
 
3 members found this post helpful.
Old 05-20-2022, 02:47 AM   #6
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 370

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by amikoyan View Post
Can you give any pointers to where or how to best learn how to find the packages dependencies? I would be interested in learning more about this.
Two ways I do it:

1) Read the 'requires' on the slackbuilds.org page

2) Start the program in cli and see what it complains about.

Last edited by arfon; 05-20-2022 at 02:48 AM.
 
2 members found this post helpful.
Old 05-20-2022, 04:34 AM   #7
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 370

Original Poster
Rep: Reputation: Disabled
Quote:
And please be kind to always specify that you do a partial install when you ask for help.
Quote:
Yes. As a general rule we prefer to provide technical support on full installations of Slackware.
Unfortunately, this is that damn Linode Slack 15 image... The creator has dropped some packages and I haven't figure out what's not there.

EXCEPT, I did figure out that xap, kde, & xfce are not there (but x is)???

I don't know if the guy was high when he created this image or some cli app requires X stuff (because I'm certainly not going to be running X on a virtual server). I left x on the machine because I could see some command line app requiring something weird like gnome wallet or something.

Whatever, my applications are running so, I'm happy.

Last edited by arfon; 05-20-2022 at 04:36 AM.
 
1 members found this post helpful.
Old 05-20-2022, 08:58 AM   #8
prejudices_mars
Member
 
Registered: Feb 2022
Distribution: Slackware
Posts: 79

Rep: Reputation: 49
Quote:
Originally Posted by amikoyan View Post
Can you give any pointers to where or how to best learn how to find the packages dependencies? I would be interested in learning more about this.
I'm new to Slackware. Failed to compile a lot of programs on Slackware. Practiced for while.

You can use

Code:
ldd /path/to/program
Or you can run the program and read the warnings. Symlink the dependencies in /usr/lib64 and it's that easy!
 
2 members found this post helpful.
Old 05-20-2022, 01:24 PM   #9
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Originally Posted by LuckyCyborg View Post
Technically, the Slackware's package sets aren't really package groups (like in dependency groups), like many other distributions have.

So, removing the X would be quite bad, from the POV of resolving the runtime dependencies of many packages from the still installed package sets.

Anyway, IF you intend to make a partial install of Slackware, I suggest you to forget the slackpkg and to start to learn how to find the packages dependencies. And please be kind to always specify that you do a partial install when you ask for help.

It's not true that Slackware has no package dependencies as many imagine, it just does NOT have an automated package dependencies resolution, then either you install everything, or you have to walk a painful way.
why would removing X be quite bad, as long as I also exclude XAP, XFCE, KDE?
 
Old 05-20-2022, 01:37 PM   #10
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by solarfields View Post
why would removing X be quite bad, as long as I also exclude XAP, XFCE, KDE?
Well, because Slackware packages are built on full installed Slackware, the X dependencies are poured in many libraries and applications which obviously does not depend in X11.

Let' me give you a classic example: PHP has support for ImageMagik, BUT it depends on the X11 libraries.

So, removing the X series may result in a broken PHP - then a broken LAMP stack, then the webserver serving a Wordpress site can go nuts.

Yeah, looks like Slackware has its own shortcomings - like any thing invented by humans.

Last edited by LuckyCyborg; 05-20-2022 at 01:39 PM.
 
2 members found this post helpful.
Old 05-20-2022, 02:59 PM   #11
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
why do we have the packages series then?
 
Old 05-20-2022, 03:15 PM   #12
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by solarfields View Post
why do we have the packages series then?
Good question!

In the past, I have asked myself alone, this...

In my humble opinion, those package series are a categorization by functionality, like in: there we put the libraries (L series) , there we put the KDE software (KDE series) , there we put the X11 server things (X series) and there we put the major applications which requires X (XAP series), etc...

This probably helps in the development and testing.

BUT, I have arrived to be quite certain that those package series does NOT represent a sorting by runtime dependencies, so trying to use them as a dependency resolution would be prone to failures.

Last edited by LuckyCyborg; 05-20-2022 at 03:20 PM.
 
Old 05-20-2022, 03:25 PM   #13
Loomx
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 184

Rep: Reputation: Disabled
Patrick has stated a number of times over the years that the package series are a historical remnant and that nothing should be read into them any more.
e.g. https://www.linuxquestions.org/quest...ml#post5766773
 
2 members found this post helpful.
Old 05-20-2022, 03:53 PM   #14
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
that's how i remember it: a historical thing

if 'nothing should be read into them any more', than that's too bad.
 
Old 05-24-2022, 09:34 AM   #15
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
Hi solarfields,
Quote:
Originally Posted by solarfields View Post
why would removing X be quite bad, as long as I also exclude XAP, XFCE, KDE?
Over the decades I have installed Slackware on quite a few servers, which I subsequently ran and maintained. None of these servers ran any GUI software (I did not install: x, xap, kde, &c.). For individual packages in the other package sets --> I installed only the individual packages necessary/useful for the server's purpose and its maintenance. (From the computer-security point of view, if a piece of software does not exist on the server, then the server is highly unlikely to be bitten by a flaw in this software.)

In my experience, not having x, xap, xfce, and kde can be just fine for some computers. I will agree that setting up the first server was a fair amount of work, but it was not terrible, and I made a 'recipe' of the installation --- and then I used my recipe for subsequent servers.

I see LuckyCyborg mentions PHP and LAMP stack and Wordpress. So far, I have never setup a server with any of these, consequently I am not familiar with their needs. However, I am aware of them, and someday I may setup a server with a LAMP stack...
 
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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Encryption of the whole disk vs. a partition filling the whole disk taylorkh Linux - Security 5 09-19-2016 11:03 AM
Slackware specific tools and package sets? coralfang Slackware 18 07-17-2014 03:12 PM
# yum remove dbus - trying to remove the whole system... atnonis Fedora 4 11-23-2007 06:31 AM

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

All times are GMT -5. The time now is 02:44 AM.

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