On 07/25/2010 01:01 PM, Sven Joachim wrote:
On 2010-07-25 19:43 +0200, Malte Forkel wrote:
I can use
apt-get source<pkg-name>[=version]
to fetch and extract a source package, given its name (and optionally,
its version).
But is there any equivalent for binary packages? I.e., is there a tool
that downloads a binary package, given the package's name (and
optionally its version)?
Yes, aptitude can do that. Here's an example fetching the experimental
version of xserver-xorg-core:
,----
| % LANG=C aptitude download xserver-xorg-core=2:1.8.99.905-1
| Get:1 http://ftp.de.debian.org experimental/main xserver-xorg-core
2:1.8.99.905-1 [1530kB]
| Fetched 1530kB in 1s (1119kB/s)
`----
You can also use the "-t<suite>" switch to get a package from a given
suite.
And if you're into The Once And Future Apt, it's:
# apt-get -d install xserver-xorg-core=2:1.8.99.905-1
--
Seek truth from facts.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c4d0791.6080...@cox.net