View previous topic :: View next topic |
Author |
Message |
bi-andrea Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Mar 2010 Posts: 171 Location: cesenatico
|
Posted: Mon Feb 20, 2012 1:18 pm Post subject: come installare i binari con emerge? [risolto] |
|
|
Chiedo come si nstallano i binari creati da emerge, perchè ho visto che li crea nella cartella
Code: | /usr/portage/package |
però non so come installarli e sono sotto formato, è giusto a titolo informativo per me
li creo digitando
Quote: | emerge -B <nome pachetto> |
crea i binari, ma installa dal sorgente
Code: | emerge -b <nome pachetto> |
_________________ Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ![Wink ;)](images/smiles/icon_wink.gif)
Last edited by bi-andrea on Thu Mar 08, 2012 9:27 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djinnZ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/3978748614ef08bfa7f764.jpg)
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Mon Feb 20, 2012 1:43 pm Post subject: |
|
|
man emerge wrote: | --getbinpkg [ y | n ] (-g short option) Using the server and location defined in PORTAGE_BINHOST (see make.conf(5)), portage will download the information from each binary package found and it will use that information to help build the dependency list. This option implies -k.
(Use -gK for binary-only merging.)
--getbinpkgonly [ y | n ] (-G short option) This option is identical to -g, as above, except binaries from the remote server are preferred over local packages if they are not identical.
--usepkg [ y | n ] (-k short option) Tells emerge to use binary packages (from $PKGDIR) if they are available, thus possibly avoiding some time-consuming compiles. This option is useful for CD installs; you can export PKGDIR=/mnt/cdrom/packages and then use this option to have emerge "pull" binary packages from the CD in order to satisfy dependencies.
--usepkgonly [ y | n ] (-K short option) Tells emerge to only use binary packages (from $PKGDIR). All the binary packages must be available at the time of dependency calculation or emerge will simply abort. Portage does not use $PORTDIR when calculating dependency information so all masking information is ignored. |
esempio: | emerge -1gK app-office/libreoffice |
Ulteriori dettagli nel subforum documentazione _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bi-andrea Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Mar 2010 Posts: 171 Location: cesenatico
|
Posted: Thu Feb 23, 2012 12:44 pm Post subject: |
|
|
ho guardato nei sotto forum e li ho trovati utili, sostanzialmente sarebbe
Code: | emerge -K <programma> |
così cerca in /usr/portage/packages
potrebbe andar bene un discorso di creare tutti i binari di tutto il world installato con magar la possibilità di installarlo in un'altro pc oppure come backup risparmiando tempo nella compilazione _________________ Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bi-andrea Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Mar 2010 Posts: 171 Location: cesenatico
|
Posted: Tue Mar 06, 2012 11:05 pm Post subject: |
|
|
ho trovato interessante il discorso di creare i binari del sistema che si sono installarli in un pc meno prestazionale tipo un mio pc PII (non ricordo a quanti Hz, ma non molti) e ho proseguito così
Quote: | emerge rsync
catalyst -C target=snapshot version_stamp=my_date [emerge catalyst] |
Quote: | emerge -e --buildpkgonly world |
per world non mi creava i binari e ho sistemato sia in /etc/make.conf le flag use che /etc/portage/package.use
Quote: | emerge --deep --newuse world |
una volta che ho sistemato i file di configurazione rifaccio
Quote: | emerge -e --buildpkgonly world |
ora ho tutti i binari in
Quote: | /usr/portage/packages |
il snapshot creato non so dove è stato posizionato però.
Se ho capito bene con un stage3 messo nel pc il snapshot creato messo in /usr e i binari in /usr/portage/package se digito
Quote: | emerge -K <quello che voglio> |
dovrei aver installato grazie ai binari un sistema simile al mio pc attuale, giusto? _________________ Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djinnZ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/3978748614ef08bfa7f764.jpg)
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Fri Mar 09, 2012 10:32 am Post subject: |
|
|
-OK non solo -K per alcuni (in particolare i pacchetti che dipendono da opzioni del kernel)
Se li vuoi già pronti per l'uso è meglio usare un chroot e quickpkg. -B va bene se provi a clonare su altra ottimizzazione e simili. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bi-andrea Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Mar 2010 Posts: 171 Location: cesenatico
|
Posted: Thu Mar 29, 2012 10:05 pm Post subject: |
|
|
Ieri ho installato Gentoo sul PII, dunque ho fatto così:
Quote: | scompattamento l'ultimo stage3, perchè prima di creare i binari nell'altro pc lo avevo aggionato, poi ho copiato la cartella /usr/potage senza tarball in /usr/portage/distfiles, ma con i binari in /usr/portage/packages | e make.conf e i package.*
fatto questo ho iniziato ad installare i binari, però mi chiedeva la variabile in make.conf, digitando
Quote: | emerge -gK <quello che voglio> |
in pratica un mirror da dove scaricarli, io non ne conosco, però ho i miei creati precedentemente e guardando devo installarli dicitando così
Quote: | emerge --usepkg --getbinpkg <quello che voglio> |
serve proprio per installare i propri binari
per scaricarli e creare i binari se c'è bisogno e infatti qualcuno l'ha dovuto compilare.
Unico problema è OpenOffice, anche da binario, che tra l'altro si trova nei mirror dei sorgenti, mi si blocca il pc, se lo scompatto dal binario creato dall'altro pc, lui funzionerebbe anche se non è stato aggiunto nel database di portage? _________________ Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djinnZ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/3978748614ef08bfa7f764.jpg)
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Sat Mar 31, 2012 3:24 am Post subject: |
|
|
segreteria telefonica wrote: | djinn Z risulta disperso su una spiaggia assolata... |
documentati su emerge --root= , OOo o libreoffice sono pachidermi e potresti avere problemi a scompattare un tar di quelle dimensioni. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fbcyborg Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/155952675623570fd610b.jpg)
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djinnZ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/3978748614ef08bfa7f764.jpg)
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Sat Mar 31, 2012 2:29 pm Post subject: |
|
|
infatti quindi, per oggi, ho pensato bene di farvi una visitina tra una la spiaggia ed i massaggi. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|