dijous, 5 d’agost del 2010

Script instal·lació programes - UBUNTU

#!/bin/sh
# script d’instal·lació de programes
# sudo sh ./script.sh

echo “Instal·lant emesene “
echo “===================================”
apt-get install emesene
echo “Emesene instal·lat”
echo “”

echo “Instal·lant vlc “
echo “===================================”
apt-get install vlc
echo “Vlc instal·lat”
echo “”

echo “Instal·lant paquets de compració i descompració de fitxars”
echo “===================================”
apt-get install rar p7zip-full unace unzip file-roller
echo “Paquets de compració i descompració de fitxar instal·lats”
echo “”

echo “Instal·lant java”
echo “===================================”
apt-get install sun-java6-fonts sun-java6-jre sun-java6-plugin
echo “Java instal·lat”
echo “”

echo “Eliminant evolution”
echo “===================================”
apt-get remove evolution
echo “Evolution eliminat”
echo “”

echo “Eliminant openoffice.org-draw”
echo “===================================”
apt-get remove openoffice.org-draw
echo “Openoffice.org-draw eliminat”
echo “”

echo “Eliminant f-spot”
echo “===================================”
apt-get remove f-spot
echo “F-spot eliminat”
echo “”

echo “Eliminant xsane”
echo “===================================”
apt-get remove xsane
echo “Xsane eliminat”
echo “”

echo “Eliminant tsclient”
echo “===================================”
apt-get remove tsclient
echo “Tsclient eliminat”
echo “”

echo “Instal·lant ubuntu-restricted-extras”
echo “===================================”
apt-get install ubuntu-restricted-extras
echo “Instal·lats els ubuntu-restricted-extras”
echo “”

echo “Instal·lant gnome-do”
echo “===================================”
apt-get install gnome-do
echo “Instal·lat el gnome-do”
echo “”

echo “Instal·lant Docky”
echo “===================================”
apt-get install docky
echo “Instal·lat el docky”
echo “”

echo “===================================”
echo “===================================”
echo “”

echo “Eliminant paquets innecessaris:”
apt-get clean
apt-get remove
apt-get autoremove

echo “===================================”
echo ”Proces finalitzat.”