Apt-get deb download
Active Oldest Votes. Improve this answer. Using your favourite text editor, you can then delete the first few lines of the file dependencies which look something like this Reading package lists Done Building dependency tree Reading state information Done The following extra packages will be installed: ncurses-term ssh-import-id Suggested packages: rssh molly-guard openssh-blacklist openssh-blacklist-extra monkeysphere The following NEW packages will be installed ncurses-term openssh-server ssh-import-id 0 upgraded, 3 newly installed, 0 to remove and 26 not upgraded.
Need to get kB of archives. After this operation, 3, kB of additional disk space will be used. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses.
Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked 1. Viewed k times. Peter Mortensen Manuel de Leon Manuel de Leon 2, 4 4 gold badges 18 18 silver badges 12 12 bronze badges.
This can be moved to SuperUser, right? Or to AskUbuntu , where it has since been asked and answered. For Debian start packages. Very near way down the page for the package is a list of architectures you can download. Click to download. Add a comment. Active Oldest Votes. Zombo 1. Marcus Borkenhagen Marcus Borkenhagen 6, 1 1 gold badge 29 29 silver badges 32 32 bronze badges. Does this work if the package is already up-to-date on the system which apt-get -d is executed on?
PeterMortensen, nope it does not. Alternatively there is always packages. There are a least these apt-get extension packages that can help: apt-offline - offline apt package manager apt-zip - Update a non-networked computer using apt and removable media This is specifically for the case of wanting to download where you have network access but to install on another machine where you do not.
This will download all the Debs to the current directory, and will NOT fail if It can't find a candidate. Somewhat simplified and what worked for me way that worked for me based on all the above Note that dependencies hierarchy can go deeper then one level.
I used apt-cache depends package to get all required packages in any case if the are already installed on system or not. So it will work always correct. Because the command apt-cache works different, depending on language, you have to try this command on your system and adapt the command. The englisch version with the term: " Depends: " You have to change the term " yourpackage " to your wish twice in this command, take care of this!
This text is used twice in this command, if you want to adapt it to your language take care of this! You get the list of links in downloads. This will download all packages and dependencies no already installed to a directory of your choice:. You can use apt-mirror to essentially create your own debian mirror. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.
Learn more. How to download all dependencies and packages to directory Ask Question. Asked 9 years, 1 month ago. Active 1 month ago. Viewed k times. Braiam 4, 11 11 gold badges 50 50 silver badges 73 73 bronze badges. Add a comment. Active Oldest Votes. I used apt-rdepends because it would recursively list the needed packages. However, both solutions have the still minor IMO problem that some dependencies can only be provided by packages that are actually named like the dependency.
Some dependencies are resolved by packages named differently, but having a corresponding 'Provides' tag. For example, I ran into the problem of having a reference on debconf Are you certain rdepends means recursive dependencies? I think it's reverse dependencies. For my above comment above I was confusing "apt-cache rdepends" with apt-rdepends. My mistake - you were correct and this is powerful.
No worries. I now edited it back to say apt-rdepends again.
0コメント