W. Glenz avatar

LINUXOPOLIS # 1,043 ~ SNAP

wglenz

Published: 11 Mar 2020 › Updated: 11 Mar 2020LINUXOPOLIS # 1,043 ~ SNAP

LINUXOPOLIS # 1,043 ~ SNAP

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

Leave LINUXOPOLIS # 1,043 ~ SNAP to:

Written by

Linux • Debian • Bash • Java

Read more #linux posts


Best Posts From W. Glenz

We have not curated any of wglenz's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From W. Glenz