LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2008, 09:32 PM   #1
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Rep: Reputation: 30
How to just download software with apt-get?


I just want the package on my computer (Actually it's for my iphone, but it uses apt-get)

What would be the switch to use?

Thanks!
 
Old 09-08-2008, 10:02 PM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Use 'apt-get install package_name -d' . Your package will then get downloaded to /var/cache/apt/archives . See 'man apt-get'
 
Old 09-08-2008, 10:34 PM   #3
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by klearview View Post
Use 'apt-get install package_name -d' . Your package will then get downloaded to /var/cache/apt/archives . See 'man apt-get'
How come it says that my package is already at the newest version? I know it is, I just want the package. I put the switch at the end, should I try after install?

Thanks
 
Old 09-08-2008, 10:41 PM   #4
bcwagne
Member
 
Registered: Feb 2008
Distribution: Debian Testing, OSX
Posts: 164

Rep: Reputation: 32
Alternately, you could download the package from the repository using ftp or http. In other words, just downloading directly from the site without apt-get.
 
Old 09-08-2008, 11:02 PM   #5
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Quote:
Originally Posted by lonecrow View Post
How come it says that my package is already at the newest version? I know it is, I just want the package. I put the switch at the end, should I try after install?

Thanks
If it's the newest version (meaning you have it installed on your system) then its .deb is already in /var/cache/apt/archives and you don't need to do anything!
 
Old 09-09-2008, 07:55 PM   #6
lonecrow
Member
 
Registered: May 2005
Location: Canada
Distribution: PCLinuxOS 2007
Posts: 274

Original Poster
Rep: Reputation: 30
Thanks guys.

It's because of people like you that I ADORE linux. There is always great support right around the corner.

As for my question, I was able indeed to log in the repository with a ftp (I didn't know you could do that) and download my .deb (When I go back with debian in a month, could I just add this repository to my computer and download my package on my computer for archiving purposes?)

klearview, the iphone directory scheme seems to be a bit diferent. under /var/cache/apt/archives I have only a folder named "partial" and a file named "lock" . So I don't know where they put it, but looks like it's elsewhere!

Thanks again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a download accelerator with apt-get fakie_flip Linux - Software 3 10-29-2007 01:47 PM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 02:53 PM
redhat apt-get download where? RichardSimmons Linux - Software 2 04-14-2004 12:39 AM
apt-get wont download anything :( nexx_au Fedora 2 03-04-2004 03:53 AM
Where can I download apt-get? orange400 Linux - General 6 07-22-2003 12:17 AM


All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration