slackyd: a simple but efficient package manager

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

slackyd: a simple but efficient package manager

Post#1 by francois » 09 Jan 2011, 06:26

1. ORIGIN AND CONTEXT TO THE USE OF SLACKYD ON PORTEUS FROM V. 0.09

I did not found yet a lot of information in english on slackyd. Googling to find information for this valuable tool lead to italian threads, which is nice and romantic, but useless for me, at least until I get to learn the language. Nonetheless, here is a link describing slackyd in italian (until I find a way to translate it in english):
http://www.slacky.eu/wikislack/index.ph ... _pacchetti

Its good to know that since remix05:
http://www.slax.org/forum.php?action=vi ... Slax-Remix]%20v0
slacyd package manager has been adopted and included in remix due to the initiative of beny. Since then, it was abundantly cited by fanthom in the remix threads, mainly as it seem for resolving package dependencies. In fact, it became important enough that he adopted slackyd in his FAQs for remix thread FAQ, see hyperlink:
http://www.slax.org/forum.php?action=vi ... ntID=60836


2. OPTIONS PROVIDED IN SLACKYD

To illustrate slackyd functioning the only information available is by using command slacky -h:

Code: Select all

root@slax:~# slackyd -h
Usage: slackyd <options> <package>

Options:
 -5: Skip md5 verify.
 -b: Try to download package build sources.
 -B: Try to build package from sources.
 -c: Use alternate config file.
 -d: Search missing shared libraries of installed packages.
 -D: Search missing required packages (packager-indicated).
 -e: Use regex.
 -f: Force update or packages download. Assume yes to all question.
 -g: Download package.
 -h: Show this help.
 -I: Skip packages status check.
 -l: List all packages installed.
 -L: List all non-slackware packages installed.
 -m: Case insensitive.
 -n: Only notify broken dependencies.
 -O: List all orphan packages.
 -p: Clean slackyd directory (only packages and sources).
 -P: Clean slackyd directory (all).
 -q: Quiet, disable some warnings.
 -r: Search not official replaceable packages.
 -R: Show repositories statistics.
 -s: Search package.
 -S: Skip dependencies check.
 -u: Update packages list and md5 hash list.
 -U: Search new packages.
 -v: Verbose mode.
 -V: Show slackyd info.
 -w: View package info.
 -x: Disable blacklist.
 -X: Show packages available and blacklisted.
root@slax:~#         
3. WORKING WITH SLACKYD

To get in business with slackyd essentially you need to do a few things:
a) update slackyd:
bash-4.1# slackyd -u

b) download the file that you are looking for:
bash-4.1# slackyd -g ghostscript

c) adjust the repositories with the config file /etc/slackyd/slackyd.conf to include repositories containing the package you are looking for if slackyd -g 'package' reports the absence of the desired package.

Be sure you have the current or 14.2 repositories for porteus 3.2.2. Change the above slackyd.conf accordingly. For example:

Code: Select all

# Official mirror is too slow...
!repository ftp://ftp.slackware.com/pub/slackware/slackware64-13.37/

repository = 	http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-current/
#Extra repositories:
# Slacky.eu
repository slacky = http://repository.slacky.eu/slackware64-14.2/



BUILDING SLACKYD FOR PORTEUS 3.2.2

Here is a link from which you can download the slackyd package and convert it into a module by right clicking on it and selecting convert tgz/txz to xzm. Then if you are as non-root or guest use Dolphin super user mode to displace the module into the /porteus/modules folder. Here are the files:

There are a lot of information amongst which you have to go thru to get the package. For 64-bit, look on the hyperlinked page for:
'To download slackyd-0.1.13.3beta-x86_64-1sl.txz for Slackware 13.1 distribution select mirror'

64 bit :
https://packages.slackonly.com/pub/pack ... slonly.txz

32 bit :
https://packages.slackonly.com/pub/pack ... slonly.txz

Note: Any pointing to hyperlinks in english on slackyd would be much appreciated. The latter could be some kind of subliminal message for you beny. Maybe you could choose a valuable italian link on slackyd and translate it in english for the sake of the porteus community.



Edited as of 2017-06-11 Montreal
Last edited by francois on 09 May 2014, 01:20, edited 13 times in total.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4566
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: slakyd: a simple but efficient package manager

Post#2 by fanthom » 09 Jan 2011, 18:15

Moved from '64bit FAQ' to 'General Chat' as this is not a typical FAQ post (Question/Answer)
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: slakyd: a simple but efficient package manager

Post#3 by francois » 10 Jan 2011, 22:25

Here is an example of the use of slackyd to install slapt-get and gslapt on porteus linux (once downloaded the packages will be found in /var):

installation thru slackyd of slapt-get and gslapt. Slackyd is a package coming stock since remix05 (citation of beny, look at detailed procedure followed by francois.e):
http://www.slax.org/forum.php?action=vi ... ostid71309
beny:
... i have installed slap-get on v9-remix you need:gnupg-1.4.10-i486-1.txz. gpgme-1.2.0-i486-1.txz.slapt-get-0.10.2d-i486-3sl.txz.
...you can use slackyd on console to find software, in console slackyd -u prepare environment and slackyd -g for find package...

francois.e:
A) Preparing slakyd, and downloading necessary files:

root@slax:~# slackyd -g gpgme-1.2.0-i486-1.txz

Warning: package `GParted-v0.6.2_i486' isn't standard. Skipping.
Warning: package `Reiser4progs-v1.0.6_i486' isn't standard. Skipping.
Warning: package `google-earth' isn't standard. Skipping.
Warning: package `libcairomm-v1.8.4_i486' isn't standard. Skipping.
Warning: package `libglibmm-v2.22.2_i486' isn't standard. Skipping.
Warning: package `libgtkmm-v2.18.2_i486' isn't standard. Skipping.
Warning: package `libpangomm-v2.26.2_i486' isn't standard. Skipping.
Warning: package `libsigc++-v2.2.7_i486' isn't standard. Skipping.
Warning: package `ntfsprogs-v2.0.0_i486' isn't standard. Skipping.
Warning: package `skype-2.0.0.68-i686' isn't standard. Skipping.
Searching gpgme-1.2.0-i486-1.txz: found 1 package.

gpgme-1.2.0-i486-1.txz [from slackware]

*** gpgme-1.2.0-i486-1.txz: already installed (gpgme-1.1.6-i486-1).

All packages available are installed.

root@slax:~# slackyd -g slapt-get-0.10.2d-i486-3sl.txz

Warning: package `GParted-v0.6.2_i486' isn't standard. Skipping.
Warning: package `Reiser4progs-v1.0.6_i486' isn't standard. Skipping.
Warning: package `google-earth' isn't standard. Skipping.
Warning: package `libcairomm-v1.8.4_i486' isn't standard. Skipping.
Warning: package `libglibmm-v2.22.2_i486' isn't standard. Skipping.
Warning: package `libgtkmm-v2.18.2_i486' isn't standard. Skipping.
Warning: package `libpangomm-v2.26.2_i486' isn't standard. Skipping.
Warning: package `libsigc++-v2.2.7_i486' isn't standard. Skipping.
Warning: package `ntfsprogs-v2.0.0_i486' isn't standard. Skipping.
Warning: package `skype-2.0.0.68-i686' isn't standard. Skipping.
Searching slapt-get-0.10.2d-i486-3sl.txz: found 1 package.

slapt-get-0.10.2d-i486-3sl.txz [from slacky]

Download slapt-get-0.10.2d-i486-3sl.txz [from slacky] ? [y/N] y
>> Required curl >= 7.20.1 [by slapt-get-0.10.2d-i486-3sl.txz]
Download curl-7.20.1-i486-1.txz [from slackware] ? [y/n] y
>> Required gpgme >= 1.2.0 [by slapt-get-0.10.2d-i486-3sl.txz]
Download gpgme-1.2.0-i486-1.txz [from slackware] ? [y/n] y
>> Required openldap-client >= 2.4.21 [by slapt-get-0.10.2d-i486-3sl.txz]
Download openldap-client-2.4.21-i486-1.txz [from slackware] ? [y/n] y
>> Suggested gslapt [by slapt-get-0.10.2d-i486-3sl.txz]
Download gslapt-0.5.3a-i486-3sl.txz [from slacky] ? [y/n] y
>> Required gcc >= 4.4.4 [by gslapt-0.5.3a-i486-3sl.txz]
Download gcc-4.5.1-i486-2.txz [from slackware] ? [y/n] y

Downloading curl-7.20.1-i486-1.txz. [ok]
* Verify md5 checksum: ok.
Downloading gpgme-1.2.0-i486-1.txz. [ok]
* Verify md5 checksum: ok.
Downloading openldap-client-2.4.21-i486-1.txz. [ok]
* Verify md5 checksum: ok.
Downloading gslapt-0.5.3a-i486-3sl.txz. [ok]
* Verify md5 checksum: ok.
Downloading gcc-4.5.1-i486-2.txz. [ok]
* Verify md5 checksum: ok.
Downloading slapt-get-0.10.2d-i486-3sl.txz. [ok]
* Verify md5 checksum: ok.

root@slax:~#

I imagine that all that is needed is there.

B) Converting the txz into .sq4.lzm with porteus tool (right click of the mouse and appropriate selection)
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: slakyd: a simple but efficient package manager

Post#4 by francois » 30 Apr 2011, 14:58

I have read somewhere that there was no intention to maintain slakyd in the future porteus V 1.0. Personally, I find this package manager quite handful. Thus I have provided links from which you can download the packages for the 64 and 32 bit edition. The first post of this thread has been corrected accordingly. I hope this will please Hamza.

I have just added a link to slackyd in the first post of this thread describing slackyd in italian (until I find a way to translate it in english):
http://www.slacky.eu/wikislack/index.ph ... _pacchetti
Last edited by francois on 01 May 2011, 17:11, edited 2 times in total.
Voltaire: Le mieux est l'ennemi du bien.

crashman
Contributor
Contributor
Posts: 118
Joined: 28 Dec 2010, 17:03
Location: Poland

Re: slakyd: a simple but efficient package manager

Post#5 by crashman » 30 Apr 2011, 20:01

@ francois
Thank you for this article is very usefull for me.

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: slakyd: a simple but efficient package manager

Post#6 by francois » 30 Apr 2011, 21:39

@crashman:
I am very glad that it was.

Cheers.
Voltaire: Le mieux est l'ennemi du bien.

beny
Full of knowledge
Full of knowledge
Posts: 724
Joined: 02 Jan 2011, 11:33
Location: italy

Re: slakyd: a simple but efficient package manager

Post#7 by beny » 30 Apr 2011, 21:45

hi francois i have write this on mchat, but the manteiner of slackyd have rebuild package with supporting to slackware 13.37,and 64 bit repository too in the next time package i think is ready,you can stay tuned on slacky.eu programmer section for new or the package

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: slakyd: a simple but efficient package manager

Post#8 by Hamza » 30 Apr 2011, 21:50

I think , the Slacky's servers is too busy with the upgrading of all pkgs.
NjVFQzY2Rg==

User avatar
fanthom
Site Admin
Site Admin
Posts: 4566
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: slakyd: a simple but efficient package manager

Post#9 by fanthom » 01 May 2011, 01:56

@beny
this is important information as slackyd is my favorite pm. could you provide a link to it when it will be ready?
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: slakyd: a simple but efficient package manager

Post#10 by francois » 03 May 2011, 01:02

Very good news!
beny wrote:hi francois i have write this on mchat, but the manteiner of slackyd have rebuild package with supporting to slackware 13.37,and 64 bit repository too in the next time package i think is ready,you can stay tuned on slacky.eu programmer section for new or the package

Posted after 1 day 22 hours 20 minutes 35 seconds:
These are my words, see hyperlink:
viewtopic.php?f=53&t=415&p=3151#p3151

"I have seen reading somewhere that fanthom does not intend to keep slackyd in version 1.0"

Here is the answer of fanthom:
hmmm... i think it wasn't me :) i like slackyd very much for the '-d' option and i'm willing to keep in Porteus for a long time.
Voltaire: Le mieux est l'ennemi du bien.

beny
Full of knowledge
Full of knowledge
Posts: 724
Joined: 02 Jan 2011, 11:33
Location: italy

Re: slakyd: a simple but efficient package manager

Post#11 by beny » 03 May 2011, 11:20

hi fanthom:http://slacky.eu/~dani/slackyd/sources/ ... .0.tar.bz2

Posted after 1 minute 12 seconds:
the link is dead but today have been released the slackyd that support 13.37 slackyd v1.0

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: slakyd: a simple but efficient package manager

Post#12 by francois » 04 May 2011, 02:08

1)Slackyd is a great tool. However, it would be great to make it very efficient by selecting sources and repertories that could bring as great a number of packages without having to resort to google. Do you have a selection of repertories and of sources that would cover broadly the userland of slackware. What would be your receipe or your selection? (Could you make it fit in the file:///etc/slackyd/slackyd.conf and post it on this thread)

2) In addition, maybe we could have links to packages that are not common on slackware.com or most common repertories on some site of our own, thus creating our favorite source of packages. This would be a good thing because we could this way accept packages that are problem free for porteus this way.

3) These issues are interesting as brokenman is working on a gui script that converts directly from slackyd packages into modules compatible with porteus:
viewtopic.php?f=39&t=373

So improving the sources would improve its package manager.

4) What is also interesting is that we could use the same extended sources for slackyd for slapt-get and its front end gslapt. Slapt-get has a resolution of dependencies thru Stabellini's repertory, see:
viewtopic.php?f=53&t=115
Last edited by francois on 05 May 2011, 15:54, edited 1 time in total.
Voltaire: Le mieux est l'ennemi du bien.

Tonio
Contributor
Contributor
Posts: 266
Joined: 28 Dec 2010, 16:37
Distribution: Slackware,porteus,FreeBSD,Slax
Location: 127.0.0.1

Re: slakyd: a simple but efficient package manager

Post#13 by Tonio » 05 May 2011, 02:44

I don't know if this is relevant in this thread, but I will post here. Tomas M slax creator has dissected the Slackware 13.37 release and deps:

http://www.tomas-m.com/blog/upload/slac ... -13.37.php

I was reading the Slackware Handbook, in there I read that Slackware is a system which is not meant to have dependency checking:

http://www.slackbook.org/html/package-management.html

``The truth about pkgtool is not that it doesn't exist, but that it doesn't do any dependency checking.

Apparently many people in the Linux community think that a packager manager must by definition include dependency checking. Well, that simply isn't the case, as Slackware most certainly does not. This is not to say that Slackware packages don't have dependencies, but rather that its package manager doesn't check for them. Dependency management is left up to the sysadmin, and that's the way we like it.''

I learned more about Slackware updating via a Distrowatch weekly:
http://distrowatch.com/weekly.php?issue=20090518

# slackpkg update
# Install new packages:

# slackpkg install-new
# Upgrade all installed packages:

# slackpkg upgrade-all

added:
[olivares@grullahighschool ~]$ date +%Y%m%d
20110505
[olivares@grullahighschool ~]$ uname -m
amd64

I setup a script that checks for new packages and installs them via slackpkg. I am happy to run Slackware-current.
Last edited by Tonio on 05 May 2011, 15:19, edited 1 time in total.

Falcony
Full of knowledge
Full of knowledge
Posts: 233
Joined: 01 Jan 2011, 12:44
Location: Russia

Re: slakyd: a simple but efficient package manager

Post#14 by Falcony » 05 May 2011, 04:28

Yes, Slackware package manager do not know regarging depencies of packages

Messing with depencies checking go over sysadmin - e.g user

Tonio
Contributor
Contributor
Posts: 266
Joined: 28 Dec 2010, 16:37
Distribution: Slackware,porteus,FreeBSD,Slax
Location: 127.0.0.1

Re: slakyd: a simple but efficient package manager

Post#15 by Tonio » 05 May 2011, 15:23

Falcony wrote:Yes, Slackware package manager do not know regarging depencies of packages

Messing with depencies checking go over sysadmin - e.g user
That is the slackware way :) There are several apps to help in updating. I like the concept of the (PIG) Port Install Gui from kongoni. This is very similar to the ports system used in FreeBSD. Your deps are taken care for you :) Here as for porteus, I like it the way it is. If I want a certain package, I check the modules available, if I don't find any, I build my own from source and track down dependencies on my own. Several times, it may take a while, but I am ok with it.

Post Reply