Server :: Standard Location For Downloading Source Code?
Feb 18, 2011
I'm about to recompile PHP from source and was planning to download the source code to my Ubuntu machine. Is there a standard place where all the source code goes? I know that PHP has many dependencies and would like to hopefully put it in the right place so as to satisfy as many as possible.
I am reporting various network statistics in a c++ program by reading the values out of /proc. However, I am having trouble determining the link status. In particular, I am wondering:
1. How are the standard interface flags (IFF_UP, IFF_RUNNING) as referenced in if.h accessed from user land? The ifconfig man page lists its files as
/proc/net/socket (doesn't exist in suse), /proc/net/dev, and /proc/net/if_inet6. None of these seem to contain these flags.
2. ip link show reports a "NO-CARRIER" flag. How does this correlate with the "UP" and/or "RUNNING" flags as reported by ifconfig, and how is it accessed from user space?
i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting
I am planning to install Ubuntu or kubuntu netbook remix on my netbook. WUBI has a problem downloading the .iso file. So do you know where the wubi directory in windows is, i have the .iso file.
Slipping some (non-root) user a piece of malignant code that he or she executes might be considered as one of the highest security breaches possible. (The only higher I can see is actually accessing the root user) What can an attacker effectively do when he/she gets a standard, (let's say a normal Ubuntu user) to execute code? Where would an attacker go from there? What would that piece of code do?
Let's say that the user is not stupid enough to be lured into entering the root/sudo password into a form/program she doesn't know. Only software from trusted sources is installed. The way I see it there is not really much one could do, is there?
Addition: I partially ask this because I am thinking of granting some people shell (non-root) access to my server. They should be able to have normal access to programs. I want them to be able to compile programs with gcc. So there will definitely be arbitrary code run in user-space...
I need to do some text file manipulation which I think should be done with standard commands in BASH. I'm looking at comma seperated text files (stock market data). It comes in the form of date, stock code, open, high, low, close, volume. What I need to do first is move all data with same stock code sequentially into individual files.
While doing this since the stock code will now be the file name I need to remove the stock code. Next I need to filter out overlapping data from different files with the same date. ie. where two files contain the same date on the one line only one line will be added to the combined file. I think there must be a tutorial out there for basic text manipulation like this, I just haven't found it yet.
yesterday i downloaded source of my virtual linux kernel and tried to compile it. It compiled indeed but could not boot from the new kernel. Then today i decided to re-downloading after removing the folder where source files are located but it said "linux source is already the newest version"
I use the command below: sudo apt-get install linux-source What should i do to be able to re-download the source.
Using yum installs the binary version of the software. Is it possible to use yum to download the src rpms , because i have seen one repo called Fedora src. I am using Fedora 11.
While I trying to install Linux cable driver following error occurred. "checking for linux kernel source... not found configure: error: please install the kernel source or specify alternate location"
I tried by "yum install kernel-devel" and headers but still problem continues. How to set the path or where it installed in default. CentOs 5.5 uname -r :2.6.18-194.el5
I have been a newbie to Fedora, Now i think its the time to explore fedora and learn the "behind the scenes" process.. I want to know how to view the source code of kernel,an application.
I have been using Linux for 2 months, specifically Ubuntu, and been wondering where the source code is. Not only do I wonder where the kernel source code is but also where the source code for the installed programs are.
Where I can get a disc for the Fedora 11 source code? I really like this release of fedora and want to keep it for the future. Also, what's the difference between SRPM and RPMs? What does an SRPM do when you install it and what is it's purpose?
I have some C source code listings that are not documented or even commented from which I would like to run a program to create a flowchart.I'm not looking for the likes of dia or such which require the user to do the creation please. I've read the posts on this and other forums but have found only user created charts, not from source. From several web searches I know winblows has such programs but I don't want windows on this machine!
Looking for a guide or thread that explains how to install from source code.What programs that I need to install like php or others and the steps to compile make and install the code.
In what directory do I need to install a tarball containing API libraries in order to import the libraries for programming?I've been trying for a few hours now to get started on my homework - but I need the GLUT api for OpenGL. After attempting to compile a simple test program, I got the error Code: glut.h: No such file or directory
First off, I'm not even really sure if OpenGL wasn't included in the original install or if I even need it when programming with GLUT (I truelly am clueless, lol). But after reading as much as I could, I've only been able to deduce that I need to install the API libraries somewhere on my disc.So I found the tarball, and there are special instructions for installing a linux machine. I found instructions saying to install it in the directory /usr/lib/ but is that right for the SUSE distro?Also, if anybody knows anything about GLUT/OpenGL programming + openSUSE11.2.
I downloaded wine from a windows laptop, but because you have to have a computer running Linux to download it as a .deb package, I had to download the source code as a tar. bz2.
Does anyone know how I compile it and make it executable?