Instalacion de programas

Mis programas favoritos están en este fichero de proceso por lotes:
#!/bin/bash
#=========================================================================================================#
## Desinstalar software que no se utiliza ##
#=========================================================================================================#
# Bittorrent
sudo apt-get purge -y –force-yes bittorrent gnome-btdownload ubuntu-desktop
# Contenido de ejemplo
sudo apt-get purge -y –force-yes example-content
# gnome-games
#sudo apt-get purge -y –force-yes gnome-games
# Rhythmbox
#sudo apt-get purge -y –force-yes rhythmbox
# xsane para scanner
#sudo apt-get purge -y –force-yes xsane xsane-common
#=========================================================================================================#
## Reproductores ##
#=========================================================================================================#
# Banshee. Reproductor de musica. No es tan bueno como amarok, pero no quiero instalar las libreri­as de kde
#sudo apt-get install -y –force-yes banshee banshee-daap
# VLC. Probablemente, el mejor reproductor multimedia disponible.
sudo apt-get install -y –force-yes vlc vlc-nox vlc-plugin-alsa vlc-plugin-arts vlc-plugin-esd vlc-plugin-ggi vlc-plugin-glide vlc-plugin-pulse vlc-plugin-sdl vlc-plugin-svgalib avahi-autoipd avahi-daemon avahi-utils
# Amarok. Un reproductor alucinante, el Winamp de Linux
sudo apt-get install -y –force-yes amarok
# Totem. Otro reproductor
#sudo apt-get install -y –force-yes totem-gstreamer totem-gstreamer-firefox-plugin
# MPlayer. Otro reproductor
#sudo apt-get install -y –force-yes mplayer mozilla-mplayer
# GXine. Otro reproductor
#sudo apt-get install -y –force-yes gxine
#=========================================================================================================#
## Codecs multimedia ##
#=========================================================================================================#
# Codecs. Perm -fiten reproducir varios tipos de archivos multimedia.
sudo apt-get install -y –force-yes ubuntu-restricted-extras libxine-main1 libxine-extracodecs libdvdcss2 mpg321 vorbis-tools beep-media-player liferea tilda glipper non-free-codecs faad liblame0
sudo apt-get install -y –force-yes gstreamer0.10-alsa gstreamer0.10-esd gstreamer0.10-ffmpeg gstreamer0.10-gnomevfs gstreamer0.10-gnonlin gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-base gstreamer0.10-plugins-base-apps gstreamer0.10-plugins-farsight gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-pulseaudio gstreamer0.10-tools gstreamer0.10-x gstreamer-tools
sudo apt-get install -y –force-yes build-essential libxcomposite-dev libpng12-dev libsm-dev libxrandr-dev libxdamage-dev libxinerama-dev libstartup-notification0-dev libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libmetacity-dev librsvg2-dev libdbus-1-dev libdbus-glib-1-dev libgnome-desktop-dev libgnome-window-settings-dev gitweb curl autoconf automake automake1.9 libtool intltool libxslt1-dev xsltproc libwnck-dev python-dev libX11-xcb-dev pyrex-mode python-pyrex x11proto-scrnsaver-dev libxss-dev
# Real Player. El codec reproductor
# Usar como directorio temporal: /opt/real/RealPlayer
wget http://software-dl.real.com/13a2d22443ea9cec8020/unix/RealPlayer11GOLD.bin
chmod 770 RealPlayer11GOLD.bin
chmod a+x RealPlayer10GOLD.bin
sudo ./RealPlayer11GOLD.bin
cd /usr/lib/firefox-addons/plugins
sudo ln -s /opt/real/RealPlayer/mozilla/nphelix.xpt nphelix.xpt
sudo ln -s /opt/real/RealPlayer/mozilla/nphelix.so nphelix.so
sudo mv /usr/lib/totem/gstreamer/libtotem-complex-plugin.so ~/.
rm -f RealPlayer11GOLD.bin
# Visualizar DVDs (Esten encriptados o no)
sudo apt-get install -y –force-yes libdvdread3 regionset
# PulseAudio. Nuevo sistema de sonido
sudo apt-get install -y –force-yes paprefs pavucontrol
sudo adduser $USER pulse-access
sudo adduser $USER pulse-rt
#=========================================================================================================#
## Programas windows ##
#=========================================================================================================#
# Microsoft core fonts. Fuentes basicas de Microsoft, util para emuaciones y wine
sudo apt-get install -y –force-yes msttcorefonts mscompress cabextract libchm1 odf-converter ttf-liberation w32codecs fontconfig
# Wine. O como instalar programas de Windows en Linux
sudo apt-get install -y –force-yes wine
# Wine-Doors. Instalacion de libreri­as y programas facil.
# Por si ya hay version desinstalo la anterior para mantener compatibilidad.
sudo apt-get purge -y –force-yes wine-doors
sudo rm -f /etc/wine-doors/preferences.xml
sudo rm -f ~/.wine/wine-doors/preferences.xml
# Ahora si, descargamos el fichero e instalamos….
wget http://www.wine-doors.org/releases/wine-doors_0.1.2_all.deb
sudo dpkg -i wine-doors_0.1.2_all.deb
rm -f wine-doors_0.1.2_all.deb
# PlayonLinux: Instalador de juegos.
sudo apt-get install -y –force-yes playonlinux
#=========================================================================================================#
## Edicion de video ##
#=========================================================================================================#
# Preparar captura por Firewire
sudo chmod o+rw /dev/raw1394
# Kino. Editor de video
sudo apt-get install -y –force-yes kino
# qdvdauthor. Editor de menus de DVD.
sudo apt-get install -y –force-yes qdvdauthor
# Cinelerra. Editor profesional de video
# Open Cinelerra and go to Settings->Preferences->Playback->Audio Driver. Select ESound and set the following parameters – Port: 7007
sudo apt-get install -y –force-yes cinelerra-generic
# Lives. El editor de video amigable
sudo apt-get install -y –force libsox-fmt-all mkvtoolnix ogmtools #+++++++++++++++++++++++++
wget http://cesium.di.uminho.pt/pub/getdeb/ubuntu/hardy/li/lives_0.9.8.12-0~getdeb1_i386.deb
sudo dpkg -i lives_0.9.8.12-0~getdeb1_i386.deb
rm -f wget lives_0.9.8.12-0~getdeb1_i386.deb
#=========================================================================================================#
## Grabacion CDs ##
#=========================================================================================================#
# Gnomebaker. Utilidad para quemar cds y dvds.
#sudo apt-get install -y –force-yes gnomebaker
# K3B. El mejor programa de grabacion
sudo apt-get install -y –force-yes k3b libk3b2-mp3 libk3b2-extracodecs normalize-audio
# Conversor imagenes BIN y CUE –> Uso: bchunk archivo.bin archivo.cue nuevoarchivo.iso
sudo apt-get install -y –force-yes bchunk
# Conversor imagenes NRG –> Uso: nrg2iso archivo.nrg nuevoarchivo.iso
sudo apt-get install -y –force-yes nrg2iso
# Conversor imagenes MDF y MDS –> Uso: mdf2iso archivo.mdf nuevaimagen.iso
sudo apt-get install -y –force-yes mdf2iso
# Conversor imagenes IMG –> Uso: ccd2iso imagen.img imagen.iso
sudo apt-get install -y –force-yes ccd2iso
# Conversor imagenes DAA –> Uso: ./poweriso convert imagen.daa -o nuevaimagen.iso
wget http://poweriso.com/poweriso.tar.gz
tar -zxvf poweriso.tar.gz
rm -f poweriso.tar.gz
# Gestor de imagenes ISO
sudo apt-get install -y –force-yes gisomount
#=========================================================================================================#
## Utilidades ##
#=========================================================================================================#
# Acrobat Reader
sudo apt-get install -y –force-yes acroread acroread-escript acroread-plugins
# Codecs de compresion
sudo apt-get install -y –force-yes rar unace unrar p7zip p7zip-full p7zip-rar arj unzoo lha libarchive1 libarchive-tar-perl libarchive-zip-perl dpkg-dev unzip
# Gftp. Cliente de FTP.
#sudo apt-get install -y –force-yes gftp
# NTFS. Solo necesario si tenemos Windows en el mismo ordenador y queremos acceder a esos datos.
sudo apt-get install -y –force-yes ntfs-config
# Instalar SSH
sudo apt-get install -y –force-yes ssh
# Opera. Navegador web, muy rapido y compatible con estandares.
#sudo apt-get install -y –force-yes opera
# Samba. Para acceder a recursos compartidos y compartir recursos con maquinas Windows.
#sudo apt-get install -y –force-yes smbfs
# sshfs. Perm -fite montar sistemas de ficheros sobre conexiones ssh. Imprescindible para mi­.
#sudo apt-get install -y –force-yes sshfs
# Pybackpack: Backup de tu configuracion linux
sudo apt-get install -y –force-yes pybackpack
# Unison: Sincronizador de directorios
sudo apt-get install -y –force-yes unison-gtk
# install -y –force-yes fcrackzip in Ubuntu
sudo apt-get install -y –force-yes fcrackzip
# Wicd. El mejor gestor de Wireless. Desinstala el network-manager autometicamente
#sudo apt-get install -y –force-yes wicd
# In GNOME, to get the tray icon to automatically appear at boot, go to System > Preferences > Sessions. In the “Startup Programs” tab, click the “New” button. Give it a name (“Wicd” works fine). For the command, enter “/opt/wicd/tray.py”.
# Se puede automatizar el texto anterior con…
# sudo echo “## Wicd” >> /etc/rc.local
# sudo echo “sudo /opt/wicd/daemon.py” >> /etc/rc.local
# Openoffice a la maxima potencia
sudo apt-get install -y –force-yes openoffice.org-help-es openoffice.org-l10n-es openoffice.org-presentation-minimizer
# Cliente DynDNS
sudo apt-get install -y –force-yes ddclient
# Virtualbox
sudo apt-get install -y –force-yes virtualbox-ose virtualbox-ose-modules-generic
sudo apt-get install -y –force-yes build-essential linux-headers-`uname -r`
sudo adduser $USER vboxusers
# Para finalizar: Desde Sistema -> Preferencias -> Configuración de acciones de Nautilus hay que importar el archivo pasteroot.schemas pulsando el botón de Importar/Exportar.
# Se puede hacer manuallmente de la siguiente form -fa:
# Sistema > Administracion > Usuarios y grupos
# Le damos al boton desbloquear, ingresamos nuestra password cuando nos pide y apretamos el boton Gestionar grupos, seleccionamos vboxusers y apretamos el boton Propiedades, tildamos nuestro usuario.
#
# Habilitar USB en VirtualBox. Obtenido de: http://ubuntulife.wordpress.com/2008/04/30/como-instalar-virtualbox-en-ubuntu-804-hardy-heron-con-soporte-de-usb-en-5-sencillos-pasos/
#sudo gedit /etc/init.d/mountdevsubfs.sh
# buscamos esta seccion en el archivo de texto y desde la li­nea 42 hasta la 45 (las cuatro ultimas) borramos el signo “#”:
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount –rbind /dev/bus/usb /proc/bus/usb
# Reinciamos la sesion y podemos ejecutar Virtualbox con soporte a dispositivos USB 
# Si surgen problemas con algun USB…
# sudo gedit /etc/udev/rules.d/40-perm -fissions.rules
# y cambia la siguiente li­nea
# SUBSYSTEM==”usb_device”, MODE=”0664″
# por
# SUBSYSTEM==”usb_device”, MODE=”0666″
# Tambii©n
# sudo gedit -w /etc/fstab
# y luego agrega al final de todo estas li­neas
# #usbfs
# none /proc/bus/usb usbfs devgid=46,devmode=664 0 0acroread
# Sistema > Administracion > Soporte de idiomas, en la ventana marca la casilla “Habilitar el soporte para introducir caracteres complejos” Reinicia la pc y ya podres escribir los caracteres acentuados en la mequina virtual.
# IMPRESCINDIBLE: Reiniciar sesion ANTES de usar VirtualBox
# Acciones en Nautilus
sudo apt-get install -y –force-yes xsel nautilus-actions
wget http://nautilus-actions.javielinux.com/pasteroot/PasteRoot.py
wget http://nautilus-actions.javielinux.com/pasteroot/pasteroot.schemas
sudo cp PasteRoot.py /usr/bin
# Instaladores en código fuente y convertidor RPM-s
# Se usa de la siguiente manera: sudo alien -scripts -install -y –force-yes PAQUETE.RPM
sudo apt-get install -y –force-yes alien libxml1 libpng3
# Sincronizador de datos con dispositivos móviles y otros programas.
#wget http://www.getdeb.net/download/2758/0
#sudo dpkg -i conduit_0.3.11.2-0~getdeb1_all.deb
#sudo apt-get -f install -y –force-yes
#sudo rm -f conduit_0.3.11.2-0~getdeb1_all.deb
sudo apt-get install -y –force-yes conduit
# ubuntu Tweak. Configura facilmente Ubuntu.
wget http://www.getdeb.net/download/2889/0
sudo dpkg -i ubuntu-tweak_0.3.4-0~getdeb1_all.deb
rm -f ubuntu-tweak_0.3.4-0~getdeb1_all.deb
#=========================================================================================================#
## Aspecto ##
#=========================================================================================================#
# Screenlets. Objetos en pantalla
sudo apt-get purge -y –force-yes screenlets
sudo apt-get install -y –force-yes screenlets
# Avant-Window. Dock tipo Mac
sudo apt-get install -y –force-yes avant-window-navigator
#=========================================================================================================#
## Internet ##
#=========================================================================================================#
# Java. Runtime de Java, necesario para applets y miles de otras cosas.
sudo apt-get install -y –force-yes sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin
# Firefox. Complementos
sudo apt-get install -y –force-yes mozilla-firefox-locale-es-es mozilla-acroread mozilla-plugin-vlc mozilla-mplayer
# Gnash. La alternativa libre a flash
sudo apt-get purge -y –force-yes flashplugin-nonfree
sudo apt-get install -y –force-yes mozilla-plugin-gnash
# Flash Player. Plugin de Adobe para ver animaciones flash dentro del navegador.
#wget http://launchpadlibrarian.net/13470096/nspluginwrapper_0.9.91.5-2ubuntu2_i386.deb
#sudo dpkg -i nspluginwrapper_0.9.91.5-2ubuntu2_i386.deb
#rm -f nspluginwrapper_0.9.91.5-2ubuntu2_i386.deb
#wget http://gwenole.beauchesne.info/projects/nspluginwrapper/files/nspluginwrapper-1.0.0-1.x86_64.rpm
#sudo alien -scripts -install -y –force-yes nspluginwrapper-1.0.0-1.x86_64.rpm
#sudo apt-get install -y –force-yes libflashsupport
#sudo apt-get purge -y –force-yes flashplugin-nonfree
#sudo apt-get install -y –force-yes flashplugin-nonfree
#rm -f nspluginwrapper-1.0.0-1.x86_64.rpm
# Mozilla Thunderbird. Cliente de email.
# sudo apt-get install -y –force-yes mozilla-thunderbird thunderbird-locale-es-es mozilla-thunderbird-enigmail
# Bajar videos de YouTube
wget http://bashterritory.com/pytube/index.php?option=com_remository&Itemid=26&func=fileinfo&id=1
sudo dpkg -i pytube_0.0.10.8-1_all.deb
rm -f pytube_0.0.10.8-1_all.deb
#=========================================================================================================#
## Desarrollo ##
#=========================================================================================================#
# Eclipse
#sudo apt-get install -y –force-yes eclipse
#Desarrollo .NET
#sudo apt-get install -y –force-yes gambas2
#=========================================================================================================#
## Seguridad ##
#=========================================================================================================#
# Sensores de temperaturas y configuracion.
sudo aptitude install -y –force-yes sensors-applet lm-sensors hddtemp
sudo sensors-detect
# Instalar ToR y Privoxy
sudo apt-get install -y –force-yes tor privoxy qt4-dev-tools qt4-designer
echo ‘#’ | sudo tee -a /etc/privoxy/config
echo ‘forward-socks4a / localhost:9050 .’ | sudo tee -a /etc/privoxy/config
echo ‘#’ | sudo tee -a /etc/privoxy/config
echo ‘logfile logfile’ | sudo tee -a /etc/privoxy/config
echo ‘jarfile jarfile’ | sudo tee -a /etc/privoxy/config
sudo chmod a+rw /var/log/privoxy/errorfile
/etc/init.d/privoxy restart
# Vidalia. Gestor gráfico para manejar TOR
#wget http://www.vidalia-project.net/dist/vidalia-0.1.5.tar.gz
#tar zxvf vidalia-0.1.5.tar.gz
#cd vidalia-0.1.5
#export QMAKE=/usr/bin/qmake-qt4
#./configure –disable-debug
#make
#sudo make install
sudo apt-get install -y –force-yes vidalia
# Para optimizarlo (Parece que no funciona en xubuntu)…
# gedit ~/.vidalia/torrc
# añadir al principio …
# # Set the Tor Circuit Build time to find faster tor servers, increments of seconds
# CircuitBuildTimeout 2
# # connections while Tor is not in use.
# KeepalivePeriod 60
# # Force Tor to consider whether to build a new circuit every NUM seconds.
# NewCircuitPeriod 15
# # Set How many entry guards we should we keep at a time
# NumEntryGuards 8
#=========================================================================================================#
## Optimizar linux ##
#=========================================================================================================#
# Reducir despliegue del menu
rm -f ~/.gtkrc-2.0
echo ‘gtk-menu-popup-delay = 100’ >> ~/.gtkrc-2.0
# Cachear iconos del menu
find /usr/share/pixmaps/ | xargs cat > /dev/null
find /usr/share/icons/Human/ | xargs cat > /dev/null
# Fuentes suavizadas
rm -f ~/.fonts.conf
echo ” >> ~/.fonts.conf
echo ” >> ~/.fonts.conf
echo ” >> ~/.fonts.conf
echo ‘ ‘ >> ~/.fonts.conf
echo ‘ ‘ >> ~/.fonts.conf
echo ‘ true’ >> ~/.fonts.conf
echo ‘ ‘ >> ~/.fonts.conf
echo ‘ ‘ >> ~/.fonts.conf
echo ” >> ~/.fonts.conf
# Optimizar conexión de redes
# Para eliminar esta optimización hacer: sudo cp -f /etc/sysctl.conf.old /etc/sysctl.conf y ejecutar sudo sysctl -p
sudo cp -f /etc/sysctl.conf /etc/sysctl.conf.old
sudo echo ‘## increase TCP max buffer size setable using setsockopt()’ >> /etc/sysctl.conf
sudo echo ‘net.core.rmem_max = 16777216’ >> /etc/sysctl.conf
sudo echo ‘net.core.wmem_max = 16777216’ >> /etc/sysctl.conf
sudo echo ‘## increase Linux autotuning TCP buffer limits’ >> /etc/sysctl.conf
sudo echo ‘## min, default, and max number of bytes to use’ >> /etc/sysctl.conf
sudo echo ‘## set max to at least 4MB, or higher if you use very high BDP paths’ >> /etc/sysctl.conf
sudo echo ‘net.ipv4.tcp_rmem = 4096 87380 16777216’ >> /etc/sysctl.conf
sudo echo ‘net.ipv4.tcp_wmem = 4096 65536 16777216’ >> /etc/sysctl.conf
sudo echo “## don’t cache ssthresh from previous connection” >> /etc/sysctl.conf
sudo echo ‘net.ipv4.tcp_no_metrics_save = 1’ >> /etc/sysctl.conf
sudo echo ‘net.ipv4.tcp_moderate_rcvbuf = 1’ >> /etc/sysctl.conf
sudo echo ‘## recommended to increase this for 1000 BT or higher’ >> /etc/sysctl.conf
sudo echo ‘net.core.netdev_max_backlog = 2500’ >> /etc/sysctl.conf
sudo echo ‘## for 10 GigE, use this, uncomment below’ >> /etc/sysctl.conf
sudo echo ‘## net.core.netdev_max_backlog = 30000’ >> /etc/sysctl.conf
sudo echo “## Turn off timestamps if you’re on a gigabit or very busy network” >> /etc/sysctl.conf
sudo echo ‘## Having it off is one less thing the IP stack needs to work on’ >> /etc/sysctl.conf
sudo echo ‘## net.ipv4.tcp_timestamps = 0’ >> /etc/sysctl.conf
sudo echo ‘## disable tcp selective acknowledgements.’ >> /etc/sysctl.conf
sudo echo ‘net.ipv4.tcp_sack = 0’ >> /etc/sysctl.conf
sudo echo ‘##enable window scaling’ >> /etc/sysctl.conf
sudo echo ‘net.ipv4.tcp_window_scaling = 1’ >> /etc/sysctl.conf
sudo sysctl -p
# Limpiar paquetes obsoletos
sudo deborphan | xargs sudo apt-get -y remove –purge
# Limpiador de ficheros inutiles
sudo apt-get install -y –force-yes localepurge
# Prefetch para Linux
sudo apt-get install -y –force-yes preload
# Referencias: http://portallinux.wordpress.com/

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s


A %d blogueros les gusta esto: