Difference between revisions of "Linux Repo"

From HyperSecurity Wiki
Jump to: navigation, search
Line 1: Line 1:
 
'''Debian 10 Buster:'''
 
'''Debian 10 Buster:'''
  # Non-free Repo
+
  # Free and Non-free Repo
 
  deb http://ftp.us.debian.org/debian/  buster main contrib non-free
 
  deb http://ftp.us.debian.org/debian/  buster main contrib non-free
 
  deb-src http://ftp.us.debian.org/debian/ buster main contrib non-free
 
  deb-src http://ftp.us.debian.org/debian/ buster main contrib non-free

Revision as of 21:49, 14 January 2021

Debian 10 Buster:

# Free and Non-free Repo
deb http://ftp.us.debian.org/debian/  buster main contrib non-free
deb-src http://ftp.us.debian.org/debian/ buster main contrib non-free

# Security Update Repo
deb http://security.debian.org/ buster/updates main contrib
deb-src http://security.debian.org/ buster/updates main contrib

# Backports Repo
deb http://http.debian.net/debian buster-backports main
deb-src http://http.debian.net/debian buster-backports main

Debian 9 Stretch:

deb http://ftp.us.debian.org/debian/  stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib
deb-src http://security.debian.org/ stretch/updates main contrib
deb http://http.debian.net/debian stretch-backports main


Debian 8 Jessie:

deb http://ftp.us.debian.org/debian/  jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
deb http://http.debian.net/debian jessie-backports main

Debian 7 Wheezy:

deb http://archive.debian.org/debian wheezy main

Kali 2.0 x86:

deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free

If there are any key issues, then run the following from commandline:

apt-get install debian-keyring debian-archive-keyring
apt-key update

Fedora 22+

dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm


How To Query Repo's

Redhat Systems:

Search for package groups:

  dnf group list <search term>

Create a list of packages Debian

apt-cache search dev|grep "\-dev"|cut -d' ' -f1|sort > available-devs.txt

Install everything on list:

 while read i; do apt-get -y install $i; done < available-devs.txt