Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
####### # # E-scripts on snap. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # An introduction to eev can be found here: # # (find-eev-quick-intro) # http://angg.twu.net/eev-intros/find-eev-quick-intro.html # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://angg.twu.net/e/snap.e> # or at <http://angg.twu.net/e/snap.e.html>. # See also <http://angg.twu.net/emacs.html>, # <http://angg.twu.net/.emacs[.html]>, # <http://angg.twu.net/.zshrc[.html]>, # <http://angg.twu.net/escripts.html>, # and <http://angg.twu.net/>. # ####### # «.snap-debian» (to "snap-debian") # «.snap-path» (to "snap-path") ##### # # snap-debian # 2020may02 # ##### # «snap-debian» (to ".snap-debian") # https://snapcraft.io/idris2 # https://snapcraft.io/docs/installing-snapd # https://snapcraft.io/docs/installing-snap-on-debian # (find-sh "apt-file search bin/snap") # (find-status "snapd") # (find-vldifile "snapd.list") # (find-udfile "snapd/") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) apti snapd # (find-sh "snap") # (find-sh "snap help") # (find-sh "snap help --all") # (find-sh "snap help info") snap install hello-world snap list snap info core snap info --verbose core snap remove idris2 snap remove hello-world snap remove core18 snap remove core mount mount | grep snap aptrm snapd mount | grep snap apt-get help sudo apt-get purge snapd mount | grep snap ##### # # How snap adds /snap/bin to the PATH # 2020may02 # ##### # «snap-path» (to ".snap-path") # (find-sh "find / -maxdepth 3 | grep -i snap") # (find-fline "/snap/") # (find-fline "/snap/README") # (find-fline "/usr/lib/environment.d/") # (find-fline "/usr/lib/environment.d/990-snapd.conf") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) which hello-world export PATH=/snap/bin:$PATH which hello-world hello-world https://github.com/timsueberkrueb/idris2-snap # Local Variables: # coding: utf-8-unix # End: