ad-468x60

terça-feira, 3 de novembro de 2009

Script actualizado para o Karmic

#!/bin/bash
#
# A minha seleção de pacotes
# ____________________________
#
#
# Nickname...........: FreeAtMind
# Licenciado sobre...: GPL v3 - http://www.gnu.org/licenses/gpl.txt
#
# Data criação...........: -- OUT 2007
# Data da ultima revisão.: 01 NOV 2009
#
####################################################################
#
AMARELO="\033[1;33m"
VERMELHO="\033[0;31m"
FIMCOR="\033[0m"
echo
if [ $USER != root ]; then
echo -e $VERMELHO" ERRO: Tem que estar autenticado como root (digite o comado: sudo -i)"
echo
echo -e $AMARELO"Depois execute o script de novo..."$FIMCOR
exit 0
fi
echo
sudo aptitude update
clear
echo
echo -e $AMARELO" _____ Seleção de pacotes _____"$FIMCOR
echo
echo
echo -e $AMARELO" [* Preparação 1 de 4] Actualizações dos pacotes dos repositórios"$FIMCOR
echo
sudo aptitude -y --allow-untrusted install aptitude axel localepurge medibuntu-keyring medit synaptic wvdial
echo
echo -e $AMARELO" [* Preparação 2 de 4] Pacotes para indicados para o HP Pavilion dv6000"$FIMCOR
echo # josm
# sudo aptitude -y --allow-untrusted install moovida
# Hardware pessoal: synce = windows mobile
# sudo aptitude -y --allow-untrusted install multisync-tools multisync0.90 opensync-module-python opensync synce-gnomevfs synce-gvfs synce-hal synce-multisync-plugin synce-sync-engine synce-trayicon
echo
echo -e $AMARELO" [* Preparação 3 de 4] A remover pacotes desnecessarios"$FIMCOR
echo
#
echo
sudo aptitude purge -y apparmor apparmor-utils apport at-spi aumix bogofilter-common brltty cdparanoia computer-janitor doc-base erlang-base espeak-data evolution-common evolution-data-server evolution-webcal example-content fglrx-modaliases foo2zjs gnome-accessibility-themes gnome-mag gnome-pilot gnome-pilot-conduits gnome-user-guide gucharmap ibus ibus-gtk min12xxw mozilla-thunderbird onboard pidgin-data pnm2ppa raptor-utils redland-utils rhythmbox scim scim-modules-socket seahorse-plugins smartdimmer splix ssh-askpass-gnome thunderbird tomboy totem-common
#
### Essenciais do Ubuntu - Após a remoção de pacotes
sudo aptitude -y --allow-untrusted install alsa-base aptitude brasero cups e2fsprogs empathy evince exaile file-roller firefox gdebi gdm gconf-editor gksu gnome-core gnome-system-monitor language-selector medit mobile-broadband-provider-info network-manager-gnome popularity-contest smplayer sqlite3 synaptic tracker-search-tool ubuntu-minimal ubuntu-standard update-manager update-notifier xorg
echo
echo
#####################################################################
#| |#
#| Pacotes essenciais: |#
#___________________________________________________________________#
#####################################################################
echo
echo -e $AMARELO" [* Preparação 4 de 4] Pacotes essenciais"$FIMCOR
echo
sudo aptitude -y --allow-untrusted install aptitude axel conky empathy file-roller deborphan dontzap exaile flashplugin-installer gparted grub-pc hardinfo libdvdcss2 libdvdnav4 libdvdread4 localepurge medit mkisofs network-manager network-manager-gnome os-prober p7zip-full p7zip-rar packagesearch powertop smplayer smplayer-themes usb-creator-gtk wvdial
clear
echo
#####################################################################
#| #
#| Pacotes gerais: #
#___________________________________________________________________#
#####################################################################
echo
echo -e $AMARELO" [1 de 11] Sistema"$FIMCOR
echo ### CORE UPDATES ###
sudo aptitude -y --allow-untrusted install aptitude linux-generic update-manager udev linux-headers-$(uname -r)
echo # computer-janitor-gtk parcellite
sudo aptitude -y --allow-untrusted install bleachbit compizconfig-settings-manager dkms gisomount gnochm gnome-specimen gufw hardinfo usb-imagewriter laptop-detect linux-generic mesa-utils mtools ntfs-config openjdk-6-jre pcmanfm powernowd preload screen-resolution-extra screenlets searchmonkey sreadahead startupmanager ubuntu-tweak usb-creator usb-imagewriter wine xdg-user-dirs-gtk
echo
echo -e $AMARELO" [2 de 11] Ferramentas de administração"$FIMCOR
echo # partitionmanager
sudo aptitude -y --allow-untrusted install autopsy clonezilla ddrescue foremost gnome-format gddrescue magicrescue ntfsprogs partimage remastersys testdisk usbmount
# Programação:
# anjuta geany monodevelop
echo
echo -e $AMARELO" [3 de 11] Multimedia"$FIMCOR
echo # 2mandvd aqualung gtk-recordmydesktop k9copy kino lives istanbul quodlibet xvidcap
sudo aptitude -y --allow-untrusted install acidrip avidemux cheese dvdauthor dvdrip exaile fotoxx gnome-alsamixer gpicview griffith mirage mpg123 pitivi smplayer smplayer-themes soundconverter subtitleeditor subtitleripper tovidgui vlc
echo
echo -e $AMARELO" [4 de 11] Internet"$FIMCOR
echo # nicotine emesene
sudo aptitude -y --allow-untrusted install amule axel deluge empathy flashplugin-installer gnome-translate midori mozilla-mplayer skype transmission-gtk uget xchat
echo
echo -e $AMARELO" [5 de 11] Codecs e plugins"$FIMCOR
echo
sudo aptitude -y --allow-untrusted install arj build-essential cabextract ccd2iso checkinstall ffmpeg flashplugin-installer gphotofs gstreamer0.10-alsa gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg gstreamer0.10-pulseaudio libdvdcss2 libdvdnav4 libdvdread4 lha mdf2iso mkisofs mpg321 nrg2iso p7zip-full p7zip-rar rar vorbis-tools unrar x264
echo
echo -e $AMARELO" [6 de 11] Jogos"$FIMCOR
echo
sudo aptitude -y --allow-untrusted install fb-music-low frozen-bubble gbrainy lbreakout2 pychess vertris
echo
echo -e $AMARELO" [7 de 11] Máquina virtual (Virtualbox), programação e didacticos"$FIMCOR
echo
# sudo aptitude -y install dkms virtualbox-3.0
# sudo aptitude -y install dkms virtualbox-ose
# sudo aptitude -y --allow-untrusted install bluefish kompozer
# sudo aptitude -y install celestia stellarium
echo
echo -e $AMARELO" [8 de 11] Aparência (temas, pacotes de icones e wallpapers)"$FIMCOR
echo
sudo aptitude -y --allow-untrusted install simple-ccsm community-themes compizconfig-settings-manager gnome-themes-ubuntu human-icon-theme human-theme tangerine-icon-theme tango-icon-theme tango-icon-theme-extras ubuntu-gdm-themes
echo
echo -e $AMARELO" [9 de 11] Escritório"$FIMCOR
echo # cups-pdf orage osmo tasque tomboy
sudo aptitude -y --allow-untrusted install hplip-gui openoffice.org-core openoffice.org-calc openoffice.org-gtk openoffice.org-impress openoffice.org-java-common openoffice.org-writer ttf-dejavu ttf-droid ttf-liberation ttf-mscorefonts-installer
echo
echo -e $AMARELO" [10 de 11] Linguagem pt_PT"$FIMCOR
echo
sudo aptitude -y --allow-untrusted install aspell-pt-pt myspell-pt-pt hunspell openoffice.org-help-pt openoffice.org-l10n-pt language-pack-gnome-pt language-support-writing-pt language-support-translations-pt language-support-writing-en language-pack-gnome-en
echo
echo -e $AMARELO" [11 de 11] Vários (Obrigatório aceitar licença antes de instalar)"$FIMCOR
echo # sun-java6-jre sun-java6-plugin sun-java6-fonts
sudo aptitude -y --allow-untrusted install googleearth grub-pc os-prober
echo
echo -e $AMARELO" [* Pós instalação 1 de 1] A efectuar uma pequena limpeza."$FIMCOR
echo
#
### Remover configurações de pacotes já removidos.
sudo dpkg --list|grep ^rc
for i in `dpkg --list|grep ^rc|awk '{ print $2 }'`;do dpkg -P $i;done
#
sudo aptitude autoclean
echo
sudo updatedb
sudo mandb
echo
echo -e $AMARELO" FIM... do script."$FIMCOR
echo


Façam bom uso deste script. :)

Sem comentários:

Enviar um comentário