Qhov txawv ntawm GPL thiab LGPL

Cov txheej txheem:

Qhov txawv ntawm GPL thiab LGPL
Qhov txawv ntawm GPL thiab LGPL

Video: Qhov txawv ntawm GPL thiab LGPL

Video: Qhov txawv ntawm GPL thiab LGPL
Video: Yuav tawm ntawm txoj kev txom nyem tau li cas? 2024, Kaum ib hlis
Anonim

GPL vs LGPL

GPL thiab LGPL yog cov ntawv tso cai software uas tiv thaiv txoj kev ywj pheej ntawm cov neeg siv los qhia thiab / lossis hloov cov software qhib. Feem ntau cov software uas muaj ntawv tso cai txwv tsis pub muaj kev ywj pheej thaum nws los txog rau kev hloov kho thiab kev faib tawm, tab sis GPL thiab LGPL tshem tawm cov kev txwv no yog li muab lawv cov neeg siv ntau dua. Ntawm cov ntawv tso cai qhib niaj hnub no, ob qho no yog qhov nrov tshaj plaws.

GPL yog dab tsi?

GNU General Public License, lossis feem ntau hu ua GPL, yog hom ntawv tso cai uas tau siv los ntawm ntau cov software dawb xws li Linux. Raws li daim ntawv tso cai no, nws ua kom paub tseeb tias cov software qhib rau txhua tus neeg siv, ua rau lawv dawb los hloov kho, hloov kho, lossis hloov kho qhov qhib software, tau txais qhov chaws thiab rov faib lawv. Cov kev txwv cuam tshuam nrog GPL tsuas yog muaj los tiv thaiv cov cai ntawm cov neeg siv. GPL txwv tsis pub leej twg tuaj yeem tsis lees paub cov cai ntawm cov neeg siv lossis tso lawv txoj cai.

LGPL yog dab tsi?

GNU Tsawg Daim Ntawv Tso Cai Pej Xeem, lwm yam hu ua LGPL, ntau dua lossis tsawg dua, qhov hloov kho ntawm GPL. Daim ntawv tso cai no feem ntau txwv rau cov tsev qiv ntawv software. Nws yog hu ua Lesser General Public License vim nws muab kev tiv thaiv tsawg dua rau tus neeg siv txoj kev ywj pheej. Qhov no tso cai rau cov kev pabcuam tsis pub dawb nkag mus lossis txuas mus rau lub tsev qiv ntawv. Thaum qhov kev pab cuam tsis pub dawb txuas mus rau lub tsev qiv ntawv nws yog hu ua kev ua haujlwm sib koom ua ke, lossis cov khoom siv ntawm lub tsev qiv ntawv qub.

Qhov txawv ntawm GPL thiab LGPL yog dab tsi?

• Qhov sib txawv tseem ceeb ntawm GPL thiab LGPL yog GPL muab kev tiv thaiv ntau dua rau cov neeg siv software. Nws tso cai rau lawv txoj kev ywj pheej los hloov cov software, qhia thiab tau txais qhov chaws.

• Thaum tus neeg siv faib cov software, ib tus yuav tsum paub tseeb tias lwm tus tuaj yeem tau txais cov cai tib yam. Nws yog ib qho tseem ceeb kom nco ntsoov tias txhua qhov kev hloov pauv hauv software yuav tsum tau tso cai raws li GPL.

• LPGL, ntawm qhov tod tes, tshwj xeeb yog tsim los rau cov tsev qiv ntawv software, qhov twg ib tus tuaj yeem hloov pauv thiab muab cov lej rov qab, tab sis ib tus tuaj yeem txuas nws mus rau qhov kev pabcuam tsis pub dawb uas nws tsis muaj ntawv tso cai raws li GPL. Feem ntau cov kev pabcuam niaj hnub no tau tso cai raws li GPL thaum lub tsev qiv ntawv feem ntau siv GPL, qee qhov kev xaiv siv LGPL kom ntau tus neeg tau txais txiaj ntsig los ntawm nws.

In luv:

•GPL feem ntau yog rau cov haujlwm thaum LGPL txwv rau cov tsev qiv ntawv software.

•Thaum twg muaj kev hloov pauv raws li GPL daim ntawv tso cai, cov lej yuav tsum tau thiab cov kev hloov pauv yuav tsum muaj ntawv tso cai raws li GPL, thaum LGPL tuaj yeem tso cai rau cov kev pabcuam uas tsis yog GPL txuas mus rau cov tsev qiv ntawv tab sis tseem yuav tsum muab cov lej cim.

Pom zoo: