Converting and Installing packages

Post here if you are a new Porteus member and you're looking for some help.
mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Converting and Installing packages

Post#1 by mt12345 » 30 Jun 2014, 01:37

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

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

Re: Converting and Installing packages

Post#2 by fanthom » 30 Jun 2014, 08:47

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.
Please add [Solved] to your thread title if the solution was found.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#3 by mt12345 » 30 Jun 2014, 10:04

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.

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

Re: Converting and Installing packages

Post#4 by francois » 30 Jun 2014, 13:31

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:
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
Voltaire: Le mieux est l'ennemi du bien.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#5 by mt12345 » 30 Jun 2014, 15:36

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?

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#6 by mt12345 » 30 Jun 2014, 16:31

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.

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

Re: Converting and Installing packages

Post#7 by francois » 30 Jun 2014, 16:38

slapt-get is available thru usm. :)
Voltaire: Le mieux est l'ennemi du bien.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#8 by mt12345 » 30 Jun 2014, 17:41

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')

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#9 by mt12345 » 30 Jun 2014, 18:13

now how can I add extra repo so I can install mplayerplug-in?

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

tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Converting and Installing packages

Post#10 by tome » 30 Jun 2014, 20:56

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...

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#11 by mt12345 » 30 Jun 2014, 22:45

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'

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

Re: Converting and Installing packages

Post#12 by francois » 01 Jul 2014, 23:23

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. :)
Voltaire: Le mieux est l'ennemi du bien.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#13 by mt12345 » 02 Jul 2014, 00:14

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!

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#14 by mt12345 » 03 Jul 2014, 00:20

Installed wine via usm then realised there is module available on forum.
How to remove it with dependencies?

User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Converting and Installing packages

Post#15 by brokenman » 03 Jul 2014, 01:42

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply