Best Answer

Most programs you can download in source form can be compiled using the following simple steps:

1. Extract the source package (ex. 'tar xzvf programname-version.tar.gz'), this will create directory programname-version. Chdir into it.

2. Run './configure'. This checks the build environment to make sure your compiler works and has the proper libraries installed.

3. Run 'make'. This compiles the program.

4. Run 'make install'. This places the binaries in the appropriate location(s).

5. Depends on GCC version also

User Avatar

Wiki User

โˆ™ 2010-09-15 10:57:13
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you compile software on Linux?
Write your answer...
Related questions

Do you have to compile Linux software before using it?

You can if you really want to! But, most Linux software is already compiled and ready to be downloaded and installed. Note that Linux is the kernel from which many distributions (distos) branch out - Ubuntu, Linux Mint are but two examples.

Is Linux a system software or application software?

System software. In fact, Linux itself is *the* system software: The kernel of a Linux distribution and the central software of the Linux operating system.

Why is it difficult to port software designed for UNIX to Linux?

In general, no, it is not difficult at all. As long as you stick to the POSIX (and other open standards) and use a conformant compiler for the software there shouldn't be any problem in porting software. I do it all the time - from Linux to Unix, or Unix to Linux, makes no difference. In fact, a lot of common software is cognizant of the actual Operating System at compile time and will take care of the differences (if there are any).

What is the cost of Linux software?

"Linux software" is any software that runs on Linux. As such, the price for any particular piece of software can range from nothing to several thousand dollars.

How do you make software from a simple java program?

You compile it.You compile it.You compile it.You compile it.

Is Linux an aopen source software?

The whole of the Linux kernel is open-source software.

Is there tax software for Linux anywhere?

There are several different tax software compatible with Linux. You can use Tax Act. Is another software that people use when the Linux is not available.

Is Linux an application software?

No, Linux is an operating system. More accurately, Linux is a monolithic kernel. Application software must include direct interaction to the user to be considered application software.

How do you compile a C Plus Plus program on Linux?

On a Linux system the command is g++, this command takes the same options as gcc

What software does not support Linux?

There are thousands of pieces of software in existence. It would be impractical, if not impossible, to list every piece of software that was not compatible with Linux.

What other kind of software does Linux make?

Linux is not a company.

What is Linux wine and what is it used for?

Linux Wine is an open source software program. The Linux Wine software program allows Linux users to run Windows programs on their own devices such as computers.

How has Linux affected the market for proprietary software?

Linux is an open source software that has not had a detrimental affect on the marketing of proprietary software. Linux is computer operating system assembled under the model of free and open source software development and distribution.

Where can you download software from Mandriva?

Software from Mandriva can be downloaded from their specific website online. Mandriva is the Linux software and can also be downloaded from the Linux site too.

IS Linux software and operating system?

An operating system is software that consists of smaller pieces of software that work together. Linux at its core is a kernel, which is the core of the GNU/Linux operating system distribution.

What organisation writes Linux software?

If by "Linux software" you mean the Linux kernel, it is made up of code submitted by thousands of contributors from all around the world. Linus Torvalds (creater of Linux) is the one who has the final say on what makes it into the final operating system. If you meant applications that run on Linux, there are hundreds of thousands of organizations that write software for Linux. A lot of it can be found in the Ubuntu Software Center

Finding Cloud Computing Linux Software?

Finding software to help run cloud computing Linux can be difficult for some people. If you are new to using the Linux operating system, you may not know where to find the best computer networking software. Many software stores carry only a few networking software tools for Linux operating system users. If you look for software online, there are many more products for Linux users are retailers on the internet.

Is there a software named Graphics in Linux?

No. There is no program named "Graphics" for Linux.

Does every Linux software work on every Linux distro?

I don't think so.

Is Linux an example of proprietary software?

No. It is open source software.

What year was the Linux software developed?

The original Linux kernel was written in 1991.

Why do people use Linux. Its illegal?

Linux is not illegal. Linux is a free, public license software modeled on Unix.

What are some software that can be run on Linux wine?

Linux wine allows the user to run Windows software when they are using a Linux operating system. One would like to do this if they like how Windows software works rather than the Linux equivalent, for example some people like Microsoft Office products.

Where can one find the latest Linux downloads?

One can find the latest Linux downloads on the Linux website including the latest software such as HTPC Manager. The website also has how to tutorials. Linux was originally developed as a free software and operating system.

What type of software is Linux?

Linux is an operating system, like Windows, that runs on the Linux Kernel, which is based off of UNIX.

Study guides

Create a Study Guide