View Full Version : adding a software from the source code
nightowl
09-06-2007, 05:27 PM
Hello everybody :D
I am a newbie here, and wanted to try to remaster some knoppix dvd, or cd i got.
I read that you can add some deb packages to your baby , but how to add something that doesn't exist (or as an older version only) as a package?I have got the sources of course.
Is it possible? difficult task?
nofsystem
09-10-2007, 10:44 AM
Hello,
I am not an expert but I think that you must build a package debian and install it in Knoppix.
(build a package Debian is not a simple task for a newbie ...)
Good luck
Harry Kuhman
09-10-2007, 11:31 AM
First of all, you don't need to make a Debian package and install it, at least not for all programs. I've downloaded source code, assembled and run it fine with Knoppix. It only required having a place to write the result (I had made a FAT partition on my disk so that I could write safely) and knowing how to assemble the program. Of course, not all programs will be assembled, some will be compiled. In my case I found the particular command line that I needed in comments right inside the source code itself. I would suggest looking there. If that isn't fruitful, I would look for help at the site that you downloaded the code from. someone likely documented what assembler or compiler the code is writen for, any command line switches needed, any required link libraries, and any other related information.
Remastering Knoppix to include the programs is a whole different can of worms, but maybe all you need is a small flash drive to hold the execuitable programs that you want to run from Knoppix.
paray-d
10-11-2007, 08:45 AM
I have done this for a few programs. Just compile from source as you normally would under a HD installation of Linux. Be careful where you put the executables, if in /home//knoppix I suppose they will only be available to user knoppix (and root), not to other users you might create. You do not need to remaster: make a persistent image (maybe you already have) and they will be availaable next time you boot. You can modify the kde menu to include them, too.
Powered by vBulletin® Version 4.2.2 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.