Skip to main content

apt-rdepends: How to know the dependencies of a package in Ubuntu

I am sure that this might have happened to you also, when you tried to install a package, and then a message showed "Failed dependencies".

Now use apt-rdepends to know the dependencies and their dependencies of a package.
When we make a query for dependencies of a package, apt-rdepends searches the APt and return the list of dependencies and the dependencies of each dependent package. insatll

Install apt-rdepends
$ sudo apt-get install apt-rdepends
Lets see the dependencies of vlc
$ sudo apt-rdepends vlc
vlc
Depends: libaa1 (>= 1.4p5)
Depends: libc6 (>= 2.8)
Depends: libdbus-1-3 (>= 1.0.2)
Depends: libfreetype6 (>= 2.2.1)
Depends: libfribidi0 (>= 0.19.2)
Depends: libgcc1 (>= 1:4.1.1)
Depends: libgl1
Depends: libgl1-mesa-glx
Depends: libglib2.0-0 (>= 2.12.0)
Depends: libgtk2.0-0 (>= 2.8.0)
Depends: libnotify1 (>= 0.4.5)
Depends: libnotify1-gtk2.10
Depends: libqtcore4 (>= 4:4.6.1)
Depends: libqtgui4 (>= 4:4.6.1)
Depends: libsdl-image1.2 (>= 1.2.5)
Depends: libsdl1.2debian (>= 1.2.10-1)
Depends: libstdc++6 (>= 4.2.1)
Depends: libtar
Depends: libvlccore2 (>= 1.0.0~rc1)
Depends: libx11-6 (0)
Depends: libx264-85
Depends: libxcb-keysyms1 (>= 0.3.6)
Depends: libxcb1 (0)
Depends: libxext6 (0)
Depends: libxinerama1
Depends: libxv1
Depends: libxxf86vm1
Depends: ttf-dejavu-core
Depends: vlc-nox (= 1.0.6-1ubuntu1)
Depends: zlib1g (>= 1:1.2.3.3.dfsg)
libaa1
Depends: libc6 (>= 2.11)
Depends: libgpm2 (>= 1.20.4)
Depends: libncurses5 (>= 5.6+20071006-3)
Depends: libslang2 (>= 2.0.7-1)
Depends: libx11-6 (0)
libc6
Depends: debconf (>= 0.5)
Depends: debconf-2.0
Depends: findutils (>= 4.4.0-2ubuntu2)
Depends: libc-bin (= 2.11.1-0ubuntu7)
Depends: libgcc1
Depends: tzdata
debconf
Depends: debconf-english
Depends: debconf-i18n
PreDepends: perl-base (>= 5.6.1-4)
debconf-english
Depends: debconf
debconf-i18n
Depends: debconf
Depends: liblocale-gettext-perl
Depends: libtext-charwidth-perl
Depends: libtext-iconv-perl
Depends: libtext-wrapi18n-perl
liblocale-gettext-perl
Depends: libc6 (>= 2.2)
PreDepends: perl-base (>= 5.10.0-24ubuntu4)
PreDepends: perlapi-5.10.0
perl-base
PreDepends: dpkg (>= 1.14.20)
PreDepends: libc6 (>= 2.11)
dpkg
PreDepends: coreutils (>= 5.93-1)
PreDepends: libc6 (>= 2.11)
PreDepends: lzma
coreutils
PreDepends: libacl1 (>= 2.2.11-1)
PreDepends: libattr1 (>= 2.4.41-1)
PreDepends: libc6 (>= 2.11)
PreDepends: libselinux1 (>= 1.32)
libacl1
Depends: libattr1 (>= 2.4.41-1)
Depends: libc6 (>= 2.4)
libattr1
Depends: libc6 (>= 2.4)
libselinux1
Depends: libc6 (>= 2.8)
lzma
Depends: libc6 (>= 2.4)
Depends: libgcc1 (>= 1:4.1.1)
Depends: libstdc++6 (>= 4.4.0)
libgcc1
Depends: gcc-4.4-base (= 4.4.3-4ubuntu5)
Depends: libc6 (>= 2.2.4)
gcc-4.4-base
libstdc++6
Depends: gcc-4.4-base (= 4.4.3-4ubuntu5)
Depends: libc6 (>= 2.4)
Depends: libgcc1
perlapi-5.10.0
libtext-charwidth-perl
Depends: libc6 (>= 2.1.3)
Depends: perl-base (>= 5.10.0-24ubuntu4)
Depends: perlapi-5.10.0
libtext-iconv-perl
Depends: libc6 (>= 2.1.3)
Depends: perl-base (>= 5.10.0-24ubuntu4)
Depends: perlapi-5.10.0
libtext-wrapi18n-perl
Depends: libtext-charwidth-perl
debconf-2.0
findutils
PreDepends: libc6 (>= 2.7)
libc-bin
tzdata
Depends: debconf (>= 0.5)
Depends: debconf-2.0
libgpm2
Depends: libc6 (>= 2.7)
libncurses5
Depends: libc6 (>= 2.4)
libslang2
Depends: libc6 (>= 2.4)
libx11-6
Depends: libc6 (>= 2.4)
Depends: libx11-data
Depends: libxcb1 (>= 1.2)
libx11-data
libxcb1
Depends: libc6 (>= 2.4)
Depends: libxau6
Depends: libxdmcp6
libxau6
Depends: libc6 (>= 2.4)
libxdmcp6
Depends: libc6 (>= 2.4)
libdbus-1-3
Depends: libc6 (>= 2.4)
libfreetype6
Depends: libc6 (>= 2.4)
Depends: zlib1g (>= 1:1.1.4)
zlib1g
Depends: libc6 (>= 2.4)
libfribidi0
Depends: libc6 (>= 2.4)
libgl1
libgl1-mesa-glx
Depends: dpkg (>= 1.15.4)
Depends: libc6 (>= 2.4)
Depends: libdrm2 (>= 2.3.1)
Depends: libx11-6 (0)
Depends: libxdamage1 (>= 1:1.1)
Depends: libxext6 (0)
Depends: libxfixes3 (>= 1:4.0.1)
Depends: libxxf86vm1
libdrm2
Depends: libc6 (>= 2.7)
libxdamage1
Depends: libc6 (>= 2.1.3)
Depends: libx11-6
Depends: libxfixes3 (>= 1:4.0.1)
libxfixes3
Depends: libc6 (>= 2.1.3)./
.
.
.
.
.
.
Enjoy Linux.

Comments

Popular posts from this blog

How to install Skype on Ubuntu 9.10 Karmic Koala

The two methods  below doesn't work now. Please see http://blog.dipinkrishna.info/2009/11/how-to-download-and-install-skype-for_3060.html for a successfull installation of skype on ubuntu.   I have provided two methods. Please do comment which one is successful. Follow these steps to install skype in ubuntu 9.10 (64 bit).         First add:             deb http://packages.medibuntu.org/ karmic free non-free         to your /etc/apt/source.list Now open a terminal and type: $ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list Then do an update: $ sudo apt-get update $ sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring $ sudo apt-get -q update And finally install Skype. $ sudo apt-get install skype Ready ... now start skype with $ skype OR Download the setup 32 -bit 64 -bit ...

gtalx: Howto Gtalk in ubuntu ( google talk )

Did you fail to use " gtalk in ubuntu " ... Now you can chat and talk to your gmail buddies in ubuntu... 1. check for gtk2.0 and qt4 $ sudo apt-get install libgtk2.0-dev $ sudo apt-get install libqt4-dev libogg-dev libtheora-dev $ sudo apt-get install libsdl-dev libavcodec-dev libswscale-dev $ sudo apt-get install libexpat-dev libraw1394-dev libvorbis-dev $ sudo apt-get install libgsm1-dev  libspeexdsp-dev libmediastreamer0-dev libortp-dev 2. Remove 'pulse audio sound server' Open synaptic package manager and remove pulse audio 3. "Download gtalx" from here Dowload it here 4. Extract the file.... $ tar -zxvf 0.0.4.tar.gz 5. Get into the directory.... $ cd 0.0.4 and then... $ sudo chmod u+x make $ ./make $ sudo ./make install 6. Enjoy..... Please comment about your installation(whether it was a success or not....) Take gtalx from Applications > Internet > gtalx Enter your gmail login information..and click connect... ...

wbar: a quick luanch bar( similar to avant and cairo dock)

wbar is a quick-launch bar (not a dock) that has an appearance similar to Avant Window Manager and Cairo Dock. It is GTK (Gnome) based but can work in all desktop environments. It does not require a compositing manager to be installed and is therefore quicker and more suitable for low-end hardware systems. It is the default in the Google gOS desktop and is available as a .deb package from Google. Download and install (from the command-line Terminal): wget http://wbar.googlecode.com/files/wbar_1.3.3_i386.deb sudo dpkg -i wbar_1.3.3_i386.deb Start wbar with custom start options (e.g. by pressing alt+F2). Here is an example: wbar -isize 48 -j 1 -p bottom -balfa 40 -bpress -nanim 3 -z 2.5 -above-desk Here is another example: wbar -above-desk -pos bottom -isize 60 -nanim 1 -bpress -jumpf 0.0 -zoomf 1.5 For a full list of command-line startup options, see: wbar --help Tip: If you want the "wave" effect just increase the -nanim value. I like the icons to just pop up so I do...