Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 08-08-2004, 07:47 AM   #1
LQ Newbie
Registered: Aug 2004
Location: Kolkata, India
Distribution: SUSE Linux 9.2 Professional
Posts: 9

Rep: Reputation: 0
How can I create a software from the source?

Hi everyone. I think this is a very basic question. But I am new to linux. My question is after I get the source file of a program, then what is the procedure to compile this file so that I have a working software? I use Mandrake Linux 9.1. Any help will be appreciated.

Thanking you in advance.

P.S.: If someone has already asked this question then please provide a pointer to the answer.
Old 08-08-2004, 07:54 AM   #2
Registered: Jan 2003
Location: Finland
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124

Rep: Reputation: 15
Well, after unpacking the file you usually find compiling instructions from the README and INSTALL files provided with the sources. But basically it goes as following: (Well, I assume that U have all requiered programs installed..)

1: configure
2: make
3: make install

But as said, you MUST have all programs installed for software developing!!
else you *Will* get some serious errors.

Good luck, and remember: Linux == Read, Read, Read, and learn... =)
Old 08-08-2004, 07:55 AM   #3
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Normally you read the README file with the source, and typically for Mandrake follow the commands (as root) of:

./configure --prefix=/usr
make install

However, what are you trying to compile, because Mandrake is a package based distro and you should be able to get a precompiled version in a .rpm from the CDs or online.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help: Free Software vs. Open Source Software General_Tso Linux - General 13 12-17-2005 10:49 PM
error:cannot create source dir HELP! manas_shukla Linux - Newbie 1 01-20-2005 01:12 AM
Create Install Source Buelldozer SUSE / openSUSE 3 11-16-2004 01:58 PM
compiling software from do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 10:09 PM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 05:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration