linux για την τρίτη ηλικία

V13 v13 at priest.com
Tue Nov 16 23:02:14 EET 2004


On Tuesday 16 November 2004 22:47, Konstantinos Peletidis wrote:
> Etsi loipon, emeis oi paraksenoi oi slackers, mporoume na kanoume
> uninstall mia efarmogh me ena aplo
>
> # tar zxvf koko-123.tar.gz ; cd koko-123 ; make uninstall

Oxi kai toso aplo. To oti to automake dimioyrgei aytomata to uninstall target 
den shmainei pos paizei pantoy kai doylevei apsoga. Xaraktiristika 
paradeigmata:

a) Koina arxeia metaksy 2 paketon
b) Aferesh enos paketoy sto opoio eksartatai ena allo
c) (kai simantikotero) an o X eftiakse to Y xrhsimopoiontas to automake kai 
exei balei esto kai ena local installation rule tote prepei na exei 
prosthesei kai ton analogo uninstallation rule, to opoio stin praksi den 
ginetai sxedon pote.
d) Den xrhsimopoioyn ola ta progs to automake. Ante kane uninstall mia palia 
ekdosh toy gcc, ths libc, tvn X h to udev.

> Enallaktika, yparxoun poly omorfa ergaleia pou parakolou8oun poia arxeia
> egka8istantai kata to 'make install' kai prosferoun thn dynatothta
> apegkatastashs ths xyz efarmoghs akoma kai an exeis petaksei to arxiko
> package.[2]

Gia ta opoia omos yparxoyn toylaxiston N programata sta opoia den doylevoyn 
(eite coriazoyn, eite exoyn problima me statically linked 'ln' klp klp)

> Ypen8ymizw pws h egkatastash efarmogwn apo source einai mia mono apo
> tis dia8esimes epiloges. To package system tou slackware einai aplo,
> leitourgiko, kai se syndiasmo me to swaret[3] se kanei na niw8eis san
> sto... FreeBSD sou :-)

Den ksero kata poso exei alaksei to 'package system' toy slack, alla mexri 
prin ligo kairo, to mono poy ekane einai to na krataei lista me ta arxeia poy 
bazei, na trexei merika scriptakia se diafores faseis kai na kanei untar. 
Ayto kalyptei mono merika apo ta provlimata kai den parexei elegxo ekdoseon, 
aytomata updates kai dependency tracking.

> [1] Me auton ton tropo, an kshlwseis thn version V mias efarmoghs gia
> xarh ths version V+1 kai meta deis pws einai xeiroterh apo thn
> prohgoumenh, mporeis na anatrekseis sto local repository me ta packages
> kai na ksanaegkatasthseis thn palia version.
> [2] http://asic-linux.com.mx/~izto/checkinstall/

Been there done that, ran away...

Telos, prepei na skeyteis periptoseis opos:

  Exeis tin postgresql, h opoia periexei ton server kai tis libraries gia na 
grapseis kodika poy na epikinonei me ayti. Kato apo to slack (Diorthoste me 
an kano lathos) eisai 100% anagkasmenos na baleis kai ton server apla kai 
mono gia na exeis tis libraries kai ta header files. To idio isxyei kai an to 
baleis apo sources. Se periptoseis opos to debian exeis ksexorista paketa gia 
tis libs, ta headers kai tin idia tin basi... To idio problima yparxei kai se 
polla alla programmata.

> Konstantinos Peletidis
<<V13>>




More information about the Linux-greek-users mailing list