Skip to content

Instantly share code, notes, and snippets.

@giosave
Last active September 20, 2020 05:28
Show Gist options
  • Save giosave/3adef861cd720177d0e1fa564380e153 to your computer and use it in GitHub Desktop.
Save giosave/3adef861cd720177d0e1fa564380e153 to your computer and use it in GitHub Desktop.
###### Inicial linux ######
sudo apt-get install libsdl2-dev qtbase5-dev libqt5opengl5-dev qtmultimedia5-dev libfdk-aac-dev build-essential cmake pkg-config git libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libenet-dev libgtk2.0-dev liblzo2-dev libminiupnpc-dev libopenal-dev libpulse-dev libreadline-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev portaudio19-dev zlib1g-dev libudev-dev libevdev-dev libcurl4-openssl-dev libegl1-mesa-dev libpng-dev qtbase5-private-dev
sudo apt-get install freeglut3-dev libodbc1 lib32stdc++6 libglu1-mesa:i386 libgl1-mesa-glx:i386 libodbc1 lib32stdc++6 git-all libglu1-mesa:i386
sudo dpkg --install
sudo apt install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 python-apt cpu-checker
sudo apt install libsdl2-2.0-0:i386 libva-drm2:i386 libva-x11-2:i386 libva2:i386 (arreglar wine)
sudo apt install libqt5x11extras5 //problema virtualbox
sudo apt curl
sudo apt composer php7.2 composer maria* curl apache2 php7.2-xml php7.2-mysql php7.2-xml php7.2-mysql //PHP
//--sudo apt install libodbc1
//--sudo apt-get install lib32stdc++6
//--sudo apt install git-all
//--sudo apt-get install libglu1-mesa:i386
//--sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
//--sudo apt install python-apt //error steam
//--sudo apt install cpu-checker
###### WINE INSTALL ######
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key //mensaje "ok"
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' //select version distro
//sudo apt install libasound2-plugins:i386(error wine-stable-i386:i386)
sudo apt install wine64
sudo apt install wine-stable-amd64
sudo apt install wine-stable-i386:i386
sudo apt install wine-stable
sudo apt install --install-recommends winehq-stable
###### WINE AFTER INSTALLATION ######
winecfg
WINEPREFIX=$HOME/wine32 WINEARCH=win32 wineboot //init
WINEPREFIX=$HOME/wine32 WINEARCH=win32 winecfg //Select windows xp en windows XP
wget 'http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe'
WINEPREFIX=$HOME/wine32 WINEARCH=win32 wine dotNetFx40_Full_x86_x64.exe /q && WINEPREFIX=$HOME/wine32 WINEARCH=win32 wineserver -k
WINEPREFIX=$HOME/wine32 winecfg //colocar en Windows 7 y escribir en Librerias mscoree
wget 'http://download.microsoft.com/download/9/E/6/9E63300C-0941-4B45-A0EC-0008F96DD480/NDP471-KB4033342-x86-x64-AllOS-ENU.exe'
WINEPREFIX=$HOME/wine32 WINEARCH=win32 wine NDP471-KB4033342-x86-x64-AllOS-ENU.exe /q && WINEPREFIX=$HOME/wine32 WINEARCH=win32 wineserver -k
sudo apt-get install winetricks
WINEPREFIX=$HOME/wine32 WINEARCH=win32 winetricks msxml6 vcrun2008 vcrun2010 vcrun2012 gdiplus corefonts vcrun6sp6 xact mdac28 jet40 dotnet46
vcrun2003 vcrun2005 vcrun2008 vcrun2010 vcrun2012 vcrun2017 gdiplus corefonts vb2run vb3run
vb4run vb5run vb6run vcrun6 vcrun6sp6 xact
###### VULKAN ######
sudo dpkg --add-architecture i386
sudo apt install libvulkan1 libvulkan1:i386
###### Permisos File/Folder/Disk ######
###### Look Android virtual ######
kvm-ok
egrep -c "(vmx|svm)" /proc/cpuinfo ~////(look cpu)
###### PERMISO DE KVM ######
sudo apt install qemu-kvm
sudo adduser <username> kvm
sudo chown <username> /dev/kvm
###### Add user Virtual Android ######
sudo adduser <tu usuario> kvm && sudo adduser <tu usuario> libvirtd
sudo chown <username> /dev/kvm
####### INSTALAR FILMORA
descargar
instalar con wine
despues en la configuracion de wine desactivar la opcion de permitir ventana
y agregar las librerias
msvcr1120.dll
opencl.dll
###### TERMINAL FISH ######
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install fish
curl -L https://get.oh-my.fish | fish
###### INTEL SCREEN DEFAULT ######
lspci -nn | egrep -i "3d|display|vga"
sudo mkdir /etc/X11/xorg.conf.d
sudo nano /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection
###### SYMFONY ######
wget https://get.symfony.com/cli/installer -O - | bash
###### FLUTTER ######
sudo nano ~/.bashrc
export PATH="$PATH:/home/user/flutter/bin"
source ~/.bashrc
----alternativa
$HOME/.bashrc.
export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"
source $HOME/.bashrc
------example, solution ANDROID-LICENSES-----
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_231
export PATH=$JAVA_HOME/bin:$PATH
export PATH="$PATH:/home/user/flutter/bin"
###### ANDROID_HOME
--desde otra ruta
export ANDROID_HOME=/media/gio/LinuxData/Programs/Sdk_Android
export PATH=$PATH:$ANDROID_HOME/tools
###### JAVA_HOME
sudo apt install openjdk-11-jre-headless ///crea carpeta de lib
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html //archivo extraer y pegar en ruta
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_231
export PATH=$JAVA_HOME/bin:$PATH
export PATH="$PATH:/home/user/tools/bin"
###### MYSQL ######
sudo mysql_secure_installation ////???{ after install mysql }
sudo mysql
CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost' WITH GRANT OPTION;
###### TERMINAL FISH ######
sudo apt-add-repository ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install fish
curl -L https://get.oh-my.fish | fish
curl -L https://get.oh-my.fish > install
###### LUTRIS ######
sudo add-apt-repository ppa:lutris-team/lutris
sudo apt-get update
sudo apt-get install lutris
###### BASIC ######
tar -zxvf O tar-xzf [File]
------------------------
cat [file.txt]
cat -n [file.txt] ////???(number line)
------------------------
history
history -c ////???(clean commands)
------------------------
sudo apt-get clean
sudo apt-get autoremove & apt-get autoclean
sudo apt-get remove
sudo apt-get purge
------------------------
**Fix packages
sudo apt-get update –fix-missing
sudo dpkg –configure -a
sudo apt-get install -f
sudo apt --fix-broken install
------------------------
**Example remove ppa / repository
sudo add-apt-repository --remove ppa:shutter/ppa
sudo add-apt-repository -r ppa:nilarimogard/webupd8
sudo apt-get remove virtualbox* --purge
^^^^^References^^^^^////???{ }
https://lutris.net/ ////???{ lutris}
https://wiki.winehq.org/Ubuntu ////???{wineUBUNTU }
https://www.playonlinux.com/es/download.html ////???{ playlinux}
https://github.com/lutris/lutris/wiki/Installing-drivers ////???{ video_install }
https://ubunlog.com/kvm-acelera-android-studio/
https://ubunlog.com/como-instalar-kvm-en-ubuntu/
https://help.ubuntu.com/lts/serverguide/libvirt.html
https://medium.com/@aarnlpezsosa/instalaci%C3%B3n-de-java-jdk-y-configuraci%C3%B3n-de-java-home-en-ubuntu-18-04-f3307c07328
@giosave
Copy link
Author

giosave commented Aug 19, 2020

usar comando para WINE por error de libfaudio0
sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

sudo apt update && sudo apt install --install-recommends winehq-stable

REFERENCIAS
http://ubuntuhandbook.org/index.php/2020/01/install-wine-5-0-stable-ubuntu-18-04-19-10/

@giosave
Copy link
Author

giosave commented Aug 19, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment