Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was wondering if somebody knows where to find a How-to, article or whatever related to what I'd like to do.
This is I'd like to get a source code from a particular package, I know this is possible by using apt-get source command and in fact there are some articles I've read in Debian web site but I'd like to go a little bit far I mean, once I have downloaded the code I'd be interested in modifying and compiling it.
Any comment related to this issue will be welcome.
yes, for sure when I'm talking of modifiying the code I know that's a thing I have to make it alone , my request is if someone knows about an example article that includes step by step, with an example, the way to proceed.
When you're ready to compile, run the configure script (if one was provided - and you only need to run it once), and then issue "make" as usual. Then after it finishes compiling, try out your new version by running it from within the workspace before copying/installing it into the system.
That's not a particular point that I'm having troubles with. I have just begun to work with Linux and I didnīt have a clear idea how the programming environment works, in terms of where the header and libraries are for example, and in case I'd like to modify and compiling a source code if I had to change or referencing those headers or libraries in a particular way so I read that Debian had an application which was able to download the code sources for whatever package you want, I'm talking about apt. I have just know, by your commments, that I can go to Freshmeat web site in order to download sources from there, I suppose Debian also can manage getting sources from this website through apt, am I right? how can we do this?
thanks Harmaa, yes it's an approach, although after reading the post comments, if you check the last one you could see that there is a guy who is asking the same as me, the post is:
**********************************************
I'm trying to modify apache source.
That's what i did
apt-get update
apt-get source apache
to get the source, but...
I actually can't find any c.file !
Clearly i've got lots to learn.
I googled massively on the subject, but i didn't find a practical example of:
- getting debian package (source, of course)
- unpacking it
- modify sources
- repackage it
What am i missing ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.