OSE Linux: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Ray moved page OSE Linux to OSE Linux - 2.0 version from 2020: Creating new main page for OSE Linux 2025)
Tag: New redirect
 
(OSE Linux 2025 documentation)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[OSE Linux - 2.0 version from 2020]]
# OSE Linux 2025
 
OSE Linux 2025 is based on Linux Mint 22.1 LTS. Using [[Cubic]], the OSE software suite in installed with the following script:
 
<syntaxhighlight lang="bash">
 
# PPA's
apt-add-repository -y ppa:cubic-wizard/release
add-apt-repository -y ppa:ubuntuhandbook1/gimp-3
add-apt-repository -y ppa:obsproject/obs-studio
 
# OSE package dependencies
 
apt update && apt upgrade -y && apt install -y apt-transport-https curl extrepo gnupg libcups2-dev libgegl-0.4-0t64 libbabl-0.1-0 lsb-release magic-wormhole ngspice python3-pip python3-pyqt5 python3-setuptools python3-pyqt5.qtsvg pipx software-properties-common vim wget
 
# OSE software suite base
apt install -y arduino audacity blender cubic dxf2gcode extrepo fritzing gmsh gimp handbrake inkscape kdenlive keepassxc kicad librecad meshlab obs-studio openscad qgis simplescreenrecorder sweethome3d transmission virtualbox vokoscreen
 
# GPG-based installs
 
curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable noble main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null && apt update && apt install -y gz-harmonic
 
echo 'deb http://download.opensuse.org/repositories/home:/ra3xdh/xUbuntu_24.04/ /' | tee /etc/apt/sources.list.d/home:ra3xdh.list && curl -fsSL https://download.opensuse.org/repositories/home:ra3xdh/xUbuntu_24.04/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_ra3xdh.gpg > /dev/null && apt update && apt install -y qucs-s
 
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg && install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg && sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' && apt update && apt install -y code
 
# VS Code extensions: visit https://marketplace.visualstudio.com/VSCode and get official name of each extension, then add via command line
 
mkdir -p ~/.config && code --install-extension ms-python.python --no-sandbox --user-data-dir ~/.config/Code && code --install-extension LittleFoxTeam.vscode-python-test-adapter --no-sandbox --user-data-dir ~/.config/Code && code --install-extension njpwerner.autodocstring --no-sandbox --user-data-dir ~/.config/Code
 
# replace firefox with librewolf
 
apt remove -y firefox && extrepo enable librewolf
 
# install FreeCAD
 
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak install flathub org.freecadweb.FreeCAD -y
 
# Cura LE - note: see https://askubuntu.com/questions/1328196/how-can-i-create-a-desktop-entry-for-an-appimage
 
cd /usr/local/bin && wget https://software.lulzbot.com/Cura_LulzBot_Edition/Linux/4.13.17/Cura_LulzBot_Edition-4.13.17.AppImage && chmod +x Cura_LulzBot_Edition-4.13.17.AppImage && Cura_LulzBot_Edition-4.13.17.AppImage --appimage-extract && cp squashfs-root/cura-lulzbot.desktop ~/.local/share/applications && rm -rf squashfs-root
 
# inkcut extension for inkscape
 
pipx install inkcut && pipx ensurepath
 
# /etc/skel setup
 
cp -r .config /etc/skel && cp -r .local /etc/skel && cp -r .vscode /etc/skel
 
# final update
 
apt update && apt upgrade -y
 
# manually set up desktop backgrounds
 
</syntaxhighlight>

Revision as of 20:38, 10 August 2025

  1. OSE Linux 2025

OSE Linux 2025 is based on Linux Mint 22.1 LTS. Using Cubic, the OSE software suite in installed with the following script:

<syntaxhighlight lang="bash">

  1. PPA's

apt-add-repository -y ppa:cubic-wizard/release add-apt-repository -y ppa:ubuntuhandbook1/gimp-3 add-apt-repository -y ppa:obsproject/obs-studio

  1. OSE package dependencies

apt update && apt upgrade -y && apt install -y apt-transport-https curl extrepo gnupg libcups2-dev libgegl-0.4-0t64 libbabl-0.1-0 lsb-release magic-wormhole ngspice python3-pip python3-pyqt5 python3-setuptools python3-pyqt5.qtsvg pipx software-properties-common vim wget

  1. OSE software suite base

apt install -y arduino audacity blender cubic dxf2gcode extrepo fritzing gmsh gimp handbrake inkscape kdenlive keepassxc kicad librecad meshlab obs-studio openscad qgis simplescreenrecorder sweethome3d transmission virtualbox vokoscreen

  1. GPG-based installs

curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable noble main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null && apt update && apt install -y gz-harmonic

echo 'deb http://download.opensuse.org/repositories/home:/ra3xdh/xUbuntu_24.04/ /' | tee /etc/apt/sources.list.d/home:ra3xdh.list && curl -fsSL https://download.opensuse.org/repositories/home:ra3xdh/xUbuntu_24.04/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_ra3xdh.gpg > /dev/null && apt update && apt install -y qucs-s

wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg && install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg && sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list' && apt update && apt install -y code

  1. VS Code extensions: visit https://marketplace.visualstudio.com/VSCode and get official name of each extension, then add via command line

mkdir -p ~/.config && code --install-extension ms-python.python --no-sandbox --user-data-dir ~/.config/Code && code --install-extension LittleFoxTeam.vscode-python-test-adapter --no-sandbox --user-data-dir ~/.config/Code && code --install-extension njpwerner.autodocstring --no-sandbox --user-data-dir ~/.config/Code

  1. replace firefox with librewolf

apt remove -y firefox && extrepo enable librewolf

  1. install FreeCAD

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak install flathub org.freecadweb.FreeCAD -y

  1. Cura LE - note: see https://askubuntu.com/questions/1328196/how-can-i-create-a-desktop-entry-for-an-appimage

cd /usr/local/bin && wget https://software.lulzbot.com/Cura_LulzBot_Edition/Linux/4.13.17/Cura_LulzBot_Edition-4.13.17.AppImage && chmod +x Cura_LulzBot_Edition-4.13.17.AppImage && Cura_LulzBot_Edition-4.13.17.AppImage --appimage-extract && cp squashfs-root/cura-lulzbot.desktop ~/.local/share/applications && rm -rf squashfs-root

  1. inkcut extension for inkscape

pipx install inkcut && pipx ensurepath

  1. /etc/skel setup

cp -r .config /etc/skel && cp -r .local /etc/skel && cp -r .vscode /etc/skel

  1. final update

apt update && apt upgrade -y

  1. manually set up desktop backgrounds

</syntaxhighlight>