Using swaret and qtswaret as a package manager
- francois
- Contributor
- Posts: 6316
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Using swaret and qtswaret as a package manager
Trying to get glslapt package manager (slapt-get gui interface) to work, I got on that other package manager swaret that was developed in 2001 for slackware. It has the pretention to manage dependencie:
Swaret
The downloads are on Sourceforge:
http://sourceforge.net/projects/swaret/
http://sourceforge.net/projects/qtswaret/
It runs on STUX, and would be currently maintained:
http://www.gpstudio.com/stux/
The QTswaret gui interface is well described in the user manual of STUX:
http://gpstudio.com/stux/packages.html
All you have to do is to transform the two downloads into porteus packages by right clicking on them and install them in your module folder. As qtswaret does not install itself in the kde system menu by itself, selecting the kde menu for system and right clicking on it will permit the creation of a qtswaret item. You can find the binary file in: /opt/kde/bin/.
To get the interface to work you will have to make a copy of swaret.conf from /usr/doc/swaret-1.6.3/ to /etc. More detailed instructions can be found from the readme file in the /usr/doc/swaret-1.6.3/ folder.
Working with it now. Your comment on this package manager will be appreciated.
Swaret
The downloads are on Sourceforge:
http://sourceforge.net/projects/swaret/
http://sourceforge.net/projects/qtswaret/
It runs on STUX, and would be currently maintained:
http://www.gpstudio.com/stux/
The QTswaret gui interface is well described in the user manual of STUX:
http://gpstudio.com/stux/packages.html
All you have to do is to transform the two downloads into porteus packages by right clicking on them and install them in your module folder. As qtswaret does not install itself in the kde system menu by itself, selecting the kde menu for system and right clicking on it will permit the creation of a qtswaret item. You can find the binary file in: /opt/kde/bin/.
To get the interface to work you will have to make a copy of swaret.conf from /usr/doc/swaret-1.6.3/ to /etc. More detailed instructions can be found from the readme file in the /usr/doc/swaret-1.6.3/ folder.
Working with it now. Your comment on this package manager will be appreciated.
Prendre son temps, profiter de celui qui passe.
- fanthom
- Moderator Team
- Posts: 5591
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Using swaret and qtswaret as a package manager
i think qtswaret is 32bit qt3 version only. tried to compile from sources on 64bit edition without luck 
no go for me - sorry.

no go for me - sorry.
Please add [Solved] to your thread title if the solution was found.
- wread
- Module Guard
- Posts: 1254
- Joined: 09 Jan 2011, 18:48
- Distribution: Porteus v5.0-kde-64 bits
- Location: Santo Domingo
- Contact:
Re: Using swaret and qtswaret as a package manager
Maybe françois can post his Poreus version, that we can test it!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!
The Porteus Community never sleeps!
- francois
- Contributor
- Posts: 6316
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Using swaret and qtswaret as a package manager
It was not completely installed with post one. Additional files are needed:
swaret - README
-----------------------------------------------------------------------
Software:
- You need Slackware Linux 8.1 or Higher or Current.
- You need slackware/pkgtools
- You need slackware/a/bash.
- You need slackware/n/wget and/or slackware/n/rsync.
- You need other tools like:
>> slackware/a/gawk
>> slackware/a/sed
>> slackware/a/grep
>> slackware/a/procps
>> slackware/a/coreutils or fileutils or textutils
>> slackware/a/util-linux
>> slackware/a/gzip
>> slackware/a/bzip2
>> slackware/ap/bc
>> slackware/l/y
I have the impression that the thing will be a rather big module.
In addition it seems that gslapt is more up to date or in use than swaret.
swaret - README
-----------------------------------------------------------------------
Software:
- You need Slackware Linux 8.1 or Higher or Current.
- You need slackware/pkgtools
- You need slackware/a/bash.
- You need slackware/n/wget and/or slackware/n/rsync.
- You need other tools like:
>> slackware/a/gawk
>> slackware/a/sed
>> slackware/a/grep
>> slackware/a/procps
>> slackware/a/coreutils or fileutils or textutils
>> slackware/a/util-linux
>> slackware/a/gzip
>> slackware/a/bzip2
>> slackware/ap/bc
>> slackware/l/y
I have the impression that the thing will be a rather big module.
In addition it seems that gslapt is more up to date or in use than swaret.
Last edited by francois on 22 Apr 2011, 14:19, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.
Re: Using swaret and qtswaret as a package manager
@ francois ,
Can you add a function to swaret for convert all slack pkgs to xzm module with mksquashfs ?
Can you add a function to swaret for convert all slack pkgs to xzm module with mksquashfs ?
NjVFQzY2Rg==
- francois
- Contributor
- Posts: 6316
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Using swaret and qtswaret as a package manager
Hello Hamza. I would be glad to. But I am really a non-tech user. Sorry.
Prendre son temps, profiter de celui qui passe.
Re: Using swaret and qtswaret as a package manager
Would you post the full description of this tool?
Will write a pBuild Script for make swaret in 2 mins
Will write a pBuild Script for make swaret in 2 mins

NjVFQzY2Rg==
- francois
- Contributor
- Posts: 6316
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Using swaret and qtswaret as a package manager
glslapt is a very nice gui interface for slap-get. It is available in 64 bit version.fanthom wrote:i think qtswaret is 32bit qt3 version only. tried to compile from sources on 64bit edition without luck
no go for me - sorry.
Posted after 1 minute 14 seconds:
@Hamsa:Hamza wrote:Would you post the full description of this tool?
Will write a pBuild Script for make swaret in 2 mins
You need the two files in the first post from Sourceforge, thus:
http://sourceforge.net/projects/swaret/
http://sourceforge.net/projects/qtswaret/
Here is the complete content of /usr/doc/swaret-1.6.3/readme:
swaret - README
-----------------------------------------------------------------------
Software:
- You need Slackware Linux 8.1 or Higher or Current.
- You need slackware/a/pkgtools
- You need slackware/a/bash.
- You need slackware/n/wget and/or slackware/n/rsync.
- You need other tools like:
>> slackware/a/gawk
>> slackware/a/sed
>> slackware/a/grep
>> slackware/a/procps
>> slackware/a/coreutils or fileutils or textutils
>> slackware/a/util-linux
>> slackware/a/gzip
>> slackware/a/bzip2
>> slackware/ap/bc
>> slackware/l/glibc
After installing swaret:
- swaret Config File : /etc/swaret.conf
Edit /etc/swaret.conf, or set variables with
swaret --set VARIABLE=SETTING (example: "swaret --set VERSION=current")
(swaret.conf example can be found in /usr/doc/swaret-VERSION)
- swaret Log File : /var/log/swaret
For information - how to use swaret - you can use:
- swaret --morehelp
- swaret --manual
- swaret --manual -c
- swaret --faq
- swaret --htus
The Manuals can also be called by:
>> man swaret
>> man swaret.conf
-----------------------------------------------------------------------
E-Mail: swaret-info@lists.sourceforge.net - WWW: swaret.sourceforge.net
I hope this was what you wanted.
Prendre son temps, profiter de celui qui passe.
Re: Using swaret and qtswaret as a package manager
Sorry , I don't understand , I must download only two files from SourceForge's servers?
Or maybe , I must download all files from Slackware's Server?
If I understand , your tool must have a lot of libs
Will see if i can write a pBuild for compile one module from them.
Posted after 17 minutes 22 seconds:
With qtswaret and swaret pkgs , my script can compile one module in 6s.
Or maybe , I must download all files from Slackware's Server?
If I understand , your tool must have a lot of libs

Will see if i can write a pBuild for compile one module from them.
Posted after 17 minutes 22 seconds:
With qtswaret and swaret pkgs , my script can compile one module in 6s.
NjVFQzY2Rg==
- francois
- Contributor
- Posts: 6316
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Using swaret and qtswaret as a package manager
It seems that one would need the two files from sourceforge . However, according to that readme file it seems that you need the other files too (listed in the readme) to make the package manager work.
In fact, by reading the readme file you should know as much as I do, since I did not go further than 1) downloading the two files from sourceforge, 2) turned them into modules and 3) installing and configuring for slackware 13.1 Config File located in /usr/doc/swaret-1.6.3/ folder into/etc/swaret.conf.
I was not able to download and install any package with swaret, maybe because these other files were missing. but I could use the gui qtswaret to look for packages.
That is why I mentioned that gslapt was more functional (for me, by default).
In fact, by reading the readme file you should know as much as I do, since I did not go further than 1) downloading the two files from sourceforge, 2) turned them into modules and 3) installing and configuring for slackware 13.1 Config File located in /usr/doc/swaret-1.6.3/ folder into/etc/swaret.conf.
I was not able to download and install any package with swaret, maybe because these other files were missing. but I could use the gui qtswaret to look for packages.
That is why I mentioned that gslapt was more functional (for me, by default).
Prendre son temps, profiter de celui qui passe.
Re: Using swaret and qtswaret as a package manager
The pBuild script for swaret is finished , I writing a function for copy and patch the /etc/swaret.conf.
NjVFQzY2Rg==
- francois
- Contributor
- Posts: 6316
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Using swaret and qtswaret as a package manager
I will be ready to test the overall package as soon as you make it available.
Prendre son temps, profiter de celui qui passe.
Re: Using swaret and qtswaret as a package manager
Sorry, still working with swaret.conf , I trying to add a patch for remplace VERSION=10.1 by VERSION=current.
I trying with sed command , but still working , it doesn't works
.
I trying with sed command , but still working , it doesn't works

NjVFQzY2Rg==