LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-23-2014, 09:10 AM   #1
arthur_makowah
LQ Newbie
 
Registered: Jun 2014
Location: Beijing
Distribution: Kali Linux
Posts: 3

Rep: Reputation: Disabled
How do you check for a list of .deb dependencies without installing the deb file


I usually install my deb files via terminal but most of the time it installs them without dependencies leaving errors. How do i check for a list of dependencies without installing it first
 
Old 07-23-2014, 09:25 AM   #2
Gatica
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Rep: Reputation: 0
If you're using a package manager, you can use apt-cache depends <package_name> to give you a list of dependencies.
Running dpkg -I <package_name> will also give info on the package, or otherwise you could try installing with the --dry-run option in dpkg, presumably the errors will tell you which packages are missing.

Last edited by Gatica; 07-23-2014 at 09:26 AM.
 
Old 07-23-2014, 08:15 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,346
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
Try this:

Code:
apt-cache showpkg [somepackage]
I think it will do what you want. See man apt-cache for more options.
 
Old 07-24-2014, 12:04 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Or this:
Code:
aptitude show [somepackage]
jdk
 
  


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
Problems installing vlc and its dependencies (DEB packages) Pr@veen Linux - Newbie 8 03-30-2012 07:54 AM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 11:02 AM
Need help installing local deb file leiavoia Debian 5 04-15-2005 08:12 AM
Installing a .deb file aznboi12321 Linux - Newbie 3 02-26-2005 08:58 PM
Installing a .deb file. inZioN Debian 1 04-14-2004 12:16 PM


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