Page 1 of 3

Converting and Installing packages

Posted: 30 Jun 2014, 01:37
by mt12345
Migrating from Debian. Yesterday installed Porteus RAZOR on 16GB ext4 formatted pendrive.

I 'm learning how to use USM, slackyd, pkgtool.
Since I run Porteus in persistence mode should I be bothered with making porteus modules?
I think installing txz is better as it integrates in system.

Many packages are unavailable in Porteus so I want to convert some rpm's.
What should I choose? redhat, fedora, madriva? What versions?
Should I use rpm2targz, rpm2tgz, rpm2txz, rpm2xzm?

Cheers

Martin

Re: Converting and Installing packages

Posted: 30 Jun 2014, 08:47
by fanthom
Since I run Porteus in persistence mode should I be bothered with making porteus modules?
I think installing txz is better as it integrates in system.
yes - in persistent mode packages are better than modules (you can perform updates like on normal linux distro).
Many packages are unavailable in Porteus so I want to convert some rpm's.
What should I choose?
there is no rule for that - some will work and some wont. everything depends on libraries used to produce certain release. if their versions are close to slack-14.1 then there is a chance that rpm will work under porteus.
Should I use rpm2targz, rpm2tgz, rpm2txz, rpm2xzm?
rpm2txz or rpm2xzm depending if you want to create modules or packages.

Re: Converting and Installing packages

Posted: 30 Jun 2014, 10:04
by mt12345
yes - in persistent mode packages are better than modules (you can perform updates like on normal linux distro).
I did
slackyd -U
and it looks like I can upgrade 20+ packages. But it will increase the boot time , should I remaster iso to get the content of /porteus/changes integrated?

slackyd -s works like 'aptitude search', how can I 'apt-cache search' (search in package descriptions not only i names)?
I read about slack version of 'apt-get'. Is it supported/recommended?

I dont want to install slackware, I want lightweight linux on usb stick with copy2ram.

Thanks for reply.

Re: Converting and Installing packages

Posted: 30 Jun 2014, 13:31
by francois
Maybe you can tell us which kind of packages you would like to install on porteus. Some members of the porteus community might have them already built.

gslapt or slapt-get is the equivalent of apt-get for slackware, but I do not think that you will be able to build much more packages with it than with usm.

You can have a look at spmDebian (simple package manager for debian) an initiative by neko to bring the array of debian packages to porteus, which is in development:
http://forum.porteus.org/viewtopic.php?f=75&t=3216

On this forum there is also a porteus clone working with archlinux pacman:
https://porteus.org/viewtopic.php?f=114 ... 327e29c72b

Re: Converting and Installing packages

Posted: 30 Jun 2014, 15:36
by mt12345
Maybe you can tell us which kind of packages you would like to install on porteus. Some members of the porteus community might have them already built.
I bet they have but I want to build packages myself. I fear dependency hell though!
(I need audio/midi software, retro console/computers emulators).
gslapt or slapt-get is the equivalent of apt-get for slackware...
I think I should learn native tools first.

I get different results when searching for packages via USM and slackyd (see picture attached)
http://i58.tinypic.com/2jbrxid.png

I understand USM uses more repos but why Mplayer-1.1 is absent in slackyd?

After checking here:
http://packages.slackware.com/

turned out that MPlayer-1.1 is in slackware/xap repo.

mplayerplug-in is absent in usm and its in extras repo.

Please help me to configure repositories, I prefer managing packages in command line than endless clicking in usm.
By the way: why is slackyd NOT included in Porteus by default?

Re: Converting and Installing packages

Posted: 30 Jun 2014, 16:31
by mt12345
gslapt or slapt-get is the equivalent of apt-get for slackware, but I do not think that you will be able to build much more packages with it than with usm.
not more but at least easier.
I think slapt-get is what I need.

Re: Converting and Installing packages

Posted: 30 Jun 2014, 16:38
by francois
slapt-get is available thru usm. :)

Re: Converting and Installing packages

Posted: 30 Jun 2014, 17:41
by mt12345
slapt-get doesnt handle dependencies :(

I have just tried usm in commandline.
Now we're talking. :)
Indeed slackyd no longer needed.
(usm-gui doesn't 'install a folder of packages' so choosing packages manually one-by-one was driving me mad.
Secondly usm-gui doesnt show keyword search - 'too many results')

Re: Converting and Installing packages

Posted: 30 Jun 2014, 18:13
by mt12345
now how can I add extra repo so I can install mplayerplug-in?

ftp://ftp.slackware.com/pub/slackware/s ... 4.1/extra/

Re: Converting and Installing packages

Posted: 30 Jun 2014, 20:56
by tome
Download txz package and install manually by right mouse button click.
usm-gui doesn't 'install a folder of packages' so choosing packages manually one-by-one was driving me mad
1. ->Tools->Slackware package tools->Install folder of... or
2. Select all needed packages (Ctr+A, Shift key...) -> right mouse button -> Install...

Re: Converting and Installing packages

Posted: 30 Jun 2014, 22:45
by mt12345
Download txz package and install manually by right mouse button click.
I installed it by slackyd already but I 'd like to know how to enable extras for future.
Before I start converting rpms or debs I want to search the packages I need in all available slackware repos.
1. ->Tools->Slackware package tools->Install folder of... or
2. Select all needed packages (Ctr+A, Shift key...) -> right mouse button -> Install...

1. does not work - I click [EXECUTE] and I immediately see 'packages were installed' but it's not true.
2. In file manager (spacefm) pkgs are associated with archiver. There is no 'install'

Re: Converting and Installing packages

Posted: 01 Jul 2014, 23:23
by francois
I have installed mplayerplug-in as a module. It works for me there is no dependencies. However, in slackware it installs itself in the mozilla folder. You have to copy these files in the firefox folder. See:
http://mplayerplug-in.sourceforge.net/i ... php#plugin

Code: Select all

cp mplayerplug-in*.so mplayerplug-in*.xpt ~/.mozilla/plugins
However, you have to put yourself in the ~/.mozilla/plugins folder for the command to function.

You can use:

Code: Select all

locate mplayerplug-in*
But before, don't forget to updatedb. :)

Re: Converting and Installing packages

Posted: 02 Jul 2014, 00:14
by mt12345
http://trailers.apple.com/trailers/sony_pictures/

can you watch these trailers? I get 'quicktime crashed' error.

anyway my problem/question is 'how to add/enable more repositories for usm'.
I used mplayerplugin as example (not that I dont need it ;-) )

thanks!

Re: Converting and Installing packages

Posted: 03 Jul 2014, 00:20
by mt12345
Installed wine via usm then realised there is module available on forum.
How to remove it with dependencies?

Re: Converting and Installing packages

Posted: 03 Jul 2014, 01:42
by brokenman
anyway my problem/question is 'how to add/enable more repositories for usm'.
Repositories are hard coded into the application. Only trusted repositories have been added by design. You can't add repositories. Perhaps another slackware package manager for this It is odd that the extras section of slackware isn't being picked up. I will look into it.

slackyd was removed as Porteus Package Manager has most of its functionality, and if you prefer slackyd you can grab it via PPM.
How to remove it with dependencies?
As yet, the package manager does not removing dependencies of packages. This is on the todo list. FOr now you can ask it to create a folder for all dependencies so you can keep track of what you need to remove when uninstalling.