Ubuntu uses snap to install common software

1, SNAP Profile

What are the snap, snap is a new software package management, which is similar to a container has an application all the files and libraries, are completely independent of each application. So the benefits of using snap package is that it solves the problem of dependence between applications, making it easier to manage between applications. But the problem is caused thus it takes up more disk space.

Snap extension installation package is .snap, similar to a container that contains all the files and libraries need to use an application (snap package includes a private root file system, which contains dependent packages). They will be mounted to a separate directory; isolation between each application. There are many benefits to using a snap, first of all it solves the problem of dependent packages; secondly, also makes applications easier to manage.

Now is not much application support snap, snap package is usually installed in / snap directory

2, snap to install

sudo apt-get install snapd

sudo apt-get install snapcraft 

3, some commonly used commands

# List snap package has been installed

sudo snap list

# Search snap to install package

sudo snap find <text to search>

# Installation a snap package

sudo snap install <snap name>

# Update a snap package, if you back without the package name, then it is all the snap update packages

sudo snap refresh <snap name>

# Restore the package to a previously installed version

sudo snap revert <snap name>

# Delete a snap package

sudo snap remove <snap name>

4, commonly used software

# clion

sudo snap install clion

# pycharm

sudo snap install pycharm

# Netease cloud music

sudo snap install netease-music --devmode --beta

Guess you like

Origin www.cnblogs.com/yibeimingyue/p/11797912.html