LINUXOPOLIS # 1,043 ~ SNAPsteemCreated with Sketch.

in linux •  5 years ago 

SNAP

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home ~ previous

screenshot by willi glenz

vim ~/.config/fish/functions/gsnap.fish

function gsnap --description 'snap - package manager'
    clear; echo
    echo '=========================================================================='
    echo '                                   SNAP                                   '
    echo '=========================================================================='
    echo ' # apt update                                                             '
    echo ' $ apt search ^snapd |less                                                '
    echo ' # apt install snapd                                                      '
    echo ' $ snap version                                                           '
    echo ' $ whereis snapd                                                          '
    echo ' ------------------------------------------------------------------------ '
    echo ' fish $ vim ~/.config/fish/fish.config    set /snap/bin/ $PATH            '
    echo ' bash $ vim ~/.bashrc                     export PATH=/snap/bin:$PATH     '
    echo ' ------------------------------------------------------------------------ '
    echo ' # snap refresh                                                           '
    echo ' $ snap changes                                                           '
    echo ' $ snap list                                                              '
    echo '                                                                          '
    echo ' $ snap find firefox        $ snap find pycharm                           '
    echo ' $ snap info firefox        $ snap info pycharm-community                 '
    echo ' # snap install firefox     # snap install pycharm-community --classic    '
    echo '=========================================================================='
    echo
end
SOURCES
 homepage ............ snapcraft.io
 documentation ....... snapcraft.io/docs 
 getting started ..... snapcraft.io/docs/getting-started
 man-pages ........... $ man snap
 fish ................ fishshell.com/docs/current/index.html
 picture ............. screenshoot by me ~ my gnome-desktop
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!