LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-02-2010, 04:44 AM   #1
njukks
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Rep: Reputation: 0
Query about apt-get -d option


Hi,
My goal is to download a .deb package(e.g vlc) from the cmd line so that I do not always need to connect to the internet using the normal apt-get install cmd
From the cmd line I typed sudo apt-get -d install vlc. After the operation is completed, is the downloaded file in a .deb form and where is it downloaded to?

Thanks!
 
Old 10-02-2010, 05:01 AM   #2
HiredGun555
LQ Newbie
 
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 0
package is automatically ninstalled into correct directories, but you can just look under /usr/share to find the dir of whatever it is you installed. to run anything installed this way, you open a terminal and just type the package name and hit enter. ex. vlc<enter>

if you want it on your menu then right click your menu button and choose edit. this is true for gnome and i think kde. i don't know about other window managers.
 
Old 10-02-2010, 06:40 AM   #3
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
apt-get default directory is /var/cache/apt/archives/

This will get dumped if you run the clean option.

Hope this helps.
 
1 members found this post helpful.
Old 10-02-2010, 09:22 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
My goal is to download a .deb package(e.g vlc) from the cmd line so that I do not always need to connect to the internet using the normal apt-get install cmd
I don't understand this sentence. Once you have installed your package (I'd suggest using aptitude rather than apt-get) you don't always need to connect to the internet to install it again. It's installed on your system and there it lives happily until you upgrade it with a later version.
jdk
 
1 members found this post helpful.
  


Reply



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
LXer: LINQ is the best option for a future Java query API LXer Syndicated Linux News 0 08-29-2008 11:20 AM
APT::Force-LoopBreak option bboy8012 Linux - Newbie 7 11-12-2005 12:07 AM
Apt-get update stop option? nextekcarl Linux - Software 6 10-22-2004 12:20 PM
apt-get query command? bruno buys Debian 1 07-14-2004 08:31 AM
Yet another apt/yum query blaroe Fedora 4 11-21-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 AM.

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
Open Source Consulting | Domain Registration