Snap package only runs when rootUbuntu Core 16 “snap find” only shows 5 snaps availableWhy would I want to install a snap if I can install via apt instead?Why do I get these differences on ppa vs snap Communitheme Ubuntu 18.04?GitKraken Snap - Sign in with Github button not workingCan't open shared libraries (snap)Can't open links from Intellij: “Error KIO Client: Unable to create io-slave. Can not create socket for launching io-slave for protocol 'https'.”

Is there a way to use logic operators in Blender Shader nodes?

Was Jumanji intended to be a co-op game?

What's the criteria/reasoning for Rick's three questions in The Walking Dead?

What would have been the typical drinks for a US farmer in the late 18th/early 19th century?

How did 36-bit computers format ARPANET packets?

What happens when a photon "dies"?

Help identifying 8 pin connector

Why was LEGO reluctant to use additional colours for regular bricks in former times?

Can every manifold be turned into a Lie group?

How much would a language change over 500 years completely cut off from its source?

Texas gun laws - can an overseas visitor buy ammunition?

Affection vs. Affliction

What does it mean to play "positionally", and how do you train that?

Convert logical combinations from Reduce to a usable function

Why would a table with a Clustered Columnstore Index have many open rowgroups?

Why can't I shoot with a fast shutter speed?

Do they actually regularly send out people with space ships to spacewalk out and fix broken satellites?

Implementation gap in logistics

Fill the Golfeek gutter

A short story (possibility written in the 80's), where humans visit an alien race that evolves fast?

Setting up uniform distribution over non-rectangular support

What game has this black main menu?

Is it common to use pinky (little finger) on black keys?

Limit number of matches of find command



Snap package only runs when root


Ubuntu Core 16 “snap find” only shows 5 snaps availableWhy would I want to install a snap if I can install via apt instead?Why do I get these differences on ppa vs snap Communitheme Ubuntu 18.04?GitKraken Snap - Sign in with Github button not workingCan't open shared libraries (snap)Can't open links from Intellij: “Error KIO Client: Unable to create io-slave. Can not create socket for launching io-slave for protocol 'https'.”






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















I installed the snap package pycharm-community using snap (while being logged into my Ubuntu One account). When I run snap list I can see the package in the list. However, I can only run this app when I run sudo pycharm-community. Without root access, I get a pycharm-community: command not found error.



How do I run pycharm without sudo?



EDIT: output of snap version:



$ snap version
snap 2.29.4.2
snapd 2.29.4.2
series 16
linuxmint 18.3
kernel 4.13.0-21-generic









share|improve this question



























  • As your normal user, what happens if you snap run pycharm-community and /snap/bin/pycharm-community, and what if you launch it from the menu/dash?

    – popey
    Dec 31 '17 at 11:56











  • snap run pycharm-community runs as a normal user, /snap/bin/pycharm-community does not exist, nor is there any launcher in the menu

    – MPA
    Dec 31 '17 at 12:03











  • What's the output of snap version please?

    – popey
    Dec 31 '17 at 12:09






  • 1





    Output of snap version added to the post

    – MPA
    Dec 31 '17 at 12:40

















1


















I installed the snap package pycharm-community using snap (while being logged into my Ubuntu One account). When I run snap list I can see the package in the list. However, I can only run this app when I run sudo pycharm-community. Without root access, I get a pycharm-community: command not found error.



How do I run pycharm without sudo?



EDIT: output of snap version:



$ snap version
snap 2.29.4.2
snapd 2.29.4.2
series 16
linuxmint 18.3
kernel 4.13.0-21-generic









share|improve this question



























  • As your normal user, what happens if you snap run pycharm-community and /snap/bin/pycharm-community, and what if you launch it from the menu/dash?

    – popey
    Dec 31 '17 at 11:56











  • snap run pycharm-community runs as a normal user, /snap/bin/pycharm-community does not exist, nor is there any launcher in the menu

    – MPA
    Dec 31 '17 at 12:03











  • What's the output of snap version please?

    – popey
    Dec 31 '17 at 12:09






  • 1





    Output of snap version added to the post

    – MPA
    Dec 31 '17 at 12:40













1













1









1








I installed the snap package pycharm-community using snap (while being logged into my Ubuntu One account). When I run snap list I can see the package in the list. However, I can only run this app when I run sudo pycharm-community. Without root access, I get a pycharm-community: command not found error.



How do I run pycharm without sudo?



EDIT: output of snap version:



$ snap version
snap 2.29.4.2
snapd 2.29.4.2
series 16
linuxmint 18.3
kernel 4.13.0-21-generic









share|improve this question
















I installed the snap package pycharm-community using snap (while being logged into my Ubuntu One account). When I run snap list I can see the package in the list. However, I can only run this app when I run sudo pycharm-community. Without root access, I get a pycharm-community: command not found error.



How do I run pycharm without sudo?



EDIT: output of snap version:



$ snap version
snap 2.29.4.2
snapd 2.29.4.2
series 16
linuxmint 18.3
kernel 4.13.0-21-generic






snap pycharm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 31 '17 at 12:39







MPA

















asked Dec 31 '17 at 11:25









MPAMPA

1111 silver badge5 bronze badges




1111 silver badge5 bronze badges















  • As your normal user, what happens if you snap run pycharm-community and /snap/bin/pycharm-community, and what if you launch it from the menu/dash?

    – popey
    Dec 31 '17 at 11:56











  • snap run pycharm-community runs as a normal user, /snap/bin/pycharm-community does not exist, nor is there any launcher in the menu

    – MPA
    Dec 31 '17 at 12:03











  • What's the output of snap version please?

    – popey
    Dec 31 '17 at 12:09






  • 1





    Output of snap version added to the post

    – MPA
    Dec 31 '17 at 12:40

















  • As your normal user, what happens if you snap run pycharm-community and /snap/bin/pycharm-community, and what if you launch it from the menu/dash?

    – popey
    Dec 31 '17 at 11:56











  • snap run pycharm-community runs as a normal user, /snap/bin/pycharm-community does not exist, nor is there any launcher in the menu

    – MPA
    Dec 31 '17 at 12:03











  • What's the output of snap version please?

    – popey
    Dec 31 '17 at 12:09






  • 1





    Output of snap version added to the post

    – MPA
    Dec 31 '17 at 12:40
















As your normal user, what happens if you snap run pycharm-community and /snap/bin/pycharm-community, and what if you launch it from the menu/dash?

– popey
Dec 31 '17 at 11:56





As your normal user, what happens if you snap run pycharm-community and /snap/bin/pycharm-community, and what if you launch it from the menu/dash?

– popey
Dec 31 '17 at 11:56













snap run pycharm-community runs as a normal user, /snap/bin/pycharm-community does not exist, nor is there any launcher in the menu

– MPA
Dec 31 '17 at 12:03





snap run pycharm-community runs as a normal user, /snap/bin/pycharm-community does not exist, nor is there any launcher in the menu

– MPA
Dec 31 '17 at 12:03













What's the output of snap version please?

– popey
Dec 31 '17 at 12:09





What's the output of snap version please?

– popey
Dec 31 '17 at 12:09




1




1





Output of snap version added to the post

– MPA
Dec 31 '17 at 12:40





Output of snap version added to the post

– MPA
Dec 31 '17 at 12:40










1 Answer
1






active

oldest

votes


















0



















$ cd /home

$ sudo snap install pycharm-community --classic

$ pycharm-community
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$6 run


I used cd /home then sudo snap install pycharm-community --classic
then just type python-community and it worked.






share|improve this answer



























  • Please don't use screenshots for text. Instead, copy the text, paste it into your answer, select it with your mouse, and press the button in the editor.

    – Chai T. Rex
    Dec 31 '17 at 20:22











  • @ChaiT.Rex Done. Input stands for what i input in the shell and output stands for what the shell has returned

    – Nissaar
    Dec 31 '17 at 21:46













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f991043%2fsnap-package-only-runs-when-root%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0



















$ cd /home

$ sudo snap install pycharm-community --classic

$ pycharm-community
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$6 run


I used cd /home then sudo snap install pycharm-community --classic
then just type python-community and it worked.






share|improve this answer



























  • Please don't use screenshots for text. Instead, copy the text, paste it into your answer, select it with your mouse, and press the button in the editor.

    – Chai T. Rex
    Dec 31 '17 at 20:22











  • @ChaiT.Rex Done. Input stands for what i input in the shell and output stands for what the shell has returned

    – Nissaar
    Dec 31 '17 at 21:46
















0



















$ cd /home

$ sudo snap install pycharm-community --classic

$ pycharm-community
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$6 run


I used cd /home then sudo snap install pycharm-community --classic
then just type python-community and it worked.






share|improve this answer



























  • Please don't use screenshots for text. Instead, copy the text, paste it into your answer, select it with your mouse, and press the button in the editor.

    – Chai T. Rex
    Dec 31 '17 at 20:22











  • @ChaiT.Rex Done. Input stands for what i input in the shell and output stands for what the shell has returned

    – Nissaar
    Dec 31 '17 at 21:46














0















0











0









$ cd /home

$ sudo snap install pycharm-community --classic

$ pycharm-community
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$6 run


I used cd /home then sudo snap install pycharm-community --classic
then just type python-community and it worked.






share|improve this answer
















$ cd /home

$ sudo snap install pycharm-community --classic

$ pycharm-community
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Jan 02, 2018 12:17:45 AM java.util.prefs.FileSystemPreferences$6 run


I used cd /home then sudo snap install pycharm-community --classic
then just type python-community and it worked.







share|improve this answer















share|improve this answer




share|improve this answer








edited Apr 12 '18 at 6:58









charlesreid1

1033 bronze badges




1033 bronze badges










answered Dec 31 '17 at 20:20









NissaarNissaar

715 bronze badges




715 bronze badges















  • Please don't use screenshots for text. Instead, copy the text, paste it into your answer, select it with your mouse, and press the button in the editor.

    – Chai T. Rex
    Dec 31 '17 at 20:22











  • @ChaiT.Rex Done. Input stands for what i input in the shell and output stands for what the shell has returned

    – Nissaar
    Dec 31 '17 at 21:46


















  • Please don't use screenshots for text. Instead, copy the text, paste it into your answer, select it with your mouse, and press the button in the editor.

    – Chai T. Rex
    Dec 31 '17 at 20:22











  • @ChaiT.Rex Done. Input stands for what i input in the shell and output stands for what the shell has returned

    – Nissaar
    Dec 31 '17 at 21:46

















Please don't use screenshots for text. Instead, copy the text, paste it into your answer, select it with your mouse, and press the button in the editor.

– Chai T. Rex
Dec 31 '17 at 20:22





Please don't use screenshots for text. Instead, copy the text, paste it into your answer, select it with your mouse, and press the button in the editor.

– Chai T. Rex
Dec 31 '17 at 20:22













@ChaiT.Rex Done. Input stands for what i input in the shell and output stands for what the shell has returned

– Nissaar
Dec 31 '17 at 21:46






@ChaiT.Rex Done. Input stands for what i input in the shell and output stands for what the shell has returned

– Nissaar
Dec 31 '17 at 21:46



















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f991043%2fsnap-package-only-runs-when-root%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?