imolugimolug [ corso linux: lezione 2 ] nell'ambiente linux si definisce pacchetto un “file...
TRANSCRIPT
![Page 1: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/1.jpg)
ImoLUGImoLUG
![Page 2: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/2.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
GESTIONE DEI PACCHETTI
![Page 3: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/3.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
● Nell'ambiente linux si definisce PACCHETTO un “file archivio”
● I PACCHETTI contengono tutti i file necessari all'implementazione di una serie di comandi o di funzionalità
● I PACCHETTI sono alla base del software per linux
![Page 4: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/4.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ TIPI di PACCHETTI: ]
● Pacchetti binari
●Pacchetti sorgenti
![Page 5: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/5.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ TIPI di PACCHETTI: ]
● Pacchetti binari: eseguibile file configurazione man / info documentazione
![Page 6: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/6.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ TIPI di PACCHETTI: ]
● Pacchetti binari: eseguibile file configurazione man / info documentazione
Per Debian /Ubuntu: il formato del file è .deb
![Page 7: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/7.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ TIPI di PACCHETTI: ]
● Pacchetti binari: eseguibile file configurazione man / info documentazione
Per Debian /Ubuntu: il formato del file è .deb
“Spacchettati” o gestiti da utilità, sia grafiche e sia testuali
![Page 8: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/8.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ TIPI di PACCHETTI: ]
● Pacchetti sorgenti: file .dsc ---> descrizione file .tar.gz ---> sorgente file . Diff.gz ---> modifiche specifiche
[ Pacchetti binari ]
![Page 9: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/9.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ TIPI di PACCHETTI: ]
● Pacchetti sorgenti: file .dsc ---> descrizione file .tar.gz ---> sorgente file . Diff.gz ---> modifiche specifiche
Gestiti / compilati da utilità oppure dall'utente
[ Pacchetti binari ]
![Page 10: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/10.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ DIPENDENZE: ]
[ Pacchetti binari ][ Pacchetti sorgenti ]
● Ad ogni pacchetto è associato un file control nel quale sono descritti i legami con altri pacchetti
![Page 11: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/11.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ CONVENZIONI: ]
[ Pacchetti binari ][ Pacchetti sorgenti ][ Dipendenze ]
● Ogni pacchetto ha un nome e segue la seguente convenzione:
nome_revisione-architettura.deb
● Per esempio:
![Page 12: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/12.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ PRELEVARE I PACCHETTI: ]
[ Pacchetti binari ][ Pacchetti sorgenti ][ Dipendenze ][ Convenzioni ]
● Download diretto del pacchetto da un sito
● Repository /etc/apt/sources.list
http://packages.ubuntu.comhttp://www.debian.org/distrib/packages#search-packagesAltri siti
![Page 13: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/13.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
# Repo ufficialideb http://ftp.it.debian.org/debian squeeze main contrib non-freedeb-src http://ftp.it.debian.org/debian squeeze main contrib non-freedeb http://download.virtualbox.org/virtualbox/debian lenny non-free
# Repo Multimediadeb http://www.debian-multimedia.org squeeze main non-freedeb-src http://www.debian-multimedia.org squeeze main non-free
# Repo NON UFFICIALIdeb http://packages.kirya.net/debian sid main contrib non-freedeb-src http://packages.kirya.net/debian sid main contrib non-free
[ ESEMPIO DI SOURCES.LIST: ]
[ Pacchetti binari ][ Pacchetti sorgenti ][ Dipendenze ][ Convenzioni ][Repository ]
DEBIAN
![Page 14: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/14.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
deb http://it.archive.ubuntu.com/ubuntu/ hardy main restricteddeb-src http://it.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricteddeb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://it.archive.ubuntu.com/ubuntu/ hardy universedeb-src http://it.archive.ubuntu.com/ubuntu/ hardy universedeb http://it.archive.ubuntu.com/ubuntu/ hardy-updates universedeb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb http://it.archive.ubuntu.com/ubuntu/ hardy multiversedeb-src http://it.archive.ubuntu.com/ubuntu/ hardy multiversedeb http://it.archive.ubuntu.com/ubuntu/ hardy-updates multiversedeb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricteddeb-src http://security.ubuntu.com/ubuntu hardy-security main restricteddeb http://security.ubuntu.com/ubuntu hardy-security universedeb-src http://security.ubuntu.com/ubuntu hardy-security universedeb http://security.ubuntu.com/ubuntu hardy-security multiversedeb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
UBUNTU
![Page 15: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/15.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ PROGRAMMI PER GESTIRE I PACCHETTI: ]
● Synaptic● Apitude Tool grafici
● apt-get● dselect● dpkg
Tool testuali
[ Pacchetti binari ][ Pacchetti sorgenti ][ Dipendenze ][ Convenzioni ][Repository ][Tool gestione binari ]
![Page 16: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/16.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ]
Installazione software windows
![Page 17: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/17.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software windows
![Page 18: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/18.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software windows
![Page 19: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/19.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software windows
![Page 20: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/20.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software Linux con Synaptic
![Page 21: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/21.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software Linux con Synaptic
![Page 22: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/22.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software Linux con Synaptic
![Page 23: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/23.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software Linux con Synaptic
![Page 24: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/24.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software Linux con Synaptic
![Page 25: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/25.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software Linux con Synaptic
![Page 26: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/26.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ ESEMPI: ] Installazione software Linux con Synaptic
![Page 27: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/27.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ PANORAMICA SYNAPTIC: ]
![Page 28: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/28.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ PANORAMICA SYNAPTIC: ] repository
![Page 29: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/29.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ PANORAMICA SYNAPTIC: ] repository
![Page 30: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/30.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ GDEBI: ]
![Page 31: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/31.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ APT: ]
# apt-get install# apt-get update# apt-get dist-upgrade# apt-get upgrade <nome_pacchetto_esatto># apt-get remove# apt-get --purge remove# apt-get clean# apt-cache search <nome_pacchetto_esatto># apt-cdrom add
![Page 32: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/32.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ COMPILARE I SORGENTI: ] module assistant
![Page 33: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/33.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ COMPILARE I SORGENTI: ] module assistant
![Page 34: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/34.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
[ COMPILARE I SORGENTI: ] module assistant
![Page 35: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/35.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
![Page 36: ImoLUGImoLUG [ Corso Linux: Lezione 2 ] Nell'ambiente linux si definisce PACCHETTO un “file archivio” I PACCHETTI contengono tutti i file necessari all'implementazione di una serie](https://reader030.vdocuments.site/reader030/viewer/2022040515/5e7304cf536e98163f2c8a3f/html5/thumbnails/36.jpg)
ImoLUGImoLUG [ Corso Linux: Lezione 2 ]
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License