Question:
Installing a software in linux not bothering about dependencies?
aspirant
2008-10-19 22:32:53 UTC
I have got a dvd named apton and it has a lot of software as .deb packages. I dont want to install all but only vlc media player. But the dependency chain gets me crazy. Any way to install only vlc without bothering about dependency (any way of automatically loading dependencies) Please dont ask me to download from internet as i dont have an internet connection in linux
Five answers:
2008-10-19 22:58:25 UTC
You could use --ignore-depends as a command line option. If you're using a graphical package installer there should be an option somewhere.



It doesn't seem like dpkg supports auto dependency resolution, apt-get or aptitude does but without a connection that doesn't really help does it.



It looks like vlc requires libmpeg2 and MAD, so these would have to be installed.
jplatt39
2008-10-20 00:07:04 UTC
If you do -- I believe it's a dpkg -f install it will install. Whether it will run without the dependencies I don't know. If you are on *buntu then do a sudo dpkg -f install. If you are on Debian either run it as root (with su) or using sudo.



Open a terminal and type "man dpkg" for more information on this program. While you are at it type "man apt" for information on among other things how apt uses dpkg. For package name, of course use the complete path to the package you want to install ("/media/floppy0/cutebondage-2.1.deb"). If it fails then just do a dpkg install of the dependencies it fails without. I can't imagine it taking more than twenty minutes at most.



Oh, for debian and *buntu systems, you can edit the file /etc/apt/sources.list to include your dvd or cd. Make sure you back it up first of course.
2008-10-20 08:35:16 UTC
I can see why dependencies would make you angry without an internet connection, but if you learn the definition of the word "dependency" you will know that the application you are trying to install will not run without these dependencies.
techfreak
2008-10-19 22:58:14 UTC
search for the vlc files in the dvd and you may find a solution or just add the DVD as a repository and check in the program manager.I am using .rpm based distro and it pics up the dependencies from added repos.
Rajinder
2008-10-19 23:07:35 UTC
you try through apt-get install open terminal and type

sudo apt-get install -f vlc

or go to synaptic package manager and search VLC player tick the box and install it


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...