17

December
2012

Enabling 'slax download'

I've successfully created some basic buildscripts for certain packages for Slax. Furthermore the server side is ready so buildscripts are executed on server after you upload them to create Slax Bundles (modules). When a module is ready, you can now use 'slax download' command to get it or even 'slax activate' command to activate it on the fly while running Slax. As an example, you may try:

$ slax activate kernel-firmware

This will simply download and activate the kernel firmware module which is made from Slackware's kernel firmware. As soon as the module gets 'activated', it instantly appears like if it were installed in the system. You will find new files in /lib/firmware/. If you just wish to download the .sb module instead of activating it, you may use 'slax download' instead of 'slax activate'. I guess this is obvious :) You can always list known dependencies by using 'slax info' command, for example the following command will show you the dependencies for httpd:

$ slax info httpd
name: httpd
version: 2.4.3
required bundles: apr apr-util
required bundles to compile: 
maintainer: Tomas M 
last update: 2012-12-17 12:21:48
categories: network
description: The Apache HTTP Server

There are some ready modules for you to try, for example

$ slax activate perl
$ slax activate python
$ slax activate mysql

I noticed that when some additional modules (dependencies) are needed to be downloaded, it doesn't do that at the moment, I'll have to fix the 'slax' command to offer automatic download of dependencies. For now, if you wish to 'slax activate httpd' for example, you have to 'slax activate apr' and 'slax activate apr-util' a priori, then you can activate the httpd bundle and run the following command to start it on localhost:

sh /etc/rc.d/rc.httpd start

If you upload a buildscript using 'slax buildscript upload' command, your module will be built from it automatically for all supported architectures (32bit and 64bit at the moment).

I'm hoping to make all the modules available in the Modules section of this website tomorrow. Many of Slackware standard packages are not built yet since there is dependency information missing (and the automated build server ignores Slax Bundles with missing dependencies.) This will be addressed later. Feel free to write buildscripts for Slax! :-)

User comments
Slaxmax 2012-12-17 14:09

Great!

TKS macanudo!

lettry 2012-12-17 14:19

@Tomas M :
Thanks for you Great working , So we have slax :-)

But I have a small question:

I want to get a module from server . I don't remember the full name , but I remember this module contain 'P' .

I use 'slax search P*' , I can get the all modules which contain 'P' list ?

Thanks again :)
Best regards!

user 2012-12-17 18:16

apps from portablelinuxapps.org work on slax!
also at http://sourceforge.net/projects/portable/files

Mufeed Ali 2012-12-17 23:35

@Tomas M:

Is there an opera ready?

mgranet 2012-12-18 03:59

I agree with lettry; It can be difficult to find modules without having a wildcard.

Alexis 2012-12-18 04:14

Sign in doesn't work for me on this website, neither the improve translation option. I've tried with opera and firefox.

Tomas M 2012-12-18 05:33

Wildcard now works too, but only at the end of phrase, for example

slax search apr*

But will not work in the middle of phrase, so 'apr*util' will return results for two keywords actually, apr and util.

cope.derek01@gmail.com 2012-12-18 09:40

You sir, are brilliant! Incredible work. I've been a HUGE Slax fan ever since the "Kill Bill" days. I would like to contribute, though I'm not a coder. I am very skilled at creating backgrounds, icons, and would like to get into theming. If you are ever in any need of these skills, don't hesitate to contact me! I completely volunteer!

All I am waiting for is fglrx drivers, and Slax 7 is my new primary OS!!! Otherwise, it works perfectly on my Asus quad-core K55N!

Sometimes it will periodically slow down for a sec, but I think its because I'm running it without swap on a fat32 thunbdrive. I will reformat to ext4 and report back.

Thanks Again!
Derek

Kadalka 2012-12-18 13:15

1/ It would be great if you've got the best database ever: PostgreSQL.

2/ I've got one question :

"slax activate python" is enough to have it installed ?

Because as I understand how it should work, it must be :
"slax download python" before everything else...

No ?

Boyquotes 2012-12-18 15:26

@Kadalka: slax activate , download and active the package, download->just download the package, if you use only slax download, you need activate the bundle:

slax download gftp ./
and after:
slax activate 1115-gftp.sb

braboar 2012-12-18 18:39

Is it possible to install Slax on HDD with dual boot? How this may be done?
Thanks in advance!

Liquid Snake 2012-12-18 19:21

Off-topic: Tomas, I noticed a behavior that might be a bug: I deactivated many modules after startup. Reactivating them, Slax created new loop processes instead of using the same. I tested it with find /mnt/live/memory/data/slax/modules -exec slax deactivate \;

After, I run the command to reactivate them and new loop processes were created. I have 98 optional modules, but I got 193 loop processes!

Tomas M 2012-12-18 19:58

What do you mean by loop process? There are only loop devices, not processes. The deactivation of module may not be successful, for example if there are files open from it. Please try losetup -a to see if the loop devices are really in use. If so, then most likely many modules were not deactivated.

omni.23 2012-12-18 23:10

test

omni.23 2012-12-18 23:29

[Wifi bcm43xx drivers]+[Opera 12.11 w/flash]+[Mouse touchpad scrolling]
------------------------------------------------------------------------------
For those of you missing any of these three, I have found solutions:

[Wifi bcm43xx drivers]

There's a dude that made .sb files for his Broadcom BCM4312 wifi card that also work with BCM4311 wifi cards.
Download both files and place them in Slax/Modules (the first slax folder you put into your usb flash drive) then reboot to activate.

download from here: http://old.slax.org/forum.php?action=view&parentID=83078
--------------------------------------------------------------------------------
[Opera 12.11 w/flash]

For those that want a stable Opera 12.11 browser with flash you can rename a Porteus (.xzm) file and place into the Slax/Modules folder then reboot to activate.

download from here: http://www.mediafire.com/?7oq5i8esbkbxr4w

---------------------------------------------------------------------------------
[Mouse touchpad scrolling] (Synaptics)

For those who cannot scroll vertically on your Synaptics mouse touchpad, open a konsole terminal and type in (kdesu kwrite) and copy and paste the following:

Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
#Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.20"
Option "MaxSpeed" "1.00"
Option "AccelFactor" "0.15"
Option "SHMConfig" "1"
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1"
Option "VertEdgeScroll" "1"
Option "HorizEdgeScroll" "1"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection

.......and save the file as 50-synaptics.conf in root folder /etc/X11/xorg.conf.d/
--------------------------------------------------------------------------------

Enjoy.

omni.23 2012-12-18 23:34

The Synaptics touchpad .conf file script misaligned when I posted here...it should be aligned like this:

http://pclinuxoshelp.com/index.php/Touchpad_troubles_-_solutions_by_Texstar

s0u4t3u 2012-12-19 06:34

Excellent job. Congratulations to all of us, so.
Thomas, nice work on disabling KDE caches, the 'Semantic Desktop' and Pulseaudio.
In less than a minute, from boot to desktop, I can reach a functional workspace.
Thanks.

Liquid Snake 2012-12-19 15:10

Before deactivate (find /mnt/live/memory/data/slax/modules -exec slax deactivate {} \;), losetup -a listed 104 loops. After deactivate, it listed 104 loops again. After reactivating, it listed 196 loops, with module names repeated. For example:

/dev/loop83: [2065]:187 (/mnt/live/memory/data/slax/modules/opera-12.10-x86_64-1_SBo.sb)
...
...
/dev/loop175: [2065]:187 (/mnt/live/memory/data/slax/modules/opera-12.10-x86_64-1_SBo.sb)

The same happens with all my modules.

I compiled a kernel without /proc filesystem enabled. I get an error message in KDE System Monitor showing "/proc/meminfo could not be accessed. Kernel" May it be a bug because of my kernel configuration? I did not test it with the original kernel.

Liquid Snake 2012-12-20 03:57

I have just tested the above commands with Slax original kernel and the same problem happens.

Tomas M 2012-12-20 04:48

@Liquid Snake: what are you actually getting as output of your deactivate commands? Does it claim it successfully deactivated the modules? There should be at least one error message since what you do attempts to deactivate the directory /mnt/live/memory/data/slax/modules/ which is wrong of course and fails. You do not mention any error messages at all ... Slax should inform you what was wrong.

Liquid Snake 2012-12-20 15:14

I sent the output of my commands to tomas at slax dot org, attached to the e-mail. Please, delete my comment in
www.slax.org/blog/20263-Flash-drives-with-Slax-delivered.html#comments

Tomas M 2012-12-21 00:20

Sorry I'm not deleting any comments here unless inappropriate.

Livio 2012-12-22 10:35

I note that the bundle 785-sendmail has a bug that overwrites the original file /etc /passwd and the original file /etc /group to its that contains only the user smmsp so, at restart slax does not start not finding the root user.
I corrected the bundle, can I upload it?
Another question: where is the bundle php?

Mark De Silva 2012-12-22 18:36

Livio, I created a sendmail module that fixes that bug, but my datacenter is having maintenance till tonight, so you can get it only after tonight. I have a php module available as well.

Tomas M 2012-12-22 20:38

@Livio: thanks for notice regarding the sendmail problem. I've fixed it, please redownload the module.

Regarding PHP module, it requires tons of othe stuff, so I'm a bit uncertain now if I should just let it install from the Slackware package or to rather compile from sources without the deps, which are IMHO absolutely unneeded.

Mark De Silva 2012-12-22 21:11

PHP for basic use doesn't need the dependencies IMHO. Those who need the dependencies can download them direct from packages.slackware.com and convert if they are not already converted and available on on the Slax server.

Tomas M 2013-01-05 06:11

Just to let you know, PHP module is now available

As'ad Ben Arfa 2018-09-19 05:36

hello, please tell me how to install applications such as gdbi, software center, netbeans on Slax 9.5.0. i'm new using Slax 9.5.0. thank you brother..

As'ad Ben Arfa 2018-09-19 05:39

i use Slax 9.5.0 64 bit on my flashdisk