LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-11-2009, 01:08 PM   #1
raphtor
Member
 
Registered: Aug 2008
Location: india
Posts: 174

Rep: Reputation: 30
installing software through deb files without using terminal


recently i installed hardy in my laptop.but because of having little knowledge about the post installation procedure for installing media players like vlc,mplayer i have run into a lot of trouble.after toiling a while,i was told by a friend that first build essential was to be installed.now since i do not have a net connection,i have to download the packages as deb files and install then using synaptic.but the package was asking for some other pre installed file!!!what i want to know is the exact order and names of installing preliminary software so that i can install all the media files using deb files without having a direct terminal installation.
 
Old 02-11-2009, 02:38 PM   #2
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Slackware(64)-current, Fedora 14, FreeBSD
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
http://www.newlinuxuser.com/howto-us...all-deb-files/

see this

Quote:
I’ve written about using apt-get to get and install debian packages. However, a recent comment by a reader brought the fact that I hadn’t written anything on what to do with a .deb file that exists on your system already either by download or other media.

Using the apt-get application is the quickest way to find and install debian packages. The installation part is done by an application named dpkg. Dpkg doesn’t have to be used by apt-get, you can use it manually as well.

From the man dpkg command:

dpkg - a medium-level package manager for Debian

Whatever that means.

In keeping with GNU/Linux system security, only the superuser can use the dpkg application. Dpkg is a typical GNU/Linux application that is controlled by command-line switches. Possibly the most common use of dpkg is to install a local .deb file.

To install a .deb file, become root and use the command:

dpkg -i filename.deb

Dpkg can also be used to:

* dpkg –unpack: unpacks the file but does not install it
* dpkg –configure: presents whatever configuration options are available for the package
* dpkg –remove: removes a package

Some of the package manipulation commands are actually carried out by an application called dpkg-deb. In those cases, dpkg just acts as a front end to dpkg-deb and passes the commands to it.

Dpkg-deb can also be used to manipulate .deb files. Some of the more useful commands of dpkg-deb are:

dpkg-deb –show filename.deb

This will display the information for filename.deb. Normally, this is boring information like the application version (which is normally evident from the filename), but in some cases more interesting and useful information is displayed.

Consult the dpkg man page for information on the more arcane uses for dpkg.
 
Old 02-11-2009, 03:39 PM   #3
digerati1338
Member
 
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
Quote:
i was told by a friend that first build essential was to be installed
No. Build essential is only necessary to compile packages from source. You don't want to do that. You want binary packages.

Quote:
i have to download the packages as deb files and install then using synaptic.but the package was asking for some other pre installed file!!!
That means that the deb file you downloaded has a dependency. A dependency means that that packages requires other packages to be installed (like shared libraries) before it will work. Normally, apt-get will automatically resolve these dependencies, but since you don't have an internet connection it can't do that.

The only solution I can think of is do solve the dependencies yourself. You can look up a package online at http://packages.ubuntu.com/. Find the package you want, and then look at its dependencies. You need to install all of those first. And their dependencies before them. Good luck. Maybe someone else has a better solution.
 
Old 02-12-2009, 11:18 AM   #4
raphtor
Member
 
Registered: Aug 2008
Location: india
Posts: 174

Original Poster
Rep: Reputation: 30
then why was package manager showing a dependency while installing the build essential package?
 
Old 02-12-2009, 02:03 PM   #5
digerati1338
Member
 
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
Quote:
then why was package manager showing a dependency while installing the build essential package?
Because build essential is a virtual package that is made up entirely of dependencies. There are no actual programs in the build essential package itself. Build essential installs tools like makefile support, compilers, and the tools to package applications as deb files. Build essential is for developers. You are not a developer so you do not need it. Your friend was wrong when he told you to install it.

Quote:
what i want to know is the exact order and names of installing preliminary software so that i can install all the media files using deb files without having a direct terminal installation
For any package you want to install (ie. vlc), begin by going to http://packages.ubuntu.com. Running a simple search for VLC in Hardy gets you to the VLC package page: http://packages.ubuntu.com/hardy/vlc. There is a list of related packages on that page. Any with a red dot must be installed before VLC will install. As I said, apt-get or synaptic usually solves these problems for you by automatically downloading dependencies through your internet connection, but you don't have one. So installing yourself requires you to install all the dependencies yourself as well.

Last edited by digerati1338; 02-12-2009 at 02:07 PM.
 
  


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
problem with installing .deb files rgistered Debian 33 03-15-2006 08:56 PM
Installing .deb files dkco Ubuntu 8 12-15-2005 10:18 AM
Installing .deb files dkco Linux - Software 2 12-14-2005 10:46 PM
Installing .deb files on Debian kram Linux - Newbie 2 01-22-2005 12:10 PM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration