LinuxQuestions.org
Visit Jeremy's Blog.
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, 12:50 PM   #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, 01: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, 02:15 PM   #18
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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, 11:09 PM   #19
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

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


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
Work with linux at work?? questions. trey85stang General 7 12-18-2011 02:06 PM
Does the mounting of a *BSD partition on linux work work well when rw ? kloss *BSD 3 10-08-2005 03:21 PM
Will a firewire host adaptor with a Linux supported IEEE1394 chipset work in linux? mmx87 Linux - Hardware 1 09-25-2004 03:22 AM
Linux @work cnx to linux @home - Options? zaks_zoo Linux - Networking 5 12-22-2003 08: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 10:21 PM


All times are GMT -5. The time now is 01: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration