LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-01-2014, 09:47 AM   #16
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 Sumguy View Post
It's just, to me, KDE seems so antithetical to the Slackware philosophy.
I think KDE fits perfectly with the Slackware philosophy; Pat provides the Slackware user base with many excellent DE/WMs and packages. It is your choice to install what you want on Slackware. I don't use KDE, but, I am happy that it is there for people to use.
 
Old 07-01-2014, 10:06 AM   #17
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: BunsenLabs Linux
Posts: 465
Blog Entries: 2

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by hitest View Post
I think KDE fits perfectly with the Slackware philosophy; Pat provides the Slackware user base with many excellent DE/WMs and packages. It is your choice to install what you want on Slackware. I don't use KDE, but, I am happy that it is there for people to use.
As much as I hate KDE, I have to agree.....it's good to have the choice- especially for those who like it, who might not use Slackware, otherwise.
 
1 members found this post helpful.
Old 07-01-2014, 01:07 PM   #18
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
One turboscrew asks more than 10 wise can answer...

I understand that 'installpkg' is a part of pkgtools?
Pkgtools handle packages in local directory?

Slackpkg is a front end to pkgtools? It downloads stuff from repo
to a local directory and uses installpkg to install them?

With SBo you by-pass the slackpkg and download sources directly in a local directory, run the scripts that make installable packages and then install the packages with installpkg?

Anywhere near the idea?

Is there a way to install from more generic sources? Like checkinstall, so you can remove the installed 10 000 files of the package, scattered all over the system, without having to remove them manually one by one?
 
Old 07-01-2014, 01:43 PM   #19
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by turboscrew View Post
One turboscrew asks more than 10 wise can answer...

I understand that 'installpkg' is a part of pkgtools?
Pkgtools handle packages in local directory?

Slackpkg is a front end to pkgtools? It downloads stuff from repo
to a local directory and uses installpkg to install them?

With SBo you by-pass the slackpkg and download sources directly in a local directory, run the scripts that make installable packages and then install the packages with installpkg?

Anywhere near the idea?

Is there a way to install from more generic sources? Like checkinstall, so you can remove the installed 10 000 files of the package, scattered all over the system, without having to remove them manually one by one?
Your summary/posings about pkgtools, slackpkg and SBo is correct, grasshopper.

I have not used checkinstall, but if I understand correctly, it "watches" what make (maybe other build systems?) actually install to your system, then creates a (Slackware or other) package from that. It then removes the installed files and installs the package, thus putting it under control of the native package manager.

In that case, as you correctly surmize, this would allow removal of the installed files simply because it does use the native package manager.

To my knowledge, there is no such mechanism built-in to Slackware, but it is almost always possible for make, cmake and other build systems, to install to an alternate location using build-time variables, and then use makepkg to create a package from that location... which puts you back under control of pkgtools (most slackbuilds do precisely this). Consequently, for the case where there is not an existing slackbuild script, it is usually easy enough to make your own from observing and scripting the build.

In my own case, the only non-slackbuild installer I have resorted to is the VirtualBox installer from Oracle. It is just easier to manage updates their way. In that case I limit system activity, use tree to generate a system tree immediately before installing and immediately afterward. The diff of these tells me what it did... mostly just a sanity check...

Hope this helps young padowan!

Last edited by astrogeek; 07-01-2014 at 01:52 PM.
 
Old 07-01-2014, 02:34 PM   #20
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: BunsenLabs Linux
Posts: 465
Blog Entries: 2

Rep: Reputation: 119Reputation: 119
(((I read all this stuff, and I'm still clueless about 3rd. party package management in Slackware.... This is really the only part of Slackware that is hard for a noob. The rest is easy. )))
 
Old 07-01-2014, 02:37 PM   #21
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by turboscrew View Post
One turboscrew asks more than 10 wise can answer...

I understand that 'installpkg' is a part of pkgtools?
Pkgtools handle packages in local directory?
Yes, as are upgradepkg, removepkg, and explodepkg (don't sit too near your computer if you run that).
Run pkgtool in a terminal or the console and you get a ncurses GUI with a menu.

Quote:
Originally Posted by turboscrew View Post
Slackpkg is a front end to pkgtools? It downloads stuff from repo
to a local directory and uses installpkg to install them?
Mainly for security updates, also adding stuff you might have missed out through not doing a full install or totally new bits and pieces, and upgrading from one release to the next.
Quote:
Originally Posted by turboscrew View Post
With SBo you by-pass the slackpkg and download sources directly in a local directory, run the scripts that make installable packages and then install the packages with installpkg?
sbopkg downloads, builds, and installs stuff from slackbuilds.org.

Quote:
Originally Posted by turboscrew View Post
Is there a way to install from more generic sources? Like checkinstall, so you can remove the installed 10 000 files of the package, scattered all over the system, without having to remove them manually one by one?
removepkg usually removes all traces of any real Slackware package.

Last edited by brianL; 07-01-2014 at 02:39 PM.
 
Old 07-01-2014, 02:40 PM   #22
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 Sumguy View Post
(((I read all this stuff, and I'm still clueless about 3rd. party package management in Slackware.... This is really the only part of Slackware that is hard for a noob. The rest is easy. )))
The best way to handle, create packages for software not offered in Slackware is to use the slackBuild scripts offered by the good people at slackbuilds.org. A good way to get started with slackbuild scripts is to download/install the sbopkg utility which makes it easy to download, create, and install 3rd party applications. The sbopkg utility provides an easy to use interface to enable you to work with the scripts at slackbuilds.org.

http://www.sbopkg.org/downloads.php
 
Old 07-01-2014, 02:43 PM   #23
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by Sumguy View Post
(((I read all this stuff, and I'm still clueless about 3rd. party package management in Slackware.... This is really the only part of Slackware that is hard for a noob. The rest is easy. )))
Have you had a look at the Slackware Documentation Project, link below in my signature? Get reading NOW!!!
 
Old 07-01-2014, 03:21 PM   #24
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You can also use slacktrack:
http://www.slackware.com/~mozes/

What I do is use my own script. All I really need is a list of files that were installed. So I just use find to make this list and save it to a file. I do not log things inside /etc, because removing things from there is dangerous, you should do this manually. In fact I only log things in /usr.
 
Old 07-01-2014, 04:15 PM   #25
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: BunsenLabs Linux
Posts: 465
Blog Entries: 2

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by hitest View Post
The best way to handle, create packages for software not offered in Slackware is to use the slackBuild scripts offered by the good people at slackbuilds.org. A good way to get started with slackbuild scripts is to download/install the sbopkg utility which makes it easy to download, create, and install 3rd party applications. The sbopkg utility provides an easy to use interface to enable you to work with the scripts at slackbuilds.org.

http://www.sbopkg.org/downloads.php
I have SBOpkg- that does make it easy if it has the programs you want.

I've also learned [I think ] from the help of others on here, that my best bet is probably to learn to make my own Slackbuilds.

Trouble with me is, I rarely install anything....but if/when I do, it's usually something non-mainstream- so I really do need to learn to do it from the ground, up. And being I rarely need to install anything, of course I tend to forget how to do things, just because I may go a year without ever installing anything.

Quote:
Originally Posted by brianL View Post
Have you had a look at the Slackware Documentation Project, link below in my signature? Get reading NOW!!!
Probably.

Trouble is, there are so many different options (Installpkg; Slackbuilds; Slapt-get; make-install; Slackpkg) and one only works with official Slackware pkgs, while one is for custom builds that others have made and one only works on the second Tuesday of months containing the letter R ....and one works with a .tgz but not a tar.gz .....

I mean, it's great to have plenty of options, but as a noob (and a barely computer-literate one at that) it just seems bewildering. I read the lit, but there are so many different things and different opinions and practices, that I feel like I don't know anything more after reading half of that stuff, than before I read it

I'm sure though, given enough time and experimentation, I'll figure it all out.

If I learn how to make my own Slackbuilds, I can pretty much do it all that way, right?

I LOVE Slackware- and everything else is easy....so this is the only hurdle I have to get over- and at least it'll force me to learn... (If it weren't for you guys/this forum though, I'd be in trouble! )

Last edited by Sumguy; 07-01-2014 at 04:19 PM.
 
Old 07-01-2014, 05:04 PM   #26
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 Sumguy View Post
Trouble is, there are so many different options (Installpkg; Slackbuilds; Slapt-get; make-install; Slackpkg) and one only works with official Slackware pkgs, while one is for custom builds that others have made and one only works on the second Tuesday of months containing the letter R ....and one works with a .tgz but not a tar.gz .....
You can also give gnashley's utility a try. The src2pkg utility is a nifty program that takes source programs and creates installable Slackware packages.

http://distro.ibiblio.org/amigolinux/download/src2pkg/
 
Old 07-01-2014, 05:10 PM   #27
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
OMG, I'm that much behind. I've been struggling with wifi.
After boot it works fine for maybe 30 mins or so, and then not so well.
(I'm writing this on another machine)

Nw the info about installing SW comes handy!

I've been trying to install wicd - maybe it works better.
After the first connection loss the net stays up for maybe a couple of minutes.
With xfce not even that much (using KDE by default).

The funny thing is that iwlist scanning keeps telling that wifi works fine.
Like it was just the browsers (Konqueror, Firefox) loose the connection.
Even disconnecting and reconnecting doesn't seem to help.

My wifi base station is Buffalo WHR G300N.
Using TKIP.

A couple of days ago I still run Mint 13 - no network problems, so I think the HW is OK.

The problem is that the net doesn't seem to work long enough to find instructions,
read the instructions and install.
 
Old 07-01-2014, 05:20 PM   #28
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: BunsenLabs Linux
Posts: 465
Blog Entries: 2

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by hitest View Post
You can also give gnashley's utility a try. The src2pkg utility is a nifty program that takes source programs and creates installable Slackware packages.

http://distro.ibiblio.org/amigolinux/download/src2pkg/
Thanks. That sounds right up my alley. Does it log the stuff to /var/log and all, so as not to obfuscate the advantages of Slackware?
 
Old 07-01-2014, 05:24 PM   #29
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
Does this look right?

Code:
bash-4.2# slackpkg search wicd

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

The list below shows all packages with name matching "wicd".

[ installed ] - wicd-kde-0.3.0_bcf27d8-i486-1
[uninstalled] - wicd-1.7.2.4-i486-4
Where should I find wicd (wicd-kde)?

In the network configuration I selected Network Manager.

...

This is what iwlist says - even when the connection is lost:
(Aha, it seems to select AES instead of TKIP - doesn't matter.)'
Code:
bash-4.2# iwlist scanning
irda0     Interface doesn't support scanning.

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      Scan completed :
          Cell 01 - Address: 00:1D:73:73:88:EA
                    ESSID:"kotiverkko-G-AES"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 11 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=80/100  Signal level=-49 dBm  
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Extra: Last beacon: 55ms ago
yep:
bash-4.2# ps axu | grep Network
root 671 0.0 0.6 51292 6612 ? Ssl 00:38 0:01 /usr/sbin/NetworkManager

Last edited by turboscrew; 07-01-2014 at 05:50 PM.
 
Old 07-01-2014, 05:27 PM   #30
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by Sumguy View Post
Thanks. That sounds right up my alley. Does it log the stuff to /var/log and all, so as not to obfuscate the advantages of Slackware?
Yeah, src2pkg creates proper Slackware packages, doesn't "obfuscate" anything, and it comes with plenty of documentation, and gnashley is one of the most helpful members on LQ. Get it.

Last edited by brianL; 07-01-2014 at 05:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ARM Slack -> Beagleboard newbie questions germanopratin Slackware 4 08-14-2011 07:26 AM
Newbie's questions about Slack -Pb- Slackware 8 12-22-2007 07:44 AM
Newbie just installed slack - quick questions ksl Slackware - Installation 3 07-04-2005 09:01 AM
slack newbie questions, vi, xorg 3button mouse, tripleboot with lilo darkleaf Slackware 7 02-24-2005 04:59 AM
Slack Newbie Questions tubatodd Slackware 7 07-01-2004 05:03 PM

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

All times are GMT -5. The time now is 05:28 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