LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-11-2006, 10:39 PM   #1
abhijeetnayak
Member
 
Registered: Jun 2006
Posts: 33

Rep: Reputation: 15
help for aptitude


Hi,

I am using ubuntu 6.06 . I gave the below two commands

1> sudo aptitude download package_name
or
2> sudo -d package_name

I thing the first one saves it in current dir. but where does the second one.

My second question is how to know which software version is available to download when I use the command apt-get or aptitude.

thanks.
 
Old 06-12-2006, 12:08 PM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
If yiu use a command and do not know the switches then issue the command and then follow it wit hthe --help.

SO

sudo apt-get --help

It seems that you need to issue the -V switch but I could be wrong.

-V Show verbose version numbers

---------------------------------



sudo apt-get --help
Password:
apt 0.6.43.3ubuntu2 for linux i386 compiled on Apr 18 2006 19:46:38
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies

Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to continue if the integrity check fails
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
 
  


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
help for aptitude abhijeetnayak Ubuntu 1 06-11-2006 11:03 PM
Please help me understand aptitude coralsaw Debian 9 01-13-2006 08:54 AM
Aptitude problem McCloud Debian 5 09-01-2005 11:57 AM
Slackware with Aptitude shag Slackware 8 05-02-2005 01:07 PM
aptitude Metallic Debian 6 04-14-2005 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration