How do i enable universe repository in Ubuntu 18.04?

0 votes
I was actually trying to install a puppet server on ubuntu 18.04 release while following the documentation for the installation process, there was a step to enable universe repository on ubuntu 18.04.

I have no clue as to how i can do this. Can somebody help me with this?
Aug 27 in Linux Administration by Liana
75 views

1 answer to this question.

0 votes

If you want in one command and not use Software source ticking then in terminal put:

sudo add-apt-repository universe

On older versions of Ubuntu, you might have to use a full source line:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

To enable all Ubuntu software (main universe restricted multiverse) repositories use

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"

Then update the package list:

sudo apt-get update

This should do!

answered Aug 27 by Sirajul
• 30,540 points

Related Questions In Linux Administration

0 votes
1 answer
0 votes
2 answers

How do I find all files containing specific text and rename in unix/linux

Hi, @Kal You can use this command below to ...READ MORE

answered Jul 2 in Linux Administration by Gitika
• 25,340 points

edited Jul 2 by Gitika 79 views
0 votes
2 answers

How do I find all files containing specific text on Linux?

grep -rnw 'text to find recursively inside ...READ MORE

answered May 20 in Linux Administration by Ritesh Singh
5,438 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
180 views