LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2004, 03:46 PM   #1
reversal
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 14

Rep: Reputation: 0
Apt-get


Hi thar, I just downloaded apt-get in Fedora. Cool program, however I'm downloading from a server that has little to nothing on it. How can I add places to download from?
 
Old 09-28-2004, 05:02 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Take a look at << www.fedoratracker.org/ >>.
 
Old 09-28-2004, 05:26 PM   #3
reversal
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
I'm a Linux newb so I actually have no idea what to do with that.
 
Old 09-28-2004, 10:20 PM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
I assumed that you knew a bit about it since you had installed apt rather than using the pre-installed yum.

Red Hat, and its derivatives, use .RPM packages. A package contains the files the software needs. Some packages depend on other packages, and won't install unless the dependencies are satisfied. This can lead to "dependency hell" if a package depends on a number of others, because you would need to download and install the dependencies, which might have their own dependencies.

That's why they came up with apt and yum. They are both systems that have repositories that contain sets of packages. When you use either, it reads the list of available packages, and downloads and installs whatever you want, and all its dependencies. Fedora chose yum as the official package manager, but people also packaged apt for it.

The site I mentioned in my previous post collects repos from all over. You can use it to create an /etc/apt/sources.list or an /etc/yum.conf . Those are the files that keep the list of repos your system will check when you run either apt or yum.

Read more about apt at << http://freshrpms.net/apt/ >>.
And, yum at << http://www.linux.duke.edu/projects/yum/ >>.
 
Old 09-28-2004, 10:39 PM   #5
reversal
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ranger_nemo
I assumed that you knew a bit about it since you had installed apt rather than using the pre-installed yum.

Red Hat, and its derivatives, use .RPM packages. A package contains the files the software needs. Some packages depend on other packages, and won't install unless the dependencies are satisfied. This can lead to "dependency hell" if a package depends on a number of others, because you would need to download and install the dependencies, which might have their own dependencies.

That's why they came up with apt and yum. They are both systems that have repositories that contain sets of packages. When you use either, it reads the list of available packages, and downloads and installs whatever you want, and all its dependencies. Fedora chose yum as the official package manager, but people also packaged apt for it.

The site I mentioned in my previous post collects repos from all over. You can use it to create an /etc/apt/sources.list or an /etc/yum.conf . Those are the files that keep the list of repos your system will check when you run either apt or yum.

Read more about apt at << http://freshrpms.net/apt/ >>.
And, yum at << http://www.linux.duke.edu/projects/yum/ >>.
Yeah I got that much. I was just wondering how to (if at all) get files from different places, in an effort to get more diverse files.
 
Old 09-28-2004, 11:09 PM   #6
Dave Kelly
Member
 
Registered: Aug 2004
Location: Todd Mission Texas
Distribution: Linspire
Posts: 215

Rep: Reputation: 31
'apt-get' is most likely hard coded to access the site you are downloading from.

Read the manuals for 'wget' and 'ncftp' and 'ftp'.
And your browser.

Go to sourceforge, freshmeat.

Decide what kind of program you want and search for it with google.
 
Old 09-28-2004, 11:49 PM   #7
x_theory
LQ Newbie
 
Registered: May 2004
Distribution: Suse 9.1
Posts: 9

Rep: Reputation: 0
Quote:
Originally posted by Dave Kelly
'apt-get' is most likely hard coded to access the site you are downloading from.

Read the manuals for 'wget' and 'ncftp' and 'ftp'.
And your browser.

Go to sourceforge, freshmeat.

Decide what kind of program you want and search for it with google.
Best way to find other repositories for apt is to google "apt [your distro name] repository" or "apt [distro] sources.list"

Find examples of what other people put in their sources.list, or try to find a repository nearest to you for the faster downloads of your software.

The file /etc/apt/sources.list is the list of the http or ftp sites that apt will pull your packages from. You'll have to modify it as root, but just use vi or any other text editor to change it. Good luck. Once you get APT running right, you'll never go back. Just as a caveat, once you have found a good repository, don't switch to another. Repositories will vary on what they have and how often they are updated. If you suddenly decide to switch to a different ftp or http repository to download your packages from, your certain to run into "dependency hell". Also, if your using APT, do not use yum or up2date. Let APT do all the upgrading you need. You can use the command apt-get upgrade to get all the upgrades you need, or apt-get dist-upgrade to upgrade your entire distribution's OS. Never do a apt-get dist-upgrade while running inside a GUI like X/KDE/Gnome. I hope that helps.
 
Old 09-29-2004, 09:27 AM   #8
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Quote:
I was just wondering how to (if at all) get files from different places, in an effort to get more diverse files.
Not really a good idea... If you are accessing different repos maintained by different people with different packages, you could run into trouble with dependencies... Repo A has foo-3.42 and its dependency bar-7.89, but Repo B has bar-8.00. If you update, bar-8.00 might not work with foo-3.42.

But, if you want to, all you have to do is add more repos into your apt sources.list or yum.conf.
 
  


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
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 03:24 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM
apt-get for slackware (the real apt...not swaret or slapt) hypermegachi Slackware 3 10-31-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 AM.

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