Archives For snap

This simple tutorial shows how to search for, install, remove, and list installed Snap applications in Ubuntu from command line.

Snap is an universal Linux package format developed by Canonical, the company behind Ubuntu. Though many users hate the Snap apps, it’s hard to keep away from it since many popular applications (e.g., VLC, Spotify, VS Code, Android Studio) offer official Ubuntu binaries through Snap rather than classic deb package.

As Ubuntu Software still sucks and does not load application pages quite often, you can run followings command instead to search for & install snap applications.

1. Searching for Snap Apps in Terminal:

Simply open terminal from system application launcher. You can then either run snap find or snap search command follow with app name to query the store for available packages.

Both commands below do the same searching for GIMP packages:

snap find gimp

snap search gimp

For the verified publisher, you’ll see a green check mark after the publisher name.

2. Command to Install a Snap App:

To install a Snap application package, simply run snap install command follow with the package name.

After searching for an app, you can then select install one from available packages by running command (VLC for instance):

snap install vlc

Some applications can be installed with --classic flag to access files outside user’s home directory.

3. How to List installed Snap applications:

To list all installed snap applications, simply run snap list in terminal.

snap list

While “core” and “core18” are snap core packages, “snap-store”, “snap-store-proxy”, and “snap-store-proxy-client” relates to the Ubuntu Software.
All others are user installed packages, though “gnome-3-xxx” packages were installed automatically as dependency platform.

4. How to Remove Snap Apps via command:

To remove a snap package, simply run snap remove command follow with package name.

In the case, I’m going to remove VLC snap package via command:

snap remove vlc

NOTE that the dependency platform (e.g., gnome and wine) won’t to be removed while removing the snap that requires it.

Summary:

In brief you can run snap find APP_NAME or snap search APP_NAME to search for available packages. Use snap install PACKAGE_NAME or snap remove PACKAGE_NAME to install or remove an application. And run snap list to list all installed snap applications.

For those who don’t want to add third-party repositories, the free and open-source streaming and recording program OBS Studio now can be easily installed in Ubuntu via Snap package.

Snap is an universal Linux package format. Snap application runs in sandbox and it auto-updates itself once a new release is out and snapped by the maintainer.

The latest OBS Studio 21.1.2 is now available as snap package. You can easily install it from Ubuntu Software:

For Ubuntu 16.04 users who never installed a snap package, run command sudo apt install snapd first to install the daemon.

Or run command in terminal (Ctrl+Alt+T) to install the OSB Studio snap package:

snap install obs-studio

You may found that the snap package is kinda large in file size that because it bundles almost all its dependencies.

NOTE: To access webcam and content on external storage, you need to run 2 two commands:

sudo snap connect obs-studio:camera

sudo snap connect obs-studio:removable-media

Finally launch the software from Gnome launcher or Unity launcher (may need to log out and log in back) and enjoy!

The latest release of Eclipse IDE now is quite easy to install in Ubuntu 16.04, and Ubuntu 18.04 since it’s made into snap package.

Snap is an universal Linux package format. It ships with most run-time libraries so it’s normally large in file size. The snap applications run in sandbox and they can be installed directly from Ubuntu Software.

Eclipse snap

1. So you can just open Ubuntu Software, search for and install Eclipse 4.7.3a snap package:

1. There are 2 Eclipse packages in Ubuntu Software. Check package details for version and source.

2. You see the alert “The application is unconfined. It can …”. That’s because the snap is installed in --classic mode so the IDE can access user directories.

3. Ubuntu 16.04 users who never installed a snap may need to install snapd first via command:

sudo apt-get install snapd snapd-xdg-open

For those prefer Linux command, run command in terminal to install the Eclipse snap:

snap install --classic eclipse

2. Eclipse needs java. If you don’t have it, run command in terminal to install OpenJDK java environment:

sudo apt-get install default-jre

You can also install Oracle Java 8 and/or 10 via this tutorial.

Skype for Linux

Skype for Linux now is available as snap, the universal Linux app packaging format, with easy install and automatic updates.

London, UK – 1st February 2018 – Canonical, the company behind Ubuntu, announces today that Skype is now available as a snap, the universal Linux app packaging format. Available as of today, the release means that Skype can deliver its communication service to a wider range of Linux users, including millions on Ubuntu.“, it’s announced in Ubuntu Insights.

For Ubuntu 16.04 users who’ve never installed a snap package, first install snapd daemon in terminal (Ctrl+Alt+T):

sudo apt-get install snapd snapd-xdg-open

The snap package can be installed directly from Ubuntu Software. At the moment, it’s skype 8.14.0.10:

You can also open terminal and run command to install the snap:

snap install skype --classic

And the snap automatic updates itself when a new release is out and published.

To launch Skype, search it from application launcher (may need re-login) or run command:

/snap/bin/skype

Uninstall:

To uninstall the snap, either use Ubuntu Software or run command:

snap remove skype

Corebird Twitter Client

Corebird discontinued! Try Cawbird as an alternative.

For those prefer Snap to Flapak, the latest Corebird twitter client 1.6 was finally available as snap, while it can’t be built as traditional package in Ubuntu 16.04.

Corebird 1.6 was release a few weeks ago with following changes:

  • Dependencies: GTK+ 3.20 is now required, and librest is no longer a dependency
  • Facelift for the tweet info page
  • Lots of stability fixes
  • The compose window now starts uploading images as soon as they are selected

It’s available in the PPA repository for Ubuntu 17.04, and Ubuntu 16.04 users can now install it via Snap:

Corebird Twitter Client

1. Open terminal via Ctrl+Alt+T or by searching it from app launcher. When it opens, run command:

sudo snap install corebird

2. Gnome platform is required by running following commands one by one:

sudo snap install gnome-3-24

sudo snap connect corebird:gnome-3-24-platform gnome-3-24:gnome-3-24-platform

In addition, to open links in snap apps, you need to run following command if you don’t already have it installed:

sudo apt install snapd-xdg-open

Uninstall:

To remove Corebird snap app, simply run command in terminal:

sudo snap remove corebird