how to install mplayer

J. Tsagatakis hwlab at cs.teicrete.gr
Fri Jul 26 11:51:01 EEST 2002


Se genikes grames ta programata gia linux erxontai se diafores morfes. To
poia morfi einai eksaratate apo tin kataliksi tu arxeiu. Diladi

Periptosi I
===========
An to arxeio telionei se *.tgz, *.tar.gz *.tar  einai pigaios kodikas se
ena simpiesmeno arxeio. Tha prepei prota na to aposimpieseis me tin entoli
% tar xvf <name.tar>
% tar xvfz <tame.tar.gz h name <tar.tgz>
hint. Des ta man gia tar, gzip, bzip
Stin sinexeia tha prepei na pas sto katalogo pu to aposimpieses
% cd <name>
Na divaseis ta arxeia odigion (sinithos ta README ke INSTALL). Ekei prepei
na anaferontai kai oi eksartiseis tu programatos. Diladi sixna ena
programma apaitei alla programmata kathos kai vivliothikes (libraries) gia
na leiturgisei. Auta tha prepei na exun egkatastathei prota. Eidika stin
periptosi ton vivliothikon tha prepei na eine egkatastimeno ke to
"lib<lib>-devel.rpm" paketo.
Stin sinexeia (sto 90% ton periptoseon ) tha prepei na kaneis configure to
programma gia na to prosarmoseis stin dianomi su, na afaireseis i na
prostheseis dinatotites klp. simfona me tis odigies tu README
%./configure --help | less
gia na deis olles tis diathesimes epiloges. Autes pu endiaferun eine sto
telos
%./configure --prefix=/usr/local <alles parametroi>
An to configure apotixei den exeis kapoies vivliothikes i kapoia
programata apo tin omada devel.
Kane compile to programma
%make
Kai an olla pane kala :-)
%make install


Periptosi II
============
Arxeio .rpm.
Edo ta pragmata eine poli pio eykola. Apla grapse
%rpm -Uvh <arxeio.rpm>
An exeis olla ta aparaitita arxeia ke vivliothikes (ke stis sostes
ekdoseis tus) to programma tha egkatastathei. An tora den exeis
egkatastisei kati (mporeis na deis ti exeis me tin entoli (%rpm -qa | grep
<name> h me to kpackage h me to rpmdrake) ke na to egkatastiseis. An tora
to exeis egkatastisei ke apitei alles ekdoseis apo autes pu exeis, tote
thelei ligo prosoxi giati mia vivliothiki apaiteite apo polla programmata,
ta opoia pithana na prepei na xreiastun anavathmisi. Enas tropos gia na to
apofigeis einei i periptosi III.
Ta parapano mporun na ginun automatopoiimena ston Mandrakula. Des
parakato.
hint: man rpm, RPM HOWTO, book Maximizing RPM (dorean diathesimo apo tin
RedHat), oi selides sto site tis mandrake gia to Cooker.

Periptosi III
=============
Arxeio *.src.rpm
Kati anamesa stin I kai II. Arxeio rpm pu periexei ton pigaio kodika. Apla
%rpm --recompile <prog.src.rpm>
hint: book Maximizing RPM (dorean diathesimo apo tin RedHat), oi selides
sto site tis mandrake gia to Cooker.

Eidiki periptisi gia to Mandrake
================================
To mandrake epiliei mono tu tis eksartiseis. H entoli
%urpmi --auto <arxeio.rpm>
egkathista to arxeio, katevazontas oti update xreiastei apo ti diktio.

Ena kolpo eine na valeis ta rpm se ena katalogo e.g /local/rpm kai na
diseis tin entili
%urpmi.addmedia [options] "Local RPM: file://local/rpm
an valeis arxeia kane "update sources apo to rpmdrake)

HOWTO egrapsa o trisipostatos
Giannis Tsagatakis






More information about the Linux-greek-users mailing list