Announcement

Collapse
No announcement yet.

Help install snap application through the konsole terminal

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help install snap application through the konsole terminal

    I am trying to install a snap based application that I can sync and share data between my computer (Kubuntu 18.04.3) and my phone (ubuntu touch Nexus 5). The app is called nextcloud.

    Below are the commands I have given and the progress made. Hopefully it makes sense. Terminal text is in blue for easier reading and the command heading is in purple. The commands I have specifically written are in green. PII has been deleted from the command heading but all else remains intact.

    -Precision-M4600:~$sudo add-apt-repository ppa:nextcloud-devs/client
    [sudo] password for :
    The Nextcloud desktop client compiled for Ubuntu.

    This repository contains the stable releases of the client. For the cutting-edge, beta version, see the beta PPA at https://launchpad.net/~nextcloud-dev...tu/client-beta.

    NOTE for Xenial users: because Xenial contains some outdated libraries, such as Qt5.5 and libssl 1.0, which are no longer fully supported by the Nextcloud client, the Xenial build in this repository is on a strictly best-effort basis only. It means that some functionality may not work properly or at all. It is also possible that Xenial support in this PPA will be discontinued altogether at some point in the future.
    More info: https://launchpad.net/~nextcloud-dev.../ubuntu/client
    Press [ENTER] to continue or Ctrl-c to cancel adding it.

    Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
    Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
    Hit:3 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
    Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
    Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    Fetched 252 kB in 1s (190 kB/s)
    Reading package lists... Done
    -Precision-M4600:~$sudo apt get update
    E: Invalid operation get
    -Precision-M4600:~$sudo apt-get update
    Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
    Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
    Hit:3 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
    Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
    Fetched 252 kB in 1s (194 kB/s)
    Reading package lists... Done
    -Precision-M4600:~$sudo apt-get install nextcloud
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done

    No apt package "nextcloud", but there is a snap with that name.
    Try "snap install nextcloud"

    E: Unable to locate package nextcloud
    -Precision-M4600:~$sudo snap install nextcloud
    nextcloud 16.0.7snap2 from Nextcloud✓ installed
    -Precision-M4600:~$sudo snap install nextcloud
    snap "nextcloud" is already installed, see 'snap help refresh'
    -Precision-M4600:~$snap help refresh
    Usage:
    snap refresh [refresh-OPTIONS] [<snap>...]

    The refresh command updates the specified snaps, or all snaps in the system if
    none are specified.

    With no further options, the snaps are refreshed to the current revision of the
    channel they're tracking, preserving their confinement options.

    Revision choice via the --revision override requires the the user to
    have developer access to the snap, either directly or through the
    store's collaboration feature, and to be logged in (see 'snap help login').

    Note a later refresh will typically undo a revision override.

    [refresh command options]
    --color=[auto|never|always] Use a little bit of color to highlight some things. (default: auto)
    --unicode=[auto|never|always] Use a little bit of Unicode to improve legibility. (default: auto)
    --abs-time Display absolute times (in RFC 3339 format). Otherwise, display relative times up to 60 days, then YYYY-MM-DD.
    --no-wait Do not wait for the operation to finish but just print the change id.
    --channel= Use this channel instead of stable
    --edge Install from the edge channel
    --beta Install from the beta channel
    --candidate Install from the candidate channel
    --stable Install from the stable channel
    --devmode Put snap in development mode and disable security confinement
    --jailmode Put snap in enforced confinement mode
    --classic Put snap in classic mode and disable security confinement
    --amend Allow refresh attempt on snap unknown to the store
    --revision= Refresh to the given revision, to which you must have developer access
    --cohort= Refresh the snap into the given cohort
    --leave-cohort Refresh the snap out of its cohort
    --list Show the new versions of snaps that would be updated with the next refresh
    --time Show auto refresh information but do not perform a refresh
    --ignore-validation Ignore validation by other snaps blocking the refresh
    -Precision-M4600:~$
    Last edited by TexasGuy1988; Jan 17, 2020, 03:40 PM. Reason: spelling

    #2
    The PPA you added is for a desktop client, so what you need to install for that is nextcloud-client.

    The snap you installed is the nextcloud server.
    Last edited by claydoh; Jan 17, 2020, 04:12 PM.

    Comment


      #3
      I have no clue what you just said

      Comment


        #4
        sudo apt-get install nextcloud-client
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Originally posted by TexasGuy1988 View Post
          I have no clue what you just said
          https://nextcloud.com/install/

          The PPA you added only provides the nextcloud desktop client. the package for it is called nextcloud-client. If you don't see it in Discover, then install it as Snowhog has shown above.


          The snap you already have installed successfully (according to your terminal output) is the actual nextcloud server component, which is the apache webserver, mysql database, and all the bits needed for it.
          https://github.com/nextcloud/nextcloud-snap.

          This is what phones and computers connect to in order to be able to sync, etc.

          There are free services you can use if you don't want to run your own instance:
          https://nextcloud.com/signup/

          Comment


            #6
            Originally posted by Snowhog View Post
            sudo apt-get install nextcloud-client
            IT WORKED!

            Thanks guys. Nice to have access to people that know what the hell they're doing

            Comment

            Working...
            X