Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2969  / 2 Years ago, mon, july 11, 2022, 3:53:43

I want to learn about how apt works & fetches objects from mirrors in sources.list. How can I browse these repositories manually, download them manually & build them manually (not using source and not github, etc...)?


More From » apt

 Answers
4

When I want to download a specific version of a package manually with wget, I use pkgs.org. This site basically have an index of all major repositories, and provide many package details.


It supports a solid handful of distros beside Ubuntu (you can find newer packages by installing from Debian unstable for instance), and both amd64 and arm64 architectures.


Here you can browse or search for any package, and you'll get the download link directly.


Take this example with Nano for Ubuntu 20.04.


You get a download link, a list of dependencies, list of files etc. To download this package manually, you just fire wget with the link provided:


wget http://archive.ubuntu.com/ubuntu/pool/main/n/nano/nano_4.8-1ubuntu1_amd64.deb

You can then proceed to do whatever you want with the package.


[#1384] Monday, July 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
edseager

Total Points: 185
Total Questions: 105
Total Answers: 102

Location: Angola
Member since Wed, Apr 13, 2022
2 Years ago
;