Skip to content

Instantly share code, notes, and snippets.

@paultsr
Created September 24, 2017 07:15
Show Gist options
  • Save paultsr/90f49d0cafaf77f196ccaada73881a19 to your computer and use it in GitHub Desktop.
Save paultsr/90f49d0cafaf77f196ccaada73881a19 to your computer and use it in GitHub Desktop.
Debian 9 post-install
#Script para configurar debian 9 (stretch)
#No está automatizado, para revisar las instalaciones y prevenir errores
##Incluye instalación de:
###Drivers NVIDIA
###Wine (Activado desde repositorios)
###Spotify de repositorio externo
###Autodesk Maya 2017 (modificar rutas cd para otros usuarios)
### COMPILACIÓN ###
apt-get install aptitude linux-headers-$(uname -r) build-essential checkinstall make automake cmake autoconf git git-core apmd firmware-linux firmware-realtek gcc libssl-dev libjpeg62 alien csh tcsh libaudiofile-dev libglw1-mesa elfutils libglw1-mesa-dev mesa-utils xfstt ttf-liberation xfonts-100dpi xfonts-75dpi libfam0 libfam-dev
### MULTIARQUITECTURA ###
dpkg --add-architecture i386 && apt-get update && apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 libgl1-nvidia-glx:i386
### NVIDIA ###
apt-get install nvidia-detect nvidia-driver
### SOLUCIONAR DESCARGAS INESTABLES STEAM ###
apt-get install dnsmasq resolvconf
### MULTIMEDIA ###
apt-get install libdvdcss2
dpkg-reconfigure libdvd-pkg
### FUENTES ###
apt-get install ttf-freefont ttf-mscorefonts-installer ttf-bitstream-vera ttf-dejavu ttf-liberation
### DESCOMPRESORES ###
apt-get install bzip2 zip unzip unace rar unace p7zip p7zip-full p7zip-rar unrar lzip lhasa arj sharutils mpack lzma lzop cabextract
### APLICACIONES ###
apt-get install arc-theme numlockx preload aptitude openshot openexr gimp audacious darktable calibre gnome-contacts gnome-calendar steam easytag
### WINE ###
apt-get install --install-recommends winehq-staging
### SPOTIFY ###
apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
apt-get update
apt-get install spotify-client
### AUTODESK MAYA 2017 ###
cd Escritorio
mkdir -p maya2017Install
cd maya2017Install
wget http://edutrial.autodesk.com/NET17SWDLD/2017/MAYA/ESD/Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
tar xvf Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
alien -cv *.rpm
dpkg -i *.deb
echo "int main (void) {return 0;}" > mayainstall.c
gcc mayainstall.c
mv /usr/bin/rpm /usr/bin/rpm_backup
cp a.out /usr/bin/rpm
chmod +x ./setup
./setup
rm /usr/bin/rpm
mv /usr/bin/rpm_backup /usr/bin/rpm
cd
cd /home/sergio/Escritorio
rm -R maya2017Install
ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5 /usr/lib/libtiff.so.3
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10
### UPDATE, CLEAN & PURGE ###
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt autoremove
apt clean
aptitude purge ~c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment