Skip to content

Instantly share code, notes, and snippets.

@planetceres
Last active July 8, 2020 16:46
Show Gist options
  • Save planetceres/454a110f2440304563179fec6488ecaa to your computer and use it in GitHub Desktop.
Save planetceres/454a110f2440304563179fec6488ecaa to your computer and use it in GitHub Desktop.
Install Deepkit Linux

Install Deepkit

curl https://gist.githubusercontent.com/planetceres/454a110f2440304563179fec6488ecaa/raw/be076725bc1b61c2e422d781379fedaba6e4868a/install_deepkit.sh > install_deepkit.sh
sudo chmod +x ./install_deepkit.sh
bash install_deepkit.sh
#!/usr/bin/env bash
APP_IMAGE=Deepkit-2020.3.1.AppImage
wget -O $APP_IMAGE https://deepkit.ai/download/file/$APP_IMAGE
sudo chmod +x ./$APP_IMAGE
./$APP_IMAGE --appimage-extract
sudo rm -r /usr/local/deepkit
sudo mkdir -p /usr/local/deepkit
sudo mv squashfs-root/* /usr/local/deepkit
sudo rm -r squashfs-root
sudo mkdir -p /usr/local/bin
sudo rm -r /usr/local/bin/deepkit
sudo ln -s /usr/local/deepkit/deepkit /usr/local/bin/deepkit
sudo mkdir -p /usr/share/applications
curl https://gist.githubusercontent.com/planetceres/60fd1d047312dba42eb755155d148e51/raw/50d0b2f53296c9e5a3ed0996f4d19a0569616e07/deepkit.desktop > deepkit.desktop
sudo cp deepkit.desktop /usr/share/applications
sudo mkdir -p /usr/share/icons/hicolor/0x0/apps
sudo cp /usr/local/deepkit/deepkit.png /usr/share/icons/hicolor/0x0/apps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment