Postgres on wslHow do I install Postgres Graphical Installer?PostgreSQL 9.4 hangs during installation at “Removing obsolete dictionary files:”postgresql installation damagedUsing Expect in Bash to set the inital “postgres” user password?Can't apply Postgres configuration update after setting up custom data directoryUsing bash in combination with psql, passing variable between themHow to fix the version reported by psql?

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

Can the U.S. Senate hold an impeachment trial if the House "passes" but does not "deliver" articles of impeachment?

Understanding of big-O massively improved when I began thinking of orders as sets. How to apply the same approach to big-Theta?

Setting up uniform distribution over non-rectangular support

Is one spouse responsible if other failed to file taxes

3.3M resistors not registering on multimeter - are they faulty?

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

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

Using a heater and toaster oven trips the breaker. Can an electrician fix this?

A geometric sequence using one digit

In Excel, is there a shortcut to hide a wide range of columns without mouse-dragging?

Fill the Golfeek gutter

TikZ automate numbered box-form

What would be the effect(s) of this asteroid?

Was Greta Thunberg forced to ride on the floor of an overcrowded train?

Does Special Relativity Imply Multiple Realities?

Is the number of federal judges appointed by Trump unusual?

How did 36-bit computers format ARPANET packets?

How to understand "No she bludgering well won't!"

Texas gun laws - can an overseas visitor buy ammunition?

Is it possible to conserve the total kinetic energy of a system, but not its momentum?

How can I get AppImages to show up in the Applications Menu?

Tactical illusion combat countermeasures (password system)

What is the best way to teach JavaScript functions to middle schoolers?



Postgres on wsl


How do I install Postgres Graphical Installer?PostgreSQL 9.4 hangs during installation at “Removing obsolete dictionary files:”postgresql installation damagedUsing Expect in Bash to set the inital “postgres” user password?Can't apply Postgres configuration update after setting up custom data directoryUsing bash in combination with psql, passing variable between themHow to fix the version reported by psql?






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









1


















I have installed and run postgresql 9.6 on windows 10 .
When I am trying to run a bash script containing psql from Ubuntu terminal, I get:



Error: You must install at least one postgresql-client-<version> package.


My Ubuntu path contains all enviromental variables from Windows, including postgresql bin.
psql commands are not available .



Is there any way to make Ubuntu understand that there is a postgres installation on Windows running?










share|improve this question

































    1


















    I have installed and run postgresql 9.6 on windows 10 .
    When I am trying to run a bash script containing psql from Ubuntu terminal, I get:



    Error: You must install at least one postgresql-client-<version> package.


    My Ubuntu path contains all enviromental variables from Windows, including postgresql bin.
    psql commands are not available .



    Is there any way to make Ubuntu understand that there is a postgres installation on Windows running?










    share|improve this question





























      1













      1









      1








      I have installed and run postgresql 9.6 on windows 10 .
      When I am trying to run a bash script containing psql from Ubuntu terminal, I get:



      Error: You must install at least one postgresql-client-<version> package.


      My Ubuntu path contains all enviromental variables from Windows, including postgresql bin.
      psql commands are not available .



      Is there any way to make Ubuntu understand that there is a postgres installation on Windows running?










      share|improve this question
















      I have installed and run postgresql 9.6 on windows 10 .
      When I am trying to run a bash script containing psql from Ubuntu terminal, I get:



      Error: You must install at least one postgresql-client-<version> package.


      My Ubuntu path contains all enviromental variables from Windows, including postgresql bin.
      psql commands are not available .



      Is there any way to make Ubuntu understand that there is a postgres installation on Windows running?







      postgresql windows-subsystem-for-linux






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 3 at 12:13









      user3140225

      2,7104 gold badges12 silver badges24 bronze badges




      2,7104 gold badges12 silver badges24 bronze badges










      asked Sep 6 at 9:06









      Nikolas LeontiouNikolas Leontiou

      111 bronze badge




      111 bronze badge























          1 Answer
          1






          active

          oldest

          votes


















          -1



















          You must install at least postgresql-client-common.






          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%2f1171266%2fpostgres-on-wsl%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



















            You must install at least postgresql-client-common.






            share|improve this answer































              -1



















              You must install at least postgresql-client-common.






              share|improve this answer





























                -1















                -1











                -1









                You must install at least postgresql-client-common.






                share|improve this answer
















                You must install at least postgresql-client-common.







                share|improve this answer















                share|improve this answer




                share|improve this answer








                edited Oct 3 at 12:13









                user3140225

                2,7104 gold badges12 silver badges24 bronze badges




                2,7104 gold badges12 silver badges24 bronze badges










                answered Oct 3 at 5:48









                Paul JougahPaul Jougah

                1




                1































                    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%2f1171266%2fpostgres-on-wsl%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”?