Skip to main content

Fedora Workstation: Install snapd

snap logo
[tuyen@g73jh ~]$ sudo dnf -y install snapd
Last metadata expiration check: 0:20:17 ago on Tue 01 Oct 2019 11:31:30 AM +07.
Dependencies resolved.
================================================================================
 Package                   Architecture Version             Repository     Size
================================================================================
Installing:
 snapd                     x86_64       2.41-1.fc30         updates        17 M
Installing dependencies:
 snap-confine              x86_64       2.41-1.fc30         updates       2.8 M
 snapd-glib                x86_64       1.49-1.fc30         updates       133 k
 snapd-selinux             noarch       2.41-1.fc30         updates       234 k
Installing weak dependencies:
 gnome-software-snap       x86_64       3.32.4-2.fc30       updates        86 k

Transaction Summary
================================================================================
Install  5 Packages

Total download size: 20 M
Installed size: 73 M
Downloading Packages:
(1/5): gnome-software-snap-3.32.4-2.fc30.x86_64 195 kB/s |  86 kB     00:00    
(2/5): snapd-glib-1.49-1.fc30.x86_64.rpm        615 kB/s | 133 kB     00:00    
(3/5): snapd-selinux-2.41-1.fc30.noarch.rpm     1.0 MB/s | 234 kB     00:00    
(4/5): snap-confine-2.41-1.fc30.x86_64.rpm      1.2 MB/s | 2.8 MB     00:02    
(5/5): snapd-2.41-1.fc30.x86_64.rpm             2.5 MB/s |  17 MB     00:06    
--------------------------------------------------------------------------------
Total                                           2.5 MB/s |  20 MB     00:08     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Running scriptlet: snapd-selinux-2.41-1.fc30.noarch                       1/5 
  Installing       : snapd-selinux-2.41-1.fc30.noarch                       1/5 
  Running scriptlet: snapd-selinux-2.41-1.fc30.noarch                       1/5 
  Installing       : snapd-glib-1.49-1.fc30.x86_64                          2/5 
  Installing       : snap-confine-2.41-1.fc30.x86_64                        3/5 
  Installing       : snapd-2.41-1.fc30.x86_64                               4/5 
  Running scriptlet: snapd-2.41-1.fc30.x86_64                               4/5 
  Installing       : gnome-software-snap-3.32.4-2.fc30.x86_64               5/5 
  Running scriptlet: snapd-selinux-2.41-1.fc30.noarch                       5/5 
  Running scriptlet: gnome-software-snap-3.32.4-2.fc30.x86_64               5/5 
  Verifying        : gnome-software-snap-3.32.4-2.fc30.x86_64               1/5 
  Verifying        : snap-confine-2.41-1.fc30.x86_64                        2/5 
  Verifying        : snapd-2.41-1.fc30.x86_64                               3/5 
  Verifying        : snapd-glib-1.49-1.fc30.x86_64                          4/5 
  Verifying        : snapd-selinux-2.41-1.fc30.noarch                       5/5 

Installed:
  snapd-2.41-1.fc30.x86_64           gnome-software-snap-3.32.4-2.fc30.x86_64  
  snap-confine-2.41-1.fc30.x86_64    snapd-glib-1.49-1.fc30.x86_64             
  snapd-selinux-2.41-1.fc30.noarch  

Complete!
[tuyen@g73jh ~]$ 


[tuyen@g73jh ~]$ sudo ln -s /var/lib/snapd/snap /snap
[tuyen@g73jh ~]$ sudo snap install dmd --classic
error: too early for operation, device not yet seeded or device model not acknowledged
[tuyen@g73jh ~]$ sudo snap install dmd --classic
2019-10-01T11:57:47+07:00 INFO Waiting for restart...
Warning: /var/lib/snapd/snap/bin was not found in your $PATH. If you've not
         restarted your session since you installed snapd, try doing that.
         Please see https://forum.snapcraft.io/t/9469 for more details.

dmd 2.087.1 from D Programming Language (dlang) installed
[tuyen@g73jh ~]$ 

Popular posts from this blog

Demistify Buffer Overflow Vulnerability

Collection of articles, blog posts, lectures, tutorials... about Buffer Overflow Vulnerability.

Check and install php7.0-mbstring extention on Ubuntu 16.04 and Microsoft Windows

While learning Facebook SDK for PHP I overlooked one of system requirements preventing my code from running on my host. That is The mbstring extension. Facebook SDK for PHP's system requirements Check if mbstring is enabled root@ubuntu001:~# php -a Interactive mode enabled php > echo extension_loaded('mbstring'); php >exit root@ubuntu001:~# apt-cache search php7 | grep mbstring php7.0-mbstring - MBSTRING module for PHP root@ubuntu001:~# Install php7.0-mbstring root@ubuntu001:~# apt-get install php7.0-mbstring Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required:   fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0   libjpeg-turbo8 libjpeg8 libmcrypt4 libtiff5 libvpx3 libxpm4 Use 'apt autoremove' to remove them. The following additional packages will be installed:   libapache2-mod-php7.0 php7.0-cli ph...

You are fired unless ...

...unless "The illiterate of the 21st century will not be those who cannot read and write, but those who cannot Learn , Unlearn , and Relearn ." -  Alvin Toffler