All threads / Setup Ubuntu 21.04 Hirsute Hippo Discussion

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Setup Ubuntu 21.04 Hirsute Hippo Discussion

Chris Oliver asked in General

Great guide as always! However, I believe that postgresql is now at version 12 and that 'sudo apt install postgresql-11' will return an unable to locate package error, I would suggest using 'sudo apt install postgresql' instead, worked for me. Thank you.

Reply

sudo apt install postgresql-11 no longer works. :)

Reply
Reply

it might be better practice to install NVM and install node using NVM and install yarn globally using node.

example code might look something like this:

sudo apt install curl git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev

# install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

# install latest version of nodejs
nvm install node

# install yarn globally
npm install -g yarn

the above can replace the first code block. :)

Reply
Reply

Very well written! Thanks !!

Reply

What happen with the other Operating Systems, like OpenSuse?

Reply
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 54,645+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.