0
0
Linux CLIscripting~10 mins

snap and flatpak in Linux CLI - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to install a snap package named 'vlc'.

Linux CLI
sudo snap [1] vlc
Drag options to blanks, or click blank then click option'
Aremove
Blist
Crefresh
Dinstall
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove' instead of 'install' will uninstall the package.
Using 'list' will only show installed snaps, not install new ones.
2fill in blank
medium

Complete the command to list all installed flatpak applications.

Linux CLI
flatpak [1]
Drag options to blanks, or click blank then click option'
Ainstall
Bupdate
Clist
Dremove
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'install' will try to add a new app instead of listing.
Using 'update' will try to update apps, not list them.
3fill in blank
hard

Fix the error in the command to update all snap packages.

Linux CLI
sudo snap [1]
Drag options to blanks, or click blank then click option'
Arefresh
Bupgrade
Cupdate
Dinstall
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'update' or 'upgrade' causes a command not found error.
Using 'install' will try to add new packages instead of updating.
4fill in blank
hard

Fill both blanks to install the 'org.gimp.GIMP' flatpak from Flathub remote.

Linux CLI
flatpak [1] [2] org.gimp.GIMP
Drag options to blanks, or click blank then click option'
Ainstall
Bremove
Cflathub
Dupdate
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove' instead of 'install' will uninstall apps.
Using 'update' instead of 'install' will not add new apps.
5fill in blank
hard

Fill all three blanks to remove a snap package named 'spotify', list installed snaps, and refresh all snaps.

Linux CLI
sudo snap [1] spotify && snap [2] && snap [3]
Drag options to blanks, or click blank then click option'
Aremove
Blist
Crefresh
Dinstall
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'install' instead of 'remove' will add the package again.
Mixing up 'list' and 'refresh' commands order.