# ~/.bashrc: executed by bash(1) for non-login shells.

# Note: PS1 and umask are already set in /etc/profile. You should not
# need this unless you want different defaults for root.
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
# umask 022

# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "`dircolors`"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'

#easystore office---------------------------------------------
function easystore-openoffice-i(){
    wget --no-check-certificate https://easyastra.ru/store/openoffice.tar.gz -P /tmp
    tar -xvf /tmp/openoffice.tar.gz -C /tmp
    dpkg -i /tmp/openoffice/DEBS/*.deb
    dpkg -i /tmp/openoffice/DEBS/desktop-integration/*.deb
    cp /tmp/openoffice/DEBS/desktop-integration/openoffice.desktop /usr/share/applications/
    cp /tmp/openoffice/DEBS/desktop-integration/openoffice4.png /usr/share/pixmaps/
    apt -y -f install
    rm /tmp/openoffice.tar.gz
    rm -r /tmp/openoffice
}

function easystore-openoffice-r(){
    apt -y remove openoffice*
    apt -y remove openoffice-*
    rm /usr/share/applications/openoffice.desktop
    rm /usr/share/pixmaps/openoffice4.png
    apt -y autoremove
}

function easystore-gnumeric-i(){
    wget --no-check-certificate https://easyastra.ru/store/gnumeric.deb -P /tmp
    dpkg -i /tmp/gnumeric.deb
    apt -y -f install
    rm /tmp/gnumeric.deb
}

function easystore-gnumeric-r(){
    apt -y remove gnumeric
    apt -y autoremove
}

function easystore-libreoffice-i(){
    apt -y install libreoffice libreoffice-kde5 libreoffice-astra libreoffice-kf5 libreoffice-base libreoffice-l10n-ru libreoffice-base-core libreoffice-math libreoffice-base-drivers libreoffice-mysql-connector libreoffice-calc libreoffice-plasma libreoffice-common libreoffice-qt5 libreoffice-core libreoffice-report-builder-bin libreoffice-draw libreoffice-sdbc-hsqldb libreoffice-gtk3 libreoffice-sdbc-mysql libreoffice-help-common libreoffice-style-breeze libreoffice-help-ru libreoffice-style-colibre libreoffice-impress libreoffice-writer libreoffice-java-common
    apt -y -f install
}

function easystore-libreoffice-r(){
    apt -y remove libreoffice libreoffice-kde5 libreoffice-astra libreoffice-kf5 libreoffice-base libreoffice-l10n-ru libreoffice-base-core libreoffice-math libreoffice-base-drivers libreoffice-mysql-connector libreoffice-calc libreoffice-plasma libreoffice-common libreoffice-qt5 libreoffice-core libreoffice-report-builder-bin libreoffice-draw libreoffice-sdbc-hsqldb libreoffice-gtk3 libreoffice-sdbc-mysql libreoffice-help-common libreoffice-style-breeze libreoffice-help-ru libreoffice-style-colibre libreoffice-impress libreoffice-writer libreoffice-java-common
    apt -y autoremove
}

function easystore-masterpdf-i(){
    wget --no-check-certificate https://easyastra.ru/store/master-pdf-editor.deb -P /tmp
    dpkg -i /tmp/master-pdf-editor.deb
    apt -y -f install
    rm /tmp/master-pdf-editor.deb
}

function easystore-masterpdf-r(){
    apt -y remove master-pdf-editor-5
    apt -y autoremove
}

function easystore-onlyoffice-i(){
    wget --no-check-certificate https://easyastra.ru/store/onlyoffice-desktopeditors.deb -P /tmp
    dpkg -i /tmp/onlyoffice-desktopeditors.deb
    apt -y -f install
    rm /tmp/onlyoffice-desktopeditors.deb
}

function easystore-onlyoffice-r(){
    apt -y remove onlyoffice-desktopeditors
    apt -y autoremove
}

function easystore-kate-i(){
    apt -y install kate
    apt -y -f install
}

function easystore-kate-r(){
    apt -y remove kate
    apt -y autoremove
}

function easystore-gedit-i(){
    apt -y install gedit
    apt -y -f install
}

function easystore-gedit-r(){
    apt -y remove gedit
    apt -y autoremove
}

function easystore-scribus-i(){
    apt -y install scribus
    apt -y -f install
}

function easystore-scribus-r(){
    apt -y remove scribus
    apt -y autoremove
}

function easystore-pdfarranger-i(){
    apt -y install pdfarranger
    apt -y -f install
}

function easystore-pdfarranger-r(){
    apt -y remove pdfarranger
    apt -y autoremove
}

function easystore-weektodo-i(){
    wget --no-check-certificate https://easyastra.ru/store/weektodo.deb -P /tmp
    dpkg -i /tmp/weektodo.deb
    apt -y -f install
    rm /tmp/weektodo.deb
}

function easystore-weektodo-r(){
    apt -y remove weektodo
    apt -y autoremove
}

function easystore-wps-i(){
    wget --no-check-certificate https://easyastra.ru/store/wps-office.deb -P /tmp
    dpkg -i /tmp/wps-office.deb
    apt -y -f install
    rm /tmp/wps-office.deb
}

function easystore-wps-r(){
    apt -y remove wps-office
    apt -y autoremove
}

function easystore-r7-i(){
    wget --no-check-certificate https://easyastra.ru/store/r7-office.deb -P /tmp
    dpkg -i /tmp/r7-office.deb
    apt -y -f install
    rm /tmp/r7-office.deb
}

function easystore-r7-r(){
    apt -y remove r7-office
    apt -y autoremove
}

#easystore network---------------------------------------------------------------
function easystore-talk-i(){
    wget --no-check-certificate https://easyastra.ru/store/talk.deb -P /tmp
    dpkg -i /tmp/talk.deb
    apt -y -f install
    rm /tmp/talk.deb
}

function easystore-talk-r(){
    apt -y remove ktalk
    apt -y autoremove
}

function easystore-sferum-i(){
    wget --no-check-certificate https://easyastra.ru/store/sferum.deb -P /tmp
    dpkg -i /tmp/sferum.deb
    apt -y -f install
    rm /tmp/sferum.deb
}

function easystore-sferum-r(){
    apt -y remove sferum
    apt -y autoremove
}

function easystore-yandex-i(){
    apt -y install yandex-browser-stable
    apt -y -f install
}

function easystore-yandex-r(){
    apt -y remove yandex-browser-stable
    apt -y autoremove
}

function easystore-anydesk-i(){
    wget --no-check-certificate https://easyastra.ru/store/anydesk.deb -P /tmp
    dpkg -i /tmp/anydesk.deb
    apt -y -f install
    rm /tmp/anydesk.deb
}

function easystore-anydesk-r(){
    apt -y remove anydesk
    apt -y autoremove
}

function easystore-chromium-i(){
    apt -y install chromium-gost
    apt -y -f install
}

function easystore-chromium-r(){
    apt -y remove chromium
    apt -y autoremove
}

function easystore-discord-i(){
    wget --no-check-certificate https://easyastra.ru/store/discord.deb -P /tmp
    dpkg -i /tmp/discord.deb
    apt -y -f install
    rm /tmp/discord.deb
}

function easystore-discord-r(){
    apt -y remove discord
    apt -y autoremove
}

function easystore-edge-i(){
    wget --no-check-certificate https://easyastra.ru/store/edge.deb -P /tmp
    dpkg -i /tmp/edge.deb
    apt -y -f install
    rm /tmp/edge.deb
}

function easystore-edge-r(){
    apt -y remove microsoft-edge-stable
    apt -y autoremove
}

function easystore-epoptes-i(){
    apt -y install epoptes
    apt -y -f install
}

function easystore-epoptes-r(){
    apt -y remove epoptes
    apt -y autoremove
}

function easystore-epoptescli-i(){
    apt -y install epoptes-client
    apt -y -f install
}

function easystore-epoptescli-r(){
    apt -y remove epoptes-client
    apt -y autoremove
}

function easystore-evolution-i(){
    apt -y install evolution
    apt -y -f install
}

function easystore-evolution-r(){
    apt -y remove evolution
    apt -y autoremove
}

function easystore-filezilla-i(){
    wget --no-check-certificate https://easyastra.ru/store/filezilla.deb -P /tmp
    dpkg -i /tmp/filezilla.deb
    apt -y -f install
    rm /tmp/filezilla.deb
}

function easystore-filezilla-r(){
    apt -y remove filezilla
    apt -y autoremove
}

function easystore-firefox-i(){
    apt -y install firefox
    apt -y -f install
}

function easystore-firefox-r(){
    apt -y remove firefox
    apt -y autoremove
}

function easystore-franz-i(){
    wget --no-check-certificate https://easyastra.ru/store/franz.deb -P /tmp
    dpkg -i /tmp/franz.deb
    apt -y -f install
    rm /tmp/franz.deb
}

function easystore-franz-r(){
    apt -y remove franz
    apt -y autoremove
}

function easystore-chrome-i(){
    wget --no-check-certificate https://easyastra.ru/store/google-chrome.deb -P /tmp
    dpkg -i /tmp/google-chrome.deb
    apt -y -f install
    rm /tmp/google-chrome.deb
}

function easystore-chrome-r(){
    apt -y remove google-chrome-stable
    apt -y autoremove
}

function easystore-icq-i(){
    wget --no-check-certificate https://easyastra.ru/store/icq-desktop.deb -P /tmp
    dpkg -i /tmp/icq-desktop.deb
    apt -y -f install
    rm /tmp/icq-desktop.deb
}

function easystore-icq-r(){
    apt -y remove icq-desktop
    apt -y autoremove
}

function easystore-mattermost-i(){
    wget --no-check-certificate https://easyastra.ru/store/mattermost-desktop.deb -P /tmp
    dpkg -i /tmp/mattermost-desktop.deb
    apt -y -f install
    rm /tmp/mattermost-desktop.deb
}

function easystore-mattermost-r(){
    apt -y remove mattermost-desktop
    apt -y autoremove
}

function easystore-qbittorrent-i(){
    apt -y install qbittorrent
    apt -y -f install
}

function easystore-qbittorrent-r(){
    apt -y remove qbittorrent
    apt -y autoremove
}

function easystore-opera-i(){
    wget --no-check-certificate https://easyastra.ru/store/opera-stable.deb -P /tmp
    dpkg -i /tmp/opera-stable.deb
    apt -y -f install
    rm /tmp/opera-stable.deb
}

function easystore-opera-r(){
    apt -y remove opera-stable
    apt -y autoremove
}

function easystore-rupost-i(){
    wget --no-check-certificate https://easyastra.ru/store/rupost-desktop.deb -P /tmp
    dpkg -i /tmp/rupost-desktop.deb
    apt -y -f install
    rm /tmp/rupost-desktop.deb
}

function easystore-rupost-r(){
    apt -y remove rupost-desktop
    apt -y autoremove
}

function easystore-remmina-i(){
    apt -y install remmina remmina-plugin-rdp
    apt -y -f install
}

function easystore-remmina-r(){
    apt -y remove remmina
    apt -y autoremove
}

function easystore-skype-i(){
    wget --no-check-certificate https://easyastra.ru/store/skype.deb -P /tmp
    dpkg -i /tmp/skype.deb
    apt -y -f install
    rm /tmp/skype.deb
}

function easystore-skype-r(){
    apt -y remove skype
    apt -y autoremove
}

function easystore-tamtam-i(){
    wget --no-check-certificate https://easyastra.ru/store/TamTam.deb -P /tmp
    dpkg -i /tmp/TamTam.deb
    apt -y -f install
    rm /tmp/TamTam.deb
}

function easystore-tamtam-r(){
    apt -y remove tamtam-app
    apt -y autoremove
}

function easystore-telegram-i(){
    wget --no-check-certificate https://easyastra.ru/store/telegram.deb -P /tmp
    dpkg -i /tmp/telegram.deb
    apt -y -f install
    rm /tmp/telegram.deb
}

function easystore-telegram-r(){
    apt -y remove telegram
    apt -y autoremove
}

function easystore-thunderbird-i(){
    apt -y install thunderbird thunderbird-locale-ru
    apt -y -f install
}

function easystore-thunderbird-r(){
    apt -y remove remmina
    apt -y autoremove
}

function easystore-trueconf-i(){
    wget --no-check-certificate https://easyastra.ru/store/trueconf-client.deb -P /tmp
    dpkg -i /tmp/trueconf-client.deb
    apt -y -f install
    rm /tmp/trueconf-client.deb
}

function easystore-trueconf-r(){
    apt -y remove trueconf
    apt -y autoremove
}

function easystore-whatsapp-i(){
    wget --no-check-certificate https://easyastra.ru/store/whatsapp.deb -P /tmp
    dpkg -i /tmp/whatsapp.deb
    apt -y -f install
    rm /tmp/whatsapp.deb
}

function easystore-whatsapp-r(){
    apt -y remove whatsapp
    apt -y autoremove
}

function easystore-zoom-i(){
    wget --no-check-certificate https://easyastra.ru/store/zoom.deb -P /tmp
    dpkg -i /tmp/zoom.deb
    apt -y -f install
    rm /tmp/zoom.deb
}

function easystore-zoom-r(){
    apt -y remove zoom
    apt -y autoremove
}

#easystore grafics-------------------------------------------
function easystore-blender-i(){
    wget --no-check-certificate https://easyastra.ru/store/blender.deb -P /tmp
    dpkg -i /tmp/blender.deb
    apt -y -f install
    rm /tmp/blender.deb
}

function easystore-blender-r(){
    apt -y remove blender
    apt -y autoremove
}

function easystore-dia-i(){
    apt -y install dia
    apt -y -f install
}

function easystore-dia-r(){
    apt -y remove dia
    apt -y autoremove
}

function easystore-easypaint-i(){
    wget --no-check-certificate https://easyastra.ru/store/easypaint.deb -P /tmp
    dpkg -i /tmp/easypaint.deb
    apt -y -f install
    rm /tmp/easypaint.deb
}

function easystore-easypaint-r(){
    apt -y remove easypaint
    apt -y autoremove
}

function easystore-flameshot-i(){
    wget --no-check-certificate https://easyastra.ru/store/flameshot.deb -P /tmp
    dpkg -i /tmp/flameshot.deb
    apt -y -f install
    rm /tmp/flameshot.deb
}

function easystore-flameshot-r(){
    apt -y remove flameshot
    apt -y autoremove
}

function easystore-freecad-i(){
    wget --no-check-certificate https://easyastra.ru/store/freecad.deb -P /tmp
    dpkg -i /tmp/freecad.deb
    apt -y -f install
    rm /tmp/freecad.deb
}

function easystore-freecad-r(){
    apt -y remove freecad
    apt -y autoremove
}

function easystore-gimagereader-i(){
    apt -y install gimagereader-qt5
    apt -y install tesseract-ocr*
    apt -y -f install
}

function easystore-gimagereader-r(){
    apt -y remove gimagereader-qt5
    apt -y remove tesseract-ocr*
    apt -y autoremove
}

function easystore-gimp-i(){
    apt -y install gimp
    apt -y -f install
}

function easystore-gimp-r(){
    apt -y remove gimp
    apt -y autoremove
}

function easystore-gpick-i(){
    apt -y install gpick
    apt -y -f install
}

function easystore-gpick-r(){
    apt -y remove gpick
    apt -y autoremove
}

function easystore-gwenview-i(){
    apt -y install gwenview
    apt -y -f install
}

function easystore-gwenview-r(){
    apt -y remove gwenview
    apt -y autoremove
}

function easystore-inkscape-i(){
    apt -y install inkscape
    apt -y -f install
}

function easystore-inkscape-r(){
    apt -y remove inkscape
    apt -y autoremove
}

function easystore-kolourpaint-i(){
    apt -y install kolourpaint
    apt -y -f install
}

function easystore-kolourpaint-r(){
    apt -y remove kolourpaint
    apt -y autoremove
}

function easystore-krita-i(){
    wget --no-check-certificate https://easyastra.ru/store/krita.deb -P /tmp
    dpkg -i /tmp/krita.deb
    apt -y -f install
    rm /tmp/krita.deb
}

function easystore-krita-r(){
    apt -y remove krita
    apt -y autoremove
}

function easystore-librecad-i(){
    apt -y install librecad
    apt -y -f install
}

function easystore-librecad-r(){
    apt -y remove librecad
    apt -y autoremove
}

function easystore-mypaint-i(){
    wget --no-check-certificate https://easyastra.ru/store/mypaint.deb -P /tmp
    dpkg -i /tmp/mypaint.deb
    apt -y -f install
    rm /tmp/mypaint.deb
}

function easystore-mypaint-r(){
    apt -y remove mypaint
    apt -y autoremove
}

function easystore-okular-i(){
    apt -y install okular
    apt -y -f install
}

function easystore-okular-r(){
    apt -y remove okular
    apt -y autoremove
}

function easystore-openscad-i(){
    wget --no-check-certificate https://easyastra.ru/store/openscad.deb -P /tmp
    dpkg -i /tmp/openscad.deb
    apt -y -f install
    rm /tmp/openscad.deb
}

function easystore-openscad-r(){
    apt -y remove openscad
    apt -y autoremove
}

function easystore-pinta-i(){
    wget --no-check-certificate https://easyastra.ru/store/pinta.deb -P /tmp
    dpkg -i /tmp/pinta.deb
    apt -y -f install
    rm /tmp/pinta.deb
}

function easystore-pinta-r(){
    apt -y remove pinta
    apt -y autoremove
}

function easystore-pixelorama-i(){
    wget --no-check-certificate https://easyastra.ru/store/pixelorama.deb -P /tmp
    dpkg -i /tmp/pixelorama.deb
    apt -y -f install
    rm /tmp/pixelorama.deb
}

function easystore-pixelorama-r(){
    apt -y remove pixelorama
    apt -y autoremove
}

function easystore-spectacle-i(){
    wget --no-check-certificate https://easyastra.ru/store/spectacle.deb -P /tmp
    chmod ugo+x /usr/bin/spectacle
    apt -y install spectacle
    apt -y -f install
}

function easystore-spectacle-r(){
    rm /usr/bin/spectacle
    apt -y remove spectacle
    apt -y autoremove
}

function easystore-sweethome3d-i(){
    wget --no-check-certificate https://easyastra.ru/store/sweethome3d.deb -P /tmp
    dpkg -i /tmp/sweethome3d.deb
    apt -y -f install
    rm /tmp/sweethome3d.deb
}

function easystore-sweethome3d-r(){
    apt -y remove sweethome3d
    apt -y autoremove
}

function easystore-tuxpaint-i(){
    apt -y install tuxpaint
    apt -y -f install
}

function easystore-tuxpaint-r(){
    apt -y remove tuxpaint
    apt -y autoremove
}

function easystore-xsane-i(){
    apt -y install xsane
    apt -y -f install
}

function easystore-xsane-r(){
    apt -y remove xsane
    apt -y autoremove
}

#easystoremiltimedia----------------------------------
function easystore-audacity-i(){
    wget --no-check-certificate https://easyastra.ru/store/audacity.deb -P /tmp
    dpkg -i /tmp/audacity.deb
    apt -y -f install
    rm /tmp/audacity.deb
}

function easystore-audacity-r(){
    apt -y remove audacity
    apt -y autoremove
}

function easystore-brasero-i(){
    apt -y install brasero
    apt -y -f install
}

function easystore-brasero-r(){
    apt -y remove brasero
    apt -y autoremove
}

function easystore-cheese-i(){
    apt -y install cheese
    apt -y -f install
}

function easystore-cheese-r(){
    apt -y remove cheese
    apt -y autoremove
}

function easystore-kazam-i(){
    apt -y install kazam
    apt -y -f install
}

function easystore-kazam-r(){
    apt -y remove kazam
    apt -y autoremove
}

function easystore-kdenlive-i(){
    wget --no-check-certificate https://easyastra.ru/store/kdenlive.deb -P /tmp
    dpkg -i /tmp/kdenlive.deb
    apt -y -f install
    rm /tmp/kdenlive.deb
}

function easystore-kdenlive-i(){
    apt -y remove kdenlive
    apt -y autoremove
}

function easystore-k3b-i(){
    apt -y install k3b
    apt -y -f install
}

function easystore-obs-r(){
    apt -y remove k3b
    apt -y autoremove
}

function easystore-obs-i(){
    apt -y install obs-studio
    apt -y -f install
}

function easystore-k3b-r(){
    apt -y remove obs-studio
    apt -y autoremove
}

function easystore-openshot-i(){
    apt -y install openshot
    apt -y -f install
}

function easystore-openshot-r(){
    apt -y remove openshot
    apt -y autoremove
}

function easystore-simplescreenrecorder-i(){
    apt -y install simplescreenrecorder
    apt -y -f install
}

function easystore-simplescreenrecorder-r(){
    apt -y remove simplescreenrecorder
    apt -y autoremove
}

function easystore-synfigstduio-i(){
    wget --no-check-certificate https://easyastra.ru/store/synfigstudio.deb -P /tmp
    dpkg -i /tmp/synfigstudio.deb
    apt -y -f install
    rm /tmp/synfigstudio.deb
}

function easystore-synfigstduio-r(){
    apt -y remove synfigstudio
    apt -y autoremove
}

function easystore-vlc-i(){
    apt -y install vlc
    apt -y -f install
}

function easystore-vlc-r(){
    apt -y remove vlc
    apt -y autoremove
}

function easystore-vokoscreenng-i(){
    wget --no-check-certificate https://easyastra.ru/store/vokoscreen-ng.deb -P /tmp
    dpkg -i /tmp/vokoscreen-ng.deb
    apt -y -f install
    rm /tmp/vokoscreen-ng.deb
}

function easystore-vokoscreenng-r(){
    apt -y remove vokoscreen-ng
    apt -y autoremove
}

#easystore sсience---------------------------------
function easystore-afce-i(){
    wget --no-check-certificate https://easyastra.ru/store/afce.deb -P /tmp
    dpkg -i /tmp/afce.deb
    apt -y -f install
    rm /tmp/afce.deb
}

function easystore-afce-r(){
    apt -y remove afce
    apt -y autoremove
}

function easystore-kumir-i(){
    wget --no-check-certificate https://easyastra.ru/store/kumir2.deb -P /tmp
    dpkg -i /tmp/kumir2.deb
    apt -y -f install
    rm /tmp/kumir2.deb
}

function easystore-kumir-r(){
    apt -y remove kumir2
    apt -y autoremove
}

function easystore-kumir2-i(){
    wget --no-check-certificate https://easyastra.ru/store/kumir2qt5.deb -P /tmp
    dpkg -i /tmp/kumir2qt5.deb
    apt -y -f install
    rm /tmp/kumir2qt5.deb
}

function easystore-kumir2-r(){
    apt -y remove kumir2
    apt -y autoremove
}

function easystore-polyakov-i(){
    wget --no-check-certificate https://easyastra.ru/store/robowin.deb -P /tmp
    dpkg -i /tmp/robowin.deb
    apt -y -f install
    rm /tmp/robowin.deb
}

function easystore-polyakov-r(){
    apt -y remove robowin
    apt -y autoremove
}

function easystore-gcompris-i(){
    wget --no-check-certificate https://easyastra.ru/store/gcompris.deb -P /tmp
    dpkg -i /tmp/gcompris.deb
    apt -y -f install
    rm /tmp/gcompris.deb
}

function easystore-gcompris-r(){
    apt -y remove gcompris
    apt -y autoremove
}

function easystore-geogebra-i(){
    wget --no-check-certificate https://easyastra.ru/store/geogebra-classic.deb -P /tmp
    dpkg -i /tmp/geogebra-classic.deb
    apt -y -f install
    rm /tmp/geogebra-classic.deb
}

function easystore-geogebra-r(){
    apt -y remove geogebra-classic
    apt -y autoremove
}

function easystore-kalzium-i(){
    apt -y install kalzium
    apt -y -f install
}

function easystore-kalzium-r(){
    apt -y remove kalzium
    apt -y autoremove
}

function easystore-kmplot-i(){
    apt -y install kmplot
    apt -y -f install
}

function easystore-kmplot-r(){
    apt -y remove kmplot
    apt -y autoremove
}

function easystore-ktouch-i(){
    apt -y install ktouch
    apt -y -f install
}

function easystore-ktouch-r(){
    apt -y remove ktouch
    apt -y autoremove
}

function easystore-kturtle-i(){
    apt -y install kturtle
    apt -y -f install
}

function easystore-kturtle-r(){
    apt -y remove kturtle
    apt -y autoremove
}

function easystore-roboprocodding-i(){
    wget --no-check-certificate https://easyastra.ru/store/roboprocoding.deb -P /tmp
    dpkg -i /tmp/roboprocoding.deb
    apt -y -f install
    rm /tmp/roboprocoding.deb
}

function easystore-roboprocodding-r(){
    apt -y remove roboprocoding
    apt -y autoremove
}

function easystore-scratch1.4-i(){
    apt -y install scratch
    apt -y -f install
}

function easystore-scratch1.4-r(){
    apt -y remove scratch
    apt -y autoremove
}

function easystore-scratch3-i(){
    wget --no-check-certificate https://easyastra.ru/store/scratch-desktop.deb -P /tmp
    dpkg -i /tmp/scratch-desktop.deb
    apt -y -f install
    rm /tmp/scratch-desktop.deb
}

function easystore-scratch3-r(){
    apt -y remove scratch-desktop
    apt -y autoremove
}

function easystore-speedcrunch-i(){
    apt -y install speedcrunch
    apt -y -f install
}

function easystore-speedcrunch-r(){
    apt -y remove speedcrunch
    apt -y autoremove
}

function easystore-stellarium-i(){
    wget --no-check-certificate https://easyastra.ru/store/stellarium.deb -P /tmp
    dpkg -i /tmp/stellarium.deb
    apt -y -f install
    rm /tmp/stellarium.deb
}

function easystore-stellarium-r(){
    apt -y remove stellarium
    apt -y autoremove
}

function easystore-trikstudio-i(){
    wget --no-check-certificate https://easyastra.ru/store/trikstudio.deb -P /tmp
    dpkg -i /tmp/trikstudio.deb
    apt -y -f install
    rm /tmp/trikstudio.deb
}

function easystore-trikstudio-r(){
    apt -y remove trikstudio
    apt -y autoremove
}

#easystore programming---------------------------------------
function easystore-arduinoide-i(){
    wget --no-check-certificate https://easyastra.ru/store/arduino.deb -P /tmp
    dpkg -i /tmp/arduino.deb
    apt -y -f install
    rm /tmp/arduino.deb
}

function easystore-arduinoide-r(){
    apt -y remove arduino
    apt -y autoremove
}

function easystore-atom-i(){
    wget --no-check-certificate https://easyastra.ru/store/atom.deb -P /tmp
    dpkg -i /tmp/atom.deb
    apt -y -f install
    rm /tmp/atom.deb
}

function easystore-atom-r(){
    apt -y remove atom
    apt -y autoremove
}

function easystore-basic256-i(){
    apt -y install basic256
    apt -y -f install
}

function easystore-basic256-r(){
    apt -y remove basic256
    apt -y autoremove
}

function easystore-bluefish-i(){
    apt -y install bluefish
    apt -y -f install
}

function easystore-bluefish-r(){
    apt -y remove bluefish
    apt -y autoremove
}

function easystore-codeblocks-i(){
    apt -y install codeblocks
    apt -y -f install
}

function easystore-codeblocks-r(){
    apt -y remove codeblocks
    apt -y autoremove
}

function easystore-fritzing-i(){
    apt -y install fritzing
    apt -y -f install
}

function easystore-fritzing-r(){
    apt -y remove fritzing
    apt -y autoremove
}

function easystore-eclipse-i(){
    wget --no-check-certificate https://easyastra.ru/store/eclipse-installer.deb -P /tmp
    dpkg -i /tmp/eclipse-installer.deb
    apt -y -f install
    rm /tmp/eclipse-installer.deb
}

function easystore-eclipse-r(){
    apt -y remove eclipse-installer
    apt -y autoremove
}

function easystore-fpc-i(){
    apt -y install fpc
    apt -y -f install
}

function easystore-fpc-r(){
    apt -y remove fpc
    apt -y autoremove
}

function easystore-gambas-i(){
    apt -y install gambas3
    apt -y -f install
}

function easystore-gambas-r(){
    apt -y remove gambas3
    apt -y autoremove
}

function easystore-geany-i(){
    apt -y install geany
    apt -y -f install
}

function easystore-geany-r(){
    apt -y remove geany
    apt -y autoremove
}

function easystore-intellijidea-i(){
    wget --no-check-certificate https://easyastra.ru/store/intellijidea.deb -P /tmp
    dpkg -i /tmp/intellijidear.deb
    apt -y -f install
    rm /tmp/intellijidea.deb
}

function easystore-intellijidea-r(){
    apt -y remove intellijidea
    apt -y autoremove
}

function easystore-idle-i(){
    apt -y install idle-python3.7 python3-tk
    apt -y -f install
}

function easystore-idle-r(){
    apt -y remove idle-python3.7
    apt -y autoremove
}

function easystore-lazarus-i(){
    apt -y install lazarus-ide
    apt -y -f install
}

function easystore-lazarus-r(){
    apt -y remove lazarus-ide
    apt -y autoremove
}

function easystore-netbeans-i(){
    wget --no-check-certificate https://easyastra.ru/store/netbeans.deb -P /tmp
    dpkg -i /tmp/netbeans.deb
    apt -y -f install
    rm /tmp/netbeans.deb
}

function easystore-netbeans-r(){
    apt -y remove netbeans
    apt -y autoremove
}

function easystore-dotnet7-i(){
    wget --no-check-certificate https://easyastra.ru/store/dotnet7.deb -P /tmp
    dpkg -i /tmp/dotnet7.deb
    apt -y -f install
    rm /tmp/dotnet7.deb
}

function easystore-dotnet7-r(){
    apt -y remove dotnet7
    apt -y autoremove
}

function easystore-notepadplus-i(){
    wget --no-check-certificate https://easyastra.ru/store/notepadplus.deb -P /tmp
    dpkg -i /tmp/notepadplus.deb
    apt -y -f install
    rm /tmp/notepadplus.deb
    apt install -y wine
}

function easystore-notepadplus-r(){
    apt -y remove notepadplus
    apt -y autoremove
}

function easystore-pascalabc-i(){
    wget --no-check-certificate https://easyastra.ru/store/pascalABC.deb -P /tmp
    dpkg -i /tmp/pascalABC.deb
    apt -y -f install
    rm /tmp/pascalABC.deb
}

function easystore-pascalabc-r(){
    apt -y remove pascalabc
    apt -y autoremove
}

function easystore-php-i(){
    apt -y install php7.3
    apt -y -f install
}

function easystore-php-r(){
    apt -y remove php7.3
    apt -y autoremove
}

function easystore-pycharm-i(){
    wget --no-check-certificate https://easyastra.ru/store/pycharm.deb -P /tmp
    dpkg -i /tmp/pycharm.deb
    apt -y -f install
    rm /tmp/pycharm.deb
}

function easystore-pycharm-r(){
    apt -y remove pycharm
    apt -y autoremove
}

function easystore-qt-i(){
    apt -y install qt5-default qtcreator qtdeclarative5-dev python-pyqt5 pyqt5-dev-tools
    apt -y -f install
    apt -y install python3-pip
    pip3 install pyinstaller==3.6
    pip3 install PyInstaller
}

function easystore-qt-r(){
    apt -y remove qt5-default qtcreator qtdeclarative5-dev python-pyqt5 pyqt5-dev-tools
    apt -y autoremove
    apt -y remove python3-pip
}

function easystore-sublime-i(){
    wget --no-check-certificate https://easyastra.ru/store/sublime-text.deb -P /tmp
    dpkg -i /tmp/sublime-text.deb
    apt -y -f install
    rm /tmp/sublime-text.deb
}

function easystore-sublime-r(){
    apt -y remove sublime-text
    apt -y autoremove
}

function easystore-unityhub-i(){
    wget --no-check-certificate https://easyastra.ru/store/unityhub.deb -P /tmp
    dpkg -i /tmp/unityhub.deb
    apt -y -f install
    rm /tmp/yandex-unityhub.deb
}

function easystore-unityhub-r(){
    apt -y remove unityhub
    apt -y autoremove
}

function easystore-vim-i(){
    apt -y install vim-gtk3
    apt -y -f install
}

function easystore-vim-r(){
    apt -y remove vim-gtk3
    apt -y autoremove
}

function easystore-vsc-i(){
    wget --no-check-certificate https://easyastra.ru/store/code.deb -P /tmp
    dpkg -i /tmp/code.deb
    apt -y -f install
    rm /tmp/code.deb
}

function easystore-vsc-r(){
    apt -y remove code
    apt -y autoremove
}

#easystore utils---------------------------------------------
function easystore-apache-i(){
    apt -y install apache2
    apt -y -f install
    chmod -R 755 /var/www/html/
    rm /etc/apache2/apache2.conf
    wget --no-check-certificate https://easyastra.ru/store/apache2.conf -P /etc/apache2/
    /etc/init.d/apache2 restart
}

function easystore-apache-r(){
    apt -y remove apache2
    apt -y autoremove --purge apache2
    rm -r /var/www/html/
}

function easystore-acetoneiso-i(){
    apt -y install acetoneiso
    apt -y -f install
}

function easystore-acetoneiso-r(){
    apt -y remove acetoneiso
    apt -y autoremove
}

function easystore-dbeaver-i(){
    wget --no-check-certificate https://easyastra.ru/store/dbeaver-ce.deb -P /tmp
    dpkg -i /tmp/dbeaver-ce.deb
    apt -y -f install
    rm /tmp/dbeaver-ce.deb
}

function easystore-dbeaver-r(){
    apt -y remove dbeaver-ce
    apt -y autoremove --purge dbeaver-ce
    rm -r /usr/share/dbeaver-ce/
}

function easystore-gparted-i(){
    apt -y install gparted
    apt -y -f install
}

function easystore-disk-i(){
    apt -y install gnome-disk-utility
    apt -y -f install
}

function easystore-disk-r(){
    apt -y remove gnome-disk-utility
    apt -y autoremove
}

function easystore-firebird-i(){
    apt -y install firebird3.0-server
    apt -y -f install
    service firebird3.0 start
}

function easystore-firebird-r(){
    service firebird3.0 stop
    apt -y remove firebird3.0-server
    apt -y autoremove
}

function easystore-flamerobin-i(){
    apt -y install flamerobin
    apt -y -f install
}

function easystore-flamerobin-r(){
    apt -y remove flamerobin
    apt -y autoremove
}

function easystore-iso-i(){
    apt -y install fly-admin-iso
    apt -y -f install
}

function easystore-iso-r(){
    apt -y remove fly-admin-iso
    apt -y autoremove
}

function easystore-ftp-i(){
    apt -y install fly-admin-ftp
    apt -y -f install
}

function easystore-ftp-r(){
    apt -y remove fly-admin-ftp
    apt -y autoremove
}

function easystore-samba-i(){
    apt -y install fly-admin-samba
    apt -y -f install
}

function easystore-samba-r(){
    apt -y remove fly-admin-samba
    apt -y autoremove
}

function easystore-gparted-r(){
    apt -y remove gparted
    apt -y autoremove
}

function easystore-guake-i(){
    apt -y install guake
    apt -y -f install
}

function easystore-guake-r(){
    apt -y remove guake
    apt -y autoremove
}

function easystore-mariadb-i(){
    apt -y install mariadb-server
    apt -y -f install
}

function easystore-mariadb-r(){
    apt -y remove mariadb-server*
    apt -y autoremove
}

function easystore-mc-i(){
    apt -y install mc
    apt -y -f install
}

function easystore-mc-r(){
    apt -y remove mc
    apt -y autoremove
}

function easystore-openssh-i(){
    apt -y install openssh-server
    apt -y -f install
}

function easystore-openssh-r(){
    apt -y remove openssh-server
    apt -y autoremove
}

function easystore-playonlinux-i(){
    apt -y install playonlinux
    apt -y -f install
}

function easystore-playonlinux-r(){
    apt -y remove playonlinux
    apt -y autoremove
}

function easystore-postgresql-i(){
    apt -y install postgresql
    apt -y -f install
}

function easystore-postgresql-r(){
    apt -y remove postgresql*
    apt -y autoremove
}

function easystore-recoll-i(){
    apt -y install recoll
    apt -y -f install
}

function easystore-recoll-r(){
    apt -y remove recoll
    apt -y autoremove
}

function easystore-sqlite-i(){
    apt -y install sqlite3
    apt -y -f install
}

function easystore-sqlite-r(){
    apt -y remove sqlite3
    apt -y autoremove
}

function easystore-virtualbox-i(){
    wget --no-check-certificate https://easyastra.ru/store/libvpx5.deb -P /tmp
    dpkg -i /tmp/libvpx5.deb
    apt -y -f install
    rm /tmp/libvpx5.deb
    wget --no-check-certificate https://easyastra.ru/store/virtualbox.deb -P /tmp
    dpkg -i /tmp/virtualbox.deb
    apt -y -f install
    rm /tmp/virtualbox.deb
}

function easystore-virtualbox-r(){
    apt -y remove virtualbox-7.0
    apt -y autoremove
}

function easystore-wine-i(){
    apt -y install wine
    apt -y -f install
}

function easystore-wine-r(){
    apt -y remove wine
    apt -y autoremove
}

function easystore-winetricks-i(){
    apt -y install winetricks
    apt -y -f install
}

function easystore-winetricks-r(){
    apt -y remove winetricks
    apt -y autoremove
}

function easystore-yadisk-i(){
    wget --no-check-certificate https://easyastra.ru/store/yandex-disk.deb -P /tmp
    dpkg -i /tmp/yandex-disk.deb
    apt -y -f install
    rm /tmp/yandex-disk.deb
}

function easystore-yadisk-r(){
    apt -y remove yandex-disk
    apt -y autoremove
}
