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, 2019 in Linux Administration by Liana
4,133 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, 2019 by Sirajul
• 59,050 points

Related Questions In Linux Administration

0 votes
2 answers

How do I use a shell script to SSH in to a remote machine to execute commands?

Sorry in advance for any formatting. Check out ...READ MORE

answered Feb 7 in Linux Administration by anonymous
8,966 views
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, 2019 in Linux Administration by Gitika
• 65,870 points

edited Jul 2, 2019 by Gitika 439 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, 2019 in Linux Administration by Ritesh Singh
17,405 views
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
+15 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,450 points
1,072 views
+1 vote
2 answers

if the File system is full how to troubleshoot ?

Check filesystem usage. df -h If /var is showing ...READ MORE

answered Nov 18, 2019 in Linux Administration by Sirajul
• 59,050 points
819 views