Last active
January 29, 2025 21:09
-
-
Save john-clark/ac48a069e9a5a2c3d8c04bc89dc6b912 to your computer and use it in GitHub Desktop.
vice deb12
This file contains hidden or 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
#!/bin/sh | |
di() { | |
for deb_file in "$@"; do | |
local package_name=$(basename "$deb_file" | cut -d'_' -f1) | |
if dpkg -l | grep -q "^ii $package_name "; then | |
echo "$package_name is already installed, skipping installation." | |
else | |
dpkg -i "$deb_file" | |
fi | |
done | |
} | |
wg() { | |
set -e | |
local url=$1 | |
local filename=$(basename "$url") | |
if [ -f "$filename" ]; then | |
echo "$filename already exists, skipping download." | |
else | |
wget "$url" | |
fi | |
set +e | |
} | |
ai() { | |
for package in "$@"; do | |
if apt list --installed 2>/dev/null | grep -q "^$package/"; then | |
echo "$package is already installed, skipping installation." | |
else | |
apt install -y "$package" | |
fi | |
done | |
} | |
wg https://versaweb.dl.sourceforge.net/project/vice-emu/releases/binaries/debian/gtk3vice_3.9.deb | |
wg http://security.debian.org/debian-security/pool/updates/main/f/flac/libflac8_1.3.3-2+deb11u2_amd64.deb | |
wg http://ftp.debian.org/debian/pool/main/g/gcc-12/libstdc++6_12.2.0-14_amd64.deb | |
wg http://ftp.debian.org/debian/pool/main/g/glibc/libc6_2.40-6_amd64.deb | |
di libstdc++6_12.2.0-14_amd64.deb libc6_2.38-1_amd64.deb libflac8_1.3.3-2+deb11u3_amd64.deb | |
# Adding my software | |
ai libportaudio2 libgif7 libpcap0.8 libcurl4 libudev-dev libglew-dev libieee1284-3 libportaudio2 libgl1-mesa-dev libglu1-mesa-dev libglew-dev libglfw3-dev | |
di gtk3vice_3.9.deb |
This file contains hidden or 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
#!/bin/bash | |
# install 3.8 - latest vice | |
sudo apt-get remove vice | |
rm -rf /usr/share/vice/ | |
#wget https://psychz.dl.sourceforge.net/project/vice-emu/releases/binaries/debian/gtk3vice_3.8.deb | |
https://versaweb.dl.sourceforge.net/project/vice-emu/releases/binaries/debian/gtk3vice_3.9.deb | |
wget https://security.debian.org/debian-security/pool/updates/main/f/flac/libflac8_1.3.2-3+deb10u3_amd64.deb | |
sudo apt install libportaudio2 libgif7 libpcap0.8 | |
sudo dpkg -i libflac8_1.3.2-3+deb10u3_amd64.deb gtk3vice_3.8.deb | |
exit | |
# install 3.7 - debian official and roms | |
sudo sed -i 's/main/main contrib/' /etc/apt/sources.list | |
sudo apt install vice | |
wget https://psychz.dl.sourceforge.net/project/vice-emu/releases/binaries/windows/GTK3VICE-3.8-win64.zip | |
unzip GTK3VICE-3.8-win64.zip | |
cd vice-3.8/ | |
sudo cp GTK3VICE-3.8-win64/C64/*.bin /usr/share/vice/C64/ | |
sudo cp GTK3VICE-3.8-win64/C128/*.bin /usr/share/vice/C128/ | |
sudo cp GTK3VICE-3.8-win64/C128/kernal* /usr/share/vice/C128/ | |
sudo cp GTK3VICE-3.8-win64/PET/*.bin /usr/share/vice/PET/ | |
sudo cp GTK3VICE-3.8-win64/PLUS4/*.bin /usr/share/vice/PLUS4/ | |
sudo cp GTK3VICE-3.8-win64/DRIVES/*.bin /usr/share/vice/DRIVES/ | |
sudo cp GTK3VICE-3.8-win64/VIC20/*.bin /usr/share/vice/VIC20/ | |
sudo cp GTK3VICE-3.8-win64/SCPU64/*.bin /usr/share/vice/SCPU64/ | |
sudo cp GTK3VICE-3.8-win64/C64DTV/*.bin /usr/share/vice/C64DTV/ | |
sudo cp GTK3VICE-3.8-win64/CBM-II/*.bin /usr/share/vice/CBM-II/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment