How To Add Repository In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Update the local package index with the command:
sudo apt-get update
2. Add the repository’s GPG key with the command:
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys KEY_ID
3. Add the repository to the sources list with the command:
sudo add-apt-repository “deb [arch=ARCH] URL DISTRIBUTION COMPONENT”
4. Update the local package index with the command:
sudo apt-get update