LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2009, 06:08 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
Need help using Apt.


Using Kubuntu 9.04 and Debian 5.02

Is there a way to use apt-get in an interactive way;
Can I chose to install only some of the dependencies?

How can I find information about packages through the command line.

Thanks
 
Old 07-26-2009, 06:16 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
How can I find information about packages through the command line.
Code:
dpkg -l package name
apt-cache search package name
or use synaptic
 
Old 07-26-2009, 06:52 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
As mentioned above, you can use an apt frontend like synaptic (gui) or aptitude (cli).

As for dependencies, in general, no, you can't pick and choose, since the programs expect them to be there and will generally not function properly without them. It is possible to force apt to install a program anyway if you're absolutely sure you don't need to worry about missing dependencies, but you'd better know what you're doing.

There's also the occasional "metapackage", like "kde", "gnome", or "xorg" that installs a bunch of related packages at once, many of which may be unneeded by the user. Since the metapackage considers these subpackages as dependencies, any attempt to remove or exclude one will result in also removing the metapackage. Allowing this will not break anything, but it does mean that you have to track all of the subpackages manually instead.
 
  


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
apt pinning /etc/apt/apt.conf parent's_basement Debian 5 10-26-2008 05:50 PM
Gnome Apt, Debian pkg search, synaptic, apt-get each is best for what? streams &dragonflies Ubuntu 1 07-14-2008 02:41 PM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 07:47 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 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