Debian_12_on_imac_2017/README.md
2025-07-31 17:39:30 +08:00

97 lines
2.7 KiB
Markdown

## Debian 12 in Imac 2017
### Installare l'installer su pen drive
caricare la versione iso di debian 12 e installarlo in una chiavetta utilizzando Balena-Etcher
### Autorizzare lo user per lavorare come su (sudoers)
su
nano /etc/sudoers
inserire questa riga con user lo user che vuoi che abbia i privilegi di root
user ALL=(ALL:ALL) ALL
uscita da su
exit
### Installare sound su linux Debian 12 in un iMac 18.2 (late 2017)
sudo apt-get install linux-headers-$(uname -r)
sudo apt install build-essential
sudo apt install git
git clone http://forgit.patachina.it/Fabio/snd-hda-codec-cs8409.git
cd snd-hda-codec-cs8409
make
sudo make install
fare il reboot
deriva da [git link](https://github.com/egorenar/snd-hda-codec-cs8409)
### Installare tutti i pacchetti per Debian 12
copiare il file per un backup
sudo cp /etc/apt/sources.list .
editare sources.list
sudo nano /etc/apt/sources.list
cancellare tutto e inserire
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
# deb-src https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
fare update e upgrade
sudo apt update
sudo apt upgrade
## Installare mesa (accellerazione grafica)
sudo apt-get install mesa-utils
verificare con
glxinfo
con
glxinfo | grep OpenGL
dovrebbe risultare qualcosa del tipo
OpenGL vendor string: Intel Open Source Technology Center # The manufacturer
OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop # The type of the chip
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2 # The OpenGL version fully supported, here 3.3 thanks to Mesa 10.3.2 .
OpenGL core profile shading language version string: 3.30 # The GLSL version fully supported
con il comando si verifica accellerazione 3D
glxinfo | grep rendering
dovrebbe dare
direct rendering: Yes
per vedere i frame per secondo
glxgears -info