Last active
September 23, 2022 20:35
-
-
Save v1nc/500c779702b5e697eb644373ceaa0573 to your computer and use it in GitHub Desktop.
Pocket C.H.I.P. Setup(use wget cutt.ly/chip-setup)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#first flash latest firmware: https://medium.com/@0x1231/nextthingco-pocket-c-h-i-p-flashing-guide-3445492639e | |
#change to mirror repo and update | |
sudo sed -i 's/opensource.nextthing.co/chip.jfpossibilities.com/g' /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get dist-upgrade -y | |
#update to stretch | |
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get dist-upgrade -y | |
sudo apt-get autoremove -y | |
sudo reboot | |
#prepare tools | |
sudo apt-get install \ | |
git \ | |
build-essential \ | |
libasound2-dev \ | |
libx11-dev \ | |
libxrandr-dev \ | |
libxcursor-dev \ | |
libxft-dev \ | |
libxinerama-dev \ | |
libnm-glib-dev \ | |
network-manager-dev \ | |
libi2c-dev \ | |
libssl-dev \ | |
libnm-gtk-dev \ | |
zsh \ | |
libsdl1.2-dev \ | |
libsdl2-dev \ | |
libboost-system-dev \ | |
libboost-filesystem-dev \ | |
libboost-date-time-dev \ | |
libfreeimage-dev \ | |
libfreetype6-dev \ | |
libeigen3-dev \ | |
libcurl4-openssl-dev \ | |
libasound2-dev \ | |
libgl1-mesa-dev \ | |
cmake build-essential \ | |
pkg-config \ | |
locales \ | |
openssh-server \ | |
rsync \ | |
install aircrack-ng -y | |
dpkg-reconfigure tzdata | |
locale-gen en_US en_US.UTF-8 | |
#build marshmello launcher | |
git clone --recursive https://github.com/o-marshmallow/PocketCHIP-pocket-home/ | |
make | |
make devinstall | |
sudo systemctl restart lightdm | |
#install retroarch | |
git clone https://github.com/PocketChipCommunity/RetroArch | |
cd RetroArch | |
./configure --prefix=/home/chip/retroarch --enable-opengles --disable-oss --disable-sdl --disable-ffmpeg --disable-vg --disable-cg --enable-neon --enable-floathard --disable-wayland --disable-pulse --enable-dylib --enable-hid --enable-zlib --enable-7zip | |
make && make install | |
#install ohmyzsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment