Noob Kubuntu/Linux user here. Need help step-by-step installation for p5.js and how to set up for it to workDo I need to create partitions in advance for Kubuntu installation if I have unallocated space?kubuntu-desktop took over everythingNeed Immediate Help for Kubuntu installationCan't install Skype or update in Kubuntu 15.04Trying to install kubuntu and need helpInstall Wine on KubuntuProper installation procedure for external Kubuntu install and rEFIndNo Java command after installing Java 8, removing Java 11, despite no err msgs after installation

An Ailing Assassin

Can we use a Cryptographic hash function to generate infinite random numbers?

Fourier transform is an isomorphism...but we don’t get when each frequency appears?

What does "x employee is no longer employed by XYZ company" mean?

Mixed-effect logistic regression with very large dataset

What is the density of supercooled LOX at −206 °C, as SpaceX uses it

Does Test.testSandboxPostCopyScript Actually Run DML?

Is harmlessly appearing to be a school bus driver a crime?

What are the downsides of being a debt-free country (no foreign national debt)?

Why do aircraft cockpit displays use uppercase fonts?

How do I force `sudo` to ask for a password each time when a specific command is used?

How to deal with this fundamental problem with the advice: "Don't trust obscure PHP libraries that nobody uses!"?

Moon's unusual gravity

I've never seen this before. Is this primarily a "rote computational trick" for multiplication by 9 ...?

"Surtout qu'en ce moment" -- what does "qu'en" really mean in this phrase?

What are some examples of transverse waves which are not electromagnetic in nature?

Portisch-Radulov, Moscow 1977. Doesn't 16.c5 lose a pawn?

Do the Jovians in "Victory Unintentional" exist in Isaac Asimov's Foundation series?

Sudden cheap travel?

Is there a Scoville scale for coldness?

Is it possible to kill parasitic worms by intoxicating oneself?

Brute Brutish ability natural 1

Can you marry a girl in Stardew Valley if you are a girl?

How much of a discount should I seek when prepaying a whole year's rent?



Noob Kubuntu/Linux user here. Need help step-by-step installation for p5.js and how to set up for it to work


Do I need to create partitions in advance for Kubuntu installation if I have unallocated space?kubuntu-desktop took over everythingNeed Immediate Help for Kubuntu installationCan't install Skype or update in Kubuntu 15.04Trying to install kubuntu and need helpInstall Wine on KubuntuProper installation procedure for external Kubuntu install and rEFIndNo Java command after installing Java 8, removing Java 11, despite no err msgs after installation






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









-2


















I'm in desperate need help installing p5.js and making it work on my linux kubuntu os for school.
I tried to look for videos on youtube on how to install p5.js on linux but failed to find anything and that fully explain how to install it.



I found this: https://github.com/processing/p5.js-editor/issues/250 but I struggle to understand what the poster meant to do "chmod +x" I tried to google it and got lost in it.



I'm new to linux os and have only been able to install programs using Sudo apt-get install or install programs through "app" store called Discover that came on Kubuntu.



I have no idea how to install programs using the zip-method. I downloaded the p5.js zip and unzipped it on the download folder but nothing happened... can someone please help me and provide a fully noob-proof instructions on how to get p5.js running on linux?



Thanks!










share|improve this question



























  • From your link: "download the Linux version, unzip, chmod +x the executable then you can run"

    – Justice for Monica
    Sep 30 at 23:53











  • uhmm.... I know! but I don't know what the person meant by "chmod +x"

    – squirtle
    Sep 30 at 23:56











  • if you man chmod you'll see the [reference] manual page for chmod which will tell you "chmod - change file mode bits", ie. it adds execute (+x) permissions to the file that follows the command. If you're unsure, my suggestion would be man chmod to help you better understand what is required, ie. view manual page for the command. School is for learning, and you learn more if not spoon-fed (you can't learn by copy/paste)

    – guiverc
    Oct 1 at 0:00











  • the hmod +x is to give the downloaded file execute permission so you can run it. it can also be done by right clicking on the file go to properties then the permissions tab and click the box that says allow executeing file as program

    – wraith3690 001
    Oct 1 at 0:01






  • 1





    in the file folder there is a file called p5 that is the executable so if you do it from the term it should be "chmod +x p5" just drop the "-linux" as there is no file called "p5-linux"

    – wraith3690 001
    Oct 1 at 0:37

















-2


















I'm in desperate need help installing p5.js and making it work on my linux kubuntu os for school.
I tried to look for videos on youtube on how to install p5.js on linux but failed to find anything and that fully explain how to install it.



I found this: https://github.com/processing/p5.js-editor/issues/250 but I struggle to understand what the poster meant to do "chmod +x" I tried to google it and got lost in it.



I'm new to linux os and have only been able to install programs using Sudo apt-get install or install programs through "app" store called Discover that came on Kubuntu.



I have no idea how to install programs using the zip-method. I downloaded the p5.js zip and unzipped it on the download folder but nothing happened... can someone please help me and provide a fully noob-proof instructions on how to get p5.js running on linux?



Thanks!










share|improve this question



























  • From your link: "download the Linux version, unzip, chmod +x the executable then you can run"

    – Justice for Monica
    Sep 30 at 23:53











  • uhmm.... I know! but I don't know what the person meant by "chmod +x"

    – squirtle
    Sep 30 at 23:56











  • if you man chmod you'll see the [reference] manual page for chmod which will tell you "chmod - change file mode bits", ie. it adds execute (+x) permissions to the file that follows the command. If you're unsure, my suggestion would be man chmod to help you better understand what is required, ie. view manual page for the command. School is for learning, and you learn more if not spoon-fed (you can't learn by copy/paste)

    – guiverc
    Oct 1 at 0:00











  • the hmod +x is to give the downloaded file execute permission so you can run it. it can also be done by right clicking on the file go to properties then the permissions tab and click the box that says allow executeing file as program

    – wraith3690 001
    Oct 1 at 0:01






  • 1





    in the file folder there is a file called p5 that is the executable so if you do it from the term it should be "chmod +x p5" just drop the "-linux" as there is no file called "p5-linux"

    – wraith3690 001
    Oct 1 at 0:37













-2













-2









-2








I'm in desperate need help installing p5.js and making it work on my linux kubuntu os for school.
I tried to look for videos on youtube on how to install p5.js on linux but failed to find anything and that fully explain how to install it.



I found this: https://github.com/processing/p5.js-editor/issues/250 but I struggle to understand what the poster meant to do "chmod +x" I tried to google it and got lost in it.



I'm new to linux os and have only been able to install programs using Sudo apt-get install or install programs through "app" store called Discover that came on Kubuntu.



I have no idea how to install programs using the zip-method. I downloaded the p5.js zip and unzipped it on the download folder but nothing happened... can someone please help me and provide a fully noob-proof instructions on how to get p5.js running on linux?



Thanks!










share|improve this question
















I'm in desperate need help installing p5.js and making it work on my linux kubuntu os for school.
I tried to look for videos on youtube on how to install p5.js on linux but failed to find anything and that fully explain how to install it.



I found this: https://github.com/processing/p5.js-editor/issues/250 but I struggle to understand what the poster meant to do "chmod +x" I tried to google it and got lost in it.



I'm new to linux os and have only been able to install programs using Sudo apt-get install or install programs through "app" store called Discover that came on Kubuntu.



I have no idea how to install programs using the zip-method. I downloaded the p5.js zip and unzipped it on the download folder but nothing happened... can someone please help me and provide a fully noob-proof instructions on how to get p5.js running on linux?



Thanks!







kubuntu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 30 at 23:56







squirtle

















asked Sep 30 at 23:49









squirtlesquirtle

91 bronze badge




91 bronze badge















  • From your link: "download the Linux version, unzip, chmod +x the executable then you can run"

    – Justice for Monica
    Sep 30 at 23:53











  • uhmm.... I know! but I don't know what the person meant by "chmod +x"

    – squirtle
    Sep 30 at 23:56











  • if you man chmod you'll see the [reference] manual page for chmod which will tell you "chmod - change file mode bits", ie. it adds execute (+x) permissions to the file that follows the command. If you're unsure, my suggestion would be man chmod to help you better understand what is required, ie. view manual page for the command. School is for learning, and you learn more if not spoon-fed (you can't learn by copy/paste)

    – guiverc
    Oct 1 at 0:00











  • the hmod +x is to give the downloaded file execute permission so you can run it. it can also be done by right clicking on the file go to properties then the permissions tab and click the box that says allow executeing file as program

    – wraith3690 001
    Oct 1 at 0:01






  • 1





    in the file folder there is a file called p5 that is the executable so if you do it from the term it should be "chmod +x p5" just drop the "-linux" as there is no file called "p5-linux"

    – wraith3690 001
    Oct 1 at 0:37

















  • From your link: "download the Linux version, unzip, chmod +x the executable then you can run"

    – Justice for Monica
    Sep 30 at 23:53











  • uhmm.... I know! but I don't know what the person meant by "chmod +x"

    – squirtle
    Sep 30 at 23:56











  • if you man chmod you'll see the [reference] manual page for chmod which will tell you "chmod - change file mode bits", ie. it adds execute (+x) permissions to the file that follows the command. If you're unsure, my suggestion would be man chmod to help you better understand what is required, ie. view manual page for the command. School is for learning, and you learn more if not spoon-fed (you can't learn by copy/paste)

    – guiverc
    Oct 1 at 0:00











  • the hmod +x is to give the downloaded file execute permission so you can run it. it can also be done by right clicking on the file go to properties then the permissions tab and click the box that says allow executeing file as program

    – wraith3690 001
    Oct 1 at 0:01






  • 1





    in the file folder there is a file called p5 that is the executable so if you do it from the term it should be "chmod +x p5" just drop the "-linux" as there is no file called "p5-linux"

    – wraith3690 001
    Oct 1 at 0:37
















From your link: "download the Linux version, unzip, chmod +x the executable then you can run"

– Justice for Monica
Sep 30 at 23:53





From your link: "download the Linux version, unzip, chmod +x the executable then you can run"

– Justice for Monica
Sep 30 at 23:53













uhmm.... I know! but I don't know what the person meant by "chmod +x"

– squirtle
Sep 30 at 23:56





uhmm.... I know! but I don't know what the person meant by "chmod +x"

– squirtle
Sep 30 at 23:56













if you man chmod you'll see the [reference] manual page for chmod which will tell you "chmod - change file mode bits", ie. it adds execute (+x) permissions to the file that follows the command. If you're unsure, my suggestion would be man chmod to help you better understand what is required, ie. view manual page for the command. School is for learning, and you learn more if not spoon-fed (you can't learn by copy/paste)

– guiverc
Oct 1 at 0:00





if you man chmod you'll see the [reference] manual page for chmod which will tell you "chmod - change file mode bits", ie. it adds execute (+x) permissions to the file that follows the command. If you're unsure, my suggestion would be man chmod to help you better understand what is required, ie. view manual page for the command. School is for learning, and you learn more if not spoon-fed (you can't learn by copy/paste)

– guiverc
Oct 1 at 0:00













the hmod +x is to give the downloaded file execute permission so you can run it. it can also be done by right clicking on the file go to properties then the permissions tab and click the box that says allow executeing file as program

– wraith3690 001
Oct 1 at 0:01





the hmod +x is to give the downloaded file execute permission so you can run it. it can also be done by right clicking on the file go to properties then the permissions tab and click the box that says allow executeing file as program

– wraith3690 001
Oct 1 at 0:01




1




1





in the file folder there is a file called p5 that is the executable so if you do it from the term it should be "chmod +x p5" just drop the "-linux" as there is no file called "p5-linux"

– wraith3690 001
Oct 1 at 0:37





in the file folder there is a file called p5 that is the executable so if you do it from the term it should be "chmod +x p5" just drop the "-linux" as there is no file called "p5-linux"

– wraith3690 001
Oct 1 at 0:37










1 Answer
1






active

oldest

votes


















1



















Once you've extracted the zip file, you'll need to give yourself permission to execute the executable file. The way to do this through the terminal is by running chmod +x <name of file>, or in this case, chmod +x p5. If you're not comfortable with that, Kubuntu's file manager has a way to do this through a GUI:



  • right-click the desired file to pull up the context menu, then select properties


  • under permissions select "Is executable".


From there you can run it by either double-clicking the file, or running ./<name of executable file> in a terminal. If it doesn't run at first, running it through a terminal will allow you to see the program's output. I should also note that this program seems to depend on the libgconf-2-4 package, which I had to install manually.



At this point, you're done, but finding the file and manually executing every time you want to open it will quickly get tedious, so I would recommend moving the program to a more permanent location and adding a desktop file. A typical place to put unpackaged programs like this is /opt. Assuming all the files needed to run the program are in one folder, you can move the folder to /opt using sudo mv ~/Downloads/<name of folder> /opt/<name of program>.



Once the program is in a permanent location, we can use kmenuedit to create a desktop file. Hit alt+f2 to pull up krunner and run kmenuedit from there. Hit alt+f2 to pull up krunner and run kmenuedit from there.



Select the "Development" category, then "New Item...", then enter the Item name.
The only field you need to fill from there is the command field, in which you would put /opt/<name of program>/<name of executable file>. Save the changes, and quit kmenuedit.






share|improve this answer


























    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%2f1177788%2fnoob-kubuntu-linux-user-here-need-help-step-by-step-installation-for-p5-js-and%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









    1



















    Once you've extracted the zip file, you'll need to give yourself permission to execute the executable file. The way to do this through the terminal is by running chmod +x <name of file>, or in this case, chmod +x p5. If you're not comfortable with that, Kubuntu's file manager has a way to do this through a GUI:



    • right-click the desired file to pull up the context menu, then select properties


    • under permissions select "Is executable".


    From there you can run it by either double-clicking the file, or running ./<name of executable file> in a terminal. If it doesn't run at first, running it through a terminal will allow you to see the program's output. I should also note that this program seems to depend on the libgconf-2-4 package, which I had to install manually.



    At this point, you're done, but finding the file and manually executing every time you want to open it will quickly get tedious, so I would recommend moving the program to a more permanent location and adding a desktop file. A typical place to put unpackaged programs like this is /opt. Assuming all the files needed to run the program are in one folder, you can move the folder to /opt using sudo mv ~/Downloads/<name of folder> /opt/<name of program>.



    Once the program is in a permanent location, we can use kmenuedit to create a desktop file. Hit alt+f2 to pull up krunner and run kmenuedit from there. Hit alt+f2 to pull up krunner and run kmenuedit from there.



    Select the "Development" category, then "New Item...", then enter the Item name.
    The only field you need to fill from there is the command field, in which you would put /opt/<name of program>/<name of executable file>. Save the changes, and quit kmenuedit.






    share|improve this answer





























      1



















      Once you've extracted the zip file, you'll need to give yourself permission to execute the executable file. The way to do this through the terminal is by running chmod +x <name of file>, or in this case, chmod +x p5. If you're not comfortable with that, Kubuntu's file manager has a way to do this through a GUI:



      • right-click the desired file to pull up the context menu, then select properties


      • under permissions select "Is executable".


      From there you can run it by either double-clicking the file, or running ./<name of executable file> in a terminal. If it doesn't run at first, running it through a terminal will allow you to see the program's output. I should also note that this program seems to depend on the libgconf-2-4 package, which I had to install manually.



      At this point, you're done, but finding the file and manually executing every time you want to open it will quickly get tedious, so I would recommend moving the program to a more permanent location and adding a desktop file. A typical place to put unpackaged programs like this is /opt. Assuming all the files needed to run the program are in one folder, you can move the folder to /opt using sudo mv ~/Downloads/<name of folder> /opt/<name of program>.



      Once the program is in a permanent location, we can use kmenuedit to create a desktop file. Hit alt+f2 to pull up krunner and run kmenuedit from there. Hit alt+f2 to pull up krunner and run kmenuedit from there.



      Select the "Development" category, then "New Item...", then enter the Item name.
      The only field you need to fill from there is the command field, in which you would put /opt/<name of program>/<name of executable file>. Save the changes, and quit kmenuedit.






      share|improve this answer



























        1















        1











        1









        Once you've extracted the zip file, you'll need to give yourself permission to execute the executable file. The way to do this through the terminal is by running chmod +x <name of file>, or in this case, chmod +x p5. If you're not comfortable with that, Kubuntu's file manager has a way to do this through a GUI:



        • right-click the desired file to pull up the context menu, then select properties


        • under permissions select "Is executable".


        From there you can run it by either double-clicking the file, or running ./<name of executable file> in a terminal. If it doesn't run at first, running it through a terminal will allow you to see the program's output. I should also note that this program seems to depend on the libgconf-2-4 package, which I had to install manually.



        At this point, you're done, but finding the file and manually executing every time you want to open it will quickly get tedious, so I would recommend moving the program to a more permanent location and adding a desktop file. A typical place to put unpackaged programs like this is /opt. Assuming all the files needed to run the program are in one folder, you can move the folder to /opt using sudo mv ~/Downloads/<name of folder> /opt/<name of program>.



        Once the program is in a permanent location, we can use kmenuedit to create a desktop file. Hit alt+f2 to pull up krunner and run kmenuedit from there. Hit alt+f2 to pull up krunner and run kmenuedit from there.



        Select the "Development" category, then "New Item...", then enter the Item name.
        The only field you need to fill from there is the command field, in which you would put /opt/<name of program>/<name of executable file>. Save the changes, and quit kmenuedit.






        share|improve this answer














        Once you've extracted the zip file, you'll need to give yourself permission to execute the executable file. The way to do this through the terminal is by running chmod +x <name of file>, or in this case, chmod +x p5. If you're not comfortable with that, Kubuntu's file manager has a way to do this through a GUI:



        • right-click the desired file to pull up the context menu, then select properties


        • under permissions select "Is executable".


        From there you can run it by either double-clicking the file, or running ./<name of executable file> in a terminal. If it doesn't run at first, running it through a terminal will allow you to see the program's output. I should also note that this program seems to depend on the libgconf-2-4 package, which I had to install manually.



        At this point, you're done, but finding the file and manually executing every time you want to open it will quickly get tedious, so I would recommend moving the program to a more permanent location and adding a desktop file. A typical place to put unpackaged programs like this is /opt. Assuming all the files needed to run the program are in one folder, you can move the folder to /opt using sudo mv ~/Downloads/<name of folder> /opt/<name of program>.



        Once the program is in a permanent location, we can use kmenuedit to create a desktop file. Hit alt+f2 to pull up krunner and run kmenuedit from there. Hit alt+f2 to pull up krunner and run kmenuedit from there.



        Select the "Development" category, then "New Item...", then enter the Item name.
        The only field you need to fill from there is the command field, in which you would put /opt/<name of program>/<name of executable file>. Save the changes, and quit kmenuedit.







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Oct 1 at 19:10









        Dylan McDougallDylan McDougall

        211 bronze badge




        211 bronze badge































            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%2f1177788%2fnoob-kubuntu-linux-user-here-need-help-step-by-step-installation-for-p5-js-and%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”?