LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-31-2006, 11:50 AM   #16
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled

For a PDF viewer, you should be able to get Xpdf via APT. Also, doesn't GNOME come with a PS/PDF viewer anyway?
 
Old 01-31-2006, 12:52 PM   #17
joshd1982
Member
 
Registered: Jan 2006
Posts: 47

Original Poster
Rep: Reputation: 15
okay another question... how the hell does apt get work? magic?
what exactly is it doing (not exactly but in simple terms!)
 
Old 01-31-2006, 01:15 PM   #18
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What is happening is that the repositories in your /etc/apt/sources.list file point to a database full of binary files. Each binary file requires other binary files called dependencies. Apt-get compares the database at the repository with a similar database on your machine. If you already have the dependencies installed, it will only fetch the file you're looking for (such as evince). If you're missing some dependencies, it will download and install them first, and then install the file you're looking for.

Since linux is a toolkit based operating system, many programs use the same toolkits over and over. So apt-get is really doing the legwork to make sure that you have all the files you need for a program to run. In Windows, many programs may use the same toolkit, but the toolkit is compiled in so that the files are bigger and you may have installed the same toolkit several times (once in program1.exe and once in program2.exe).

When you compile from source, you generally have to make sure you have all the libraries and dependency files yourself (although I think Gentoo has a system that handles dependencies before you compile, I'm not really sure). If you're missing one, the compile will fail or the operation of the program will fail. This is called dependency hell and used to be prominent on Red Hat, although I think most modern distro's have some program like apt-get to do the legwork.
 
Old 01-31-2006, 10:09 PM   #19
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Merged your two threads - you REALLY could have stuck with one.
 
  


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
Work with linux at work?? questions. trey85stang General 7 12-18-2011 01:06 PM
Does the mounting of a *BSD partition on linux work work well when rw ? kloss *BSD 3 10-08-2005 02:21 PM
Will a firewire host adaptor with a Linux supported IEEE1394 chipset work in linux? mmx87 Linux - Hardware 1 09-25-2004 02:22 AM
Linux @work cnx to linux @home - Options? zaks_zoo Linux - Networking 5 12-22-2003 07:38 AM
Will my KyroII work in Linux? Has any1 gotten it to work? (Mandrake Linux 8.1) StlthMd Linux - General 2 09-16-2001 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:02 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
Open Source Consulting | Domain Registration