Archivio

Archivio 18 Maggio 2007

urpmi.mandriva 2007.1 spring

18 Maggio 2007 4 commenti

###############################################################
# Mandriva Spring Mae89 #
# #
# Ho scritto questo script solo per scopo #
# personale/didattico, pertanto non mi assumo nessuna #
# sponsabilità dei danni causati da esso. #
# eseguendolo dichiari di assumerti tutte le responsabilità. #
###############################################################
#!/bin/bash
(echo “###############################################################
# Mandriva Spring #
# by Mae89 #
# #
# Ho scritto questo script solo per scopo #
# personale/didattico, pertanto non mi assumo nessuna #
# sponsabilità dei danni causati da esso. #
# eseguendolo dichiari di assumerti tutte le responsabilità. #
###############################################################”
echo “”
echo “”
echo “Clicca s per continuare o n per uscire”
read cane
if [ $cane == "s" ]; then
echo “è stata avviata l’installazione di questo script”
(
echo “Rimuovo possibili settaggi di urmpi, imposto gli indirizzi per Mandriva Sring”
urpmi.removemedia -a

urpmi.addmedia main ftp://bo.mirror.garr.it/mirrors/Mandrake/official/2007.1/i586/media/main/release with media_info/hdlist.cz
urpmi.addmedia –update main_updates ftp://bo.mirror.garr.it/mirrors/Mandrake/official/2007.1/i586/media/main/updates with media_info/hdlist.cz
urpmi.addmedia main_backports ftp://bo.mirror.garr.it/mirrors/Mandrake/official/2007.1/i586/media/main/backports with media_info/hdlist.cz
urpmi.addmedia contrib ftp://bo.mirror.garr.it/mirrors/Mandrake/official/2007.1/i586/media/contrib/release with media_info/hdlist.cz
urpmi.addmedia –update contrib_updates ftp://bo.mirror.garr.it/mirrors/Mandrake/official/2007.1/i586/media/contrib/updates with media_info/hdlist.cz
urpmi.addmedia contrib_backports ftp://bo.mirror.garr.it/mirrors/Mandrake/official/2007.1/i586/media/contrib/backports with media_info/hdlist.cz
urpmi.addmedia non-free ftp://bo.mirror.garr.it/mirrors/Mandrake/official/2007.1/i586/media/non-free/release with media_info/hdlist.cz
urpmi.addmedia –update non-free_updates ftp://bo.mirror.garr.it/mirrors/Mandrake/official/2007.1/i586/media/non-free/updates with media_info/hdlist.cz
urpmi.addmedia plf-free_backports ftp://ftp.free.fr/pub/Distributions_Linux/plf/mandriva/2007.1/free/backports/binary/i586/ with hdlist.cz
urpmi.addmedia plf-nonfree_backports ftp://ftp.free.fr/pub/Distributions_Linux/plf/mandriva/2007.1/non-free/backports/binary/i586/ with hdlist.cz
urpmi.addmedia plf-free ftp://ftp.free.fr/pub/Distributions_Linux/plf/mandriva/2007.1/free/release/binary/i586/ with hdlist.cz
urpmi.addmedia plf-nonfree ftp://ftp.free.fr/pub/Distributions_Linux/plf/mandriva/2007.1/non-free/release/binary/i586/ with hdlist.cz
#
#
#Pacchetti importanti
#
#
#
echo “Installo pacchetti indispensabili per la configurazione”
urpmi –force timidity-patch-freepats-20040611-3mdv2007.1.noarch
urpmi –force timidity-patch-gravis-1.0-24mdv2007.1.noarch
urpmi –force classpathx-jaf-1.1.1-2.2mdv2007.1.i586
urpmi –force geronimo-jaf-1.0.2-api-1.0-3.6mdv2007.1.i586
urpmi –force glibc-devel-2.4-8mdv2007.1.i586
urpmi –force uClibc-devel-0.9.28.1-1mdv2007.1.i586
urpmi –force libstdc++6-devel-4.1.2-1mdv2007.1.i586
urpmi –force libstdc++5-devel-3.3.6-3mdk.i586
urpmi –force gcc-4.1.2-1mdv2007.1.i586
urpmi –force gcc3.3-3.3.6-3mdk.i586
#
#programmi
#
#
echo “Installo i programmi”
urpmi –force unrar
urpmi –force audacious-timidity
urpmi –force mandvd
urpmi –force ksmoothdock
urpmi –force kdeutils-superkaramba
urpmi –force kdeutils-karamba
urpmi –force scummvm
urpmi –force amsn
urpmi –force tuxguitar
urpmi –force mozilla-firefox-it
urpmi –force mozilla-thunderbird-it
urpmi –force gxine
urpmi –force openoffice.org-l10n-it
urpmi –force mc
urpmi –force xterm
urpmi –force samba
urpmi –force k3b
urpmi –force rpmdrake
urpmi –force old_rpmdrake
urpmi –force wget
urpmi –force fontconfig
urpmi –force freetype2
urpmi –force freetype2-devel
urpmi –force bison
urpmi –force flex
urpmi –force libjpeg
urpmi –force libjpeg-devel
urpmi –force libpng
urpmi –force libpng-devel
urpmi –force win32-codecs
urpmi –force real-codecs
urpmi –force zlib zlib-devel
urpmi –force xorg-x11-devel
urpmi –force Mesa Mesa-devel
urpmi –force freeglut freeglut-devel
urpmi –force SDL SDL-devel
urpmi –force kpdf
#
#
#Scarico rpm dal sito e installo
#
#
echo “Scarico e Installo i plugin”
wget http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xx/ComixCursors-0.4.3-1.noarch.rpm
rpm -i ComixCursors-0.4.3-1.noarch.rpm
wget http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xx/flash-plugin-9.0.31.0-release.i386.rpm
rpm -i flash-plugin-9.0.31.0-release.i386.rpm
wget http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xx/2re-1_5_0_09-1.2007mcnl.i586.rpm
rpm -i j2re-1_5_0_09-1.2007mcnl.i586.rpm
#
#
#Elimino file superflui post installazione
#
#
echo “Elimino file superflui”
rm –force ComixCursors-0.4.3-1.noarch.rpm
rm –force flash-plugin-9.0.31.0-release.i386.rpm
rm –force j2re-1_5_0_09-1.2007mcnl.i586.rpm
echo “InstallazioneConfigurazione conclusa con successo”
)
else
echo “Hai deciso di non installare questo script”
fi
)

Riferimenti: urpmi.mandriva 2007.1 spring