sonatype-nexus-community / nexus-repository-apt

A Nexus Repository 3 plugin that allows usage of apt repositories
Eclipse Public License 1.0
105 stars 50 forks source link

How to use the repository with apt-get #26

Closed gerbsen closed 6 years ago

gerbsen commented 6 years ago

Hey there, First of all thanks for providing this feature! I've installed this now on our NEXUS and uploaded the first custom build deb file. But now, I don't really know how I would add the repository to apt. My repository URL is: https://nexus.example.com/repository/apt-hosted/

Any help is kindly appreciated, Cheers Daniel

DarthHater commented 6 years ago

@gerbsen I'll see if I can generate some user facing docs, might take a few days. You are welcome to contribute too!

fehmer commented 6 years ago

@gerbsen add to /etc/apt/sources.list deb https://nexus.example.com/repository/apt-hosted xenial main

replace xenial with your ubuntu version.

gerbsen commented 6 years ago

Here are my notes. You have to create a GPG key first and with that sign you created package.

DarthHater commented 6 years ago

@gerbsen I'll start a branch/PR, maybe you can add to it?

DarthHater commented 6 years ago

@gerbsen if you'd like to collaborate on #28 let me know! I shelled out some stuff but I would love for you to add to it. We can get you all setup to collaborate on the repo if you are down.