LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-18-2010, 03:35 AM   #1
merincooper
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Can I create commercial(closed source) softwares using linux


I'm asked to create a network tool in C and a GUI API in linux platform by my company.
I'm aware of the GPL & GLPL licenses , but not clear whether I can create a proprietary commercial software with the tools & libraries available in Linux:
My tool will be written in C and will be using the some network library functions in the Linux and some header files .(Their license is GPL) , also the GUI i'm planning to develop is using GTK and Glade / Anjuta, (GTK is based on GLPL license) ,
I will be using GCC compiler for C programs,

Please let me know whether it is possible to create a closed source-commercial software using the above tools/libraries, if not possible is there any workaround is there for creating commerical tools in linux ??
Can I make some part of my code closed and some parts open?
Also please let me know which is the best GUI building programming language/IDE that can be used with C programs in linux

Thanks in Adance
 
Old 03-18-2010, 05:01 AM   #2
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Hi

You can't link in GPL libraries in closed source applications. LGPL is ok, unless you modify the library. The only workaround is to not use any GPL libraries.

You can use GPL tools while making the application. It depends is what you distribute. If you distribute software with GPL software, the source has to be included.
 
Old 03-18-2010, 06:21 AM   #3
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
As has been pointed out, the GPL makes no restrictions on your use of software (which is why it is considered a free license). So the use of compilers and other tools is unrestrained (you are the end user of these).

What it does affect is your redistribution of the software. So as Guttorm points out, you can only distribute a GPL library if the rest of the software is also covered by a license compatible with the GPL (which implies open source amongst other things), since your software is a derivative work. The LGPL makes an explicit exception for libraries, which allows you to apply your own terms to the derivative work, with certain conditions (which primarily involve the licensees being able to relink with the library).

Whether your software is commercial or not is irrelevant; the GPL does not discriminate against commercial applications. Its primary concern is for the freedom of the end user.

Last edited by neonsignal; 03-18-2010 at 06:37 AM.
 
Old 03-18-2010, 06:24 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,349

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
I believe the BSD style license allows what you want, but whether that or LGPL, read the license carefully; in fact make your company lawyer read it(!)
 
Old 03-18-2010, 12:38 PM   #5
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by merincooper View Post
I'm asked to create a network tool in C and a GUI API in linux platform by my company.
I'm aware of the GPL & GLPL licenses , but not clear whether I can create a proprietary commercial software with the tools & libraries available in Linux:
My tool will be written in C and will be using the some network library functions in the Linux and some header files .(Their license is GPL) , also the GUI i'm planning to develop is using GTK and Glade / Anjuta, (GTK is based on GLPL license) ,
I will be using GCC compiler for C programs,

Please let me know whether it is possible to create a closed source-commercial software using the above tools/libraries, if not possible is there any workaround is there for creating commerical tools in linux ??
Can I make some part of my code closed and some parts open?
Also please let me know which is the best GUI building programming language/IDE that can be used with C programs in linux

Thanks in Adance
You can create commercial closed source apps running under Linux - a lot of EDA software for Linux exists.

You can link with glibc - it has a link exception.

Regarding GUI - I'd recommend Qt - its license is LGPL.
 
  


Reply


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
My blog on Linux cool open source softwares! samguan Linux - Software 2 11-03-2007 05:30 AM
LXer: Consequences of Closed Source Software in Linux LXer Syndicated Linux News 0 06-13-2007 11:31 PM
Linux open source softwares and sites for artists fezfezfezfez General 5 11-04-2005 12:20 PM
closed source Linux fakie_flip General 20 09-15-2005 01:28 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:42 AM.

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