Skip to main content
  1. Posts/

Cara Menambah Repositori Universe di Ubuntu

1 min
ubuntu ubuntu
Table of Contents

Ubuntu memiliki beberapa repositori berbeda yang memberi Anda akses ke lebih banyak paket. Namun, terdapat repositori paket yang belum diaktifkan karena berbagai alasan atau mungkin saja tidak sengaja menghapus file sources.list saat akan mengesekusi perintah.

Using add-apt-repository
#

Cara pertama menggunakan perintah add-apt-repository

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

Edit sources.list
#

Untuk cara lain, Anda dapat edit file /etc/apt/sources.list

sudo echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse" > /etc/apt/sources.list
sudo echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-updates main universe restricted multiverse" >> /etc/apt/sources.list
sudo echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-backports main universe restricted multiverse" >> /etc/apt/sources.list
sudo echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-security main universe restricted multiverse" >> /etc/apt/sources.list

Related

How to Switch Between CLI and GUI Ubuntu
1 min
ubuntu linux ubuntu
How to Turn Off Display in Ubuntu
1 min
ubuntu ubuntu
Meningkatkan Kinerja Disk dengan Bcache
3 mins
ubuntu ubuntu linux
Errors during Processing: grub-efi-amd64-signed and shim-signed
1 min
ubuntu ubuntu linux
Extract File .deb di Ubuntu
1 min
ubuntu linux ubuntu
Error 'Key is stored in legacy trusted.gpg keyring' di Ubuntu
2 mins
ubuntu linux ubuntu