Using swaret and qtswaret as a package manager
- francois
- Contributor
- Posts: 6514
- 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
Post#1 by francois » 16 Apr 2011, 05:42
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.
francois
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Using swaret and qtswaret as a package manager
Post#2 by fanthom » 18 Apr 2011, 18:18

no go for me - sorry.
fanthom
- wread
- Module Guard
- Posts: 1257
- 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
Post#3 by wread » 19 Apr 2011, 15:47
The Porteus Community never sleeps!
wread
- francois
- Contributor
- Posts: 6514
- 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
Post#4 by francois » 22 Apr 2011, 06:29
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.
francois
Re: Using swaret and qtswaret as a package manager
Post#5 by Hamza » 22 Apr 2011, 08:58
Can you add a function to swaret for convert all slack pkgs to xzm module with mksquashfs ?
Hamza
- francois
- Contributor
- Posts: 6514
- 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
Post#6 by francois » 22 Apr 2011, 14:20
francois
Re: Using swaret and qtswaret as a package manager
Post#7 by Hamza » 22 Apr 2011, 14:25
Will write a pBuild Script for make swaret in 2 mins

Hamza
- francois
- Contributor
- Posts: 6514
- 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
Post#8 by francois » 22 Apr 2011, 15:19
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.
francois
Re: Using swaret and qtswaret as a package manager
Post#9 by Hamza » 22 Apr 2011, 15:40
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.
Hamza
- francois
- Contributor
- Posts: 6514
- 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
Post#10 by francois » 22 Apr 2011, 17:53
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).
francois
Re: Using swaret and qtswaret as a package manager
Post#11 by Hamza » 22 Apr 2011, 18:20
Hamza
- francois
- Contributor
- Posts: 6514
- 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
Post#12 by francois » 22 Apr 2011, 23:54
francois
Re: Using swaret and qtswaret as a package manager
Post#13 by Hamza » 23 Apr 2011, 07:23
I trying with sed command , but still working , it doesn't works

Hamza