Page 1 of 1

how to create module from ( .run )

Posted: 04 Aug 2013, 16:15
by unixino
Hi
i have a program with (.run ) package
how to create a module from that ?
Thanks

Re: how to create module from ( .run )

Posted: 04 Aug 2013, 23:13
by francois
Which file or package do you intend to install on porteus? Are you talking about installing the nvidia driver?

Re: how to create module from ( .run )

Posted: 05 Aug 2013, 00:55
by unixino
no it's Modo ( 3D application)

Re: how to create module from ( .run )

Posted: 05 Aug 2013, 01:29
by francois
If you have downloaded the file in the /home/guest/Download folder, try in terminal:
cd /home/guest/Download (to position yourself in the right foler)
ls (this will give you the exact name of the .run file)
./the-name-of-the-file.run

With luck this will work. However, there might be some prerequisites to run modo. They should appear in the readme or install file.

Re: how to create module from ( .run )

Posted: 05 Aug 2013, 03:38
by unixino
merci
but how to convert the installation to a separat ( .xzm ) module
to easely add or remove it from modules folder

Re: how to create module from ( .run )

Posted: 05 Aug 2013, 08:54
by fanthom
.run files are the worst as they do not support DESTDIR. try 'changes-time' as per:
http://www.porteus.org/faq.html#twenty9

Re: how to create module from ( .run )

Posted: 13 Nov 2013, 11:50
by brokenman
A .run file is likely a packages file that will install it's files into the appropriate directories. In this case you can run the file and then as Fanthom suggested run changes-time from a CLI which will track all files installed and copy them into a temp folder at /root/changes*.

The other type is a package file that contains all the runtime static libraries in one folder. For this you will need to extract the file. Try running the file like this: name-of-file.run --help
This will give you options available. Look for the option to extract the file. You may even be able to 'list' the files to know them, then run the file. While it is running there will be a temporary folder extract somewhere (maybe in /tmp maybe in the same folder as it is run) and you can copy the files from the list command.

Hope that explains things.