LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-10-2008, 07:41 AM   #1
freshmind
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
Red face accessing sources.list for fedora


hello
I am a newbie so bare with me if im asking stupid questions. i want to know how i can access the sources.list file in fedora. i want to edit it so that it points to a new database that was just created.
i have tried this command
vi /etc/apt/sources.list
but i keep getting an empty file.
please help
 
Old 01-10-2008, 09:18 AM   #2
mickza
Member
 
Registered: Mar 2005
Location: South Africa
Distribution: Centos, Fedora, Ubuntu desktop, IPCop
Posts: 168

Rep: Reputation: 33
Not sure what you are trying to do but /etc/apt/sources.list.d is a directory on my fc7 server and contains livna.list - a livna apt repository list. I have no idea what it is doing there I assume it was created when I added livna to the yum repositories.

However, on Ubuntu, /etc/apt/sources.list is a Ubuntu apt repository list.

As Fedora traditionally uses yum more info on your distro is needed.
 
Old 01-11-2008, 02:49 AM   #3
freshmind
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I am trying to install some software and this software is on the school database. now i want to set the sources.list file such that it points to this database.
 
Old 01-11-2008, 03:17 AM   #4
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Dude, first of all, Fedora does not use the package manager that Debian-based systems use. Hence, you are getting the empty file (actually, the file is not there); vim is creating the file. What package are you trying to install? You can use
Code:
yum install <package name>
And, you cannot simply point to some computer like that. That has to be a repository in a particular format, like the fedora repository etc.
 
Old 01-11-2008, 04:07 AM   #5
mickza
Member
 
Registered: Mar 2005
Location: South Africa
Distribution: Centos, Fedora, Ubuntu desktop, IPCop
Posts: 168

Rep: Reputation: 33
More info please:

1) What version of Fedora is on YOUR computer - do the following:
Code:
$ uname -r
2.6.23.12-52.fc7
2) What Linux distro is installed at the school (fedora, ubuntu, SUSE)?

3) What is the software called that you want to download?

4) Probably more pertinent - what did you intend putting in /etc/apt/sources.list?
 
Old 01-11-2008, 04:30 AM   #6
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by mickza View Post
More info please:

1) What version of Fedora is on YOUR computer - do the following:
Code:
$ uname -r
2.6.23.12-52.fc7
2) What Linux distro is installed at the school (fedora, ubuntu, SUSE)?

3) What is the software called that you want to download?

4) Probably more pertinent - what did you intend putting in /etc/apt/sources.list?
Dear Mickza, why would he need to know his kernel version? That's irrelevant. Also, details about the OS on the school computer is irrelevant.
 
Old 01-11-2008, 06:36 AM   #7
mickza
Member
 
Registered: Mar 2005
Location: South Africa
Distribution: Centos, Fedora, Ubuntu desktop, IPCop
Posts: 168

Rep: Reputation: 33
Deepumnit - I was trying to get some info in order to assist. I still don't know what OS he or the school is using, what format the software is in or even if it runs on linux.

The only clues so far are fedora and apt which currently, as you have also pointed out, seems odd. However earlier releases of fedora could be updated with apt.

Plus don't forget that yum is not the only way of installing software on current fedora releases.

Last edited by mickza; 01-11-2008 at 06:40 AM.
 
Old 01-11-2008, 07:15 AM   #8
freshmind
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
hi guys
im trying to install akregator, elinks and ns2. but these packages are on the school database. if i try to install using yum. it gives a mirror error. the school is using linux and windows, the linux distros that are being used are fedora core 8, ubuntu 7.04 and sidux

i want to put an address in the sources.list file that will point to the packages that i need to install
i hope this is clear enough
 
Old 01-11-2008, 08:46 AM   #9
mickza
Member
 
Registered: Mar 2005
Location: South Africa
Distribution: Centos, Fedora, Ubuntu desktop, IPCop
Posts: 168

Rep: Reputation: 33
OK don't know any of those packages BUT akregator is included in kdepim & elinks is a standard package thus:

Code:
yum install kdepim elinks
should get it onto your fc8 system (edit: fc8 installs the gnome desktop by default - are you running KDE instead? it's needed for akregator).

NS2 is not a standard package - but plenty of references to it on google. I don't know anything about it but seems it can be downloaded as a tar zip file and possibly compiled.

Creating a sources.list containing a ip no will not achieve anything on Fedora or Ubuntu rather shh, ftp or http into the school server to download files (if permitted) OR if the school is a apt repository you would add a file (eg: school.list) which the school would supply looking something like the following.

Code:
# rpm.livna.org sources.list entries for apt-rpm with repomd support,
# http://apt-rpm.laiskiainen.org/


# -- Main repository
repomd http://rpm.livna.org/fedora/ $(VERSION)/$(ARCH)/
#repomd http://rpm.livna.org/fedora/ $(VERSION)/$(ARCH)/debug/
#repomd-src http://rpm.livna.org/fedora/ $(VERSION)/SRPMS/

# -- Potential updates in testing
#repomd http://rpm.livna.org/fedora/ testing/$(VERSION)/$(ARCH)/
#repomd http://rpm.livna.org/fedora/ testing/$(VERSION)/$(ARCH)/debug/
#repomd-src http://rpm.livna.org/fedora/ testing/$(VERSION)/SRPMS/
you would also need to install apt:
Code:
yum install apt
this installs a fc6 version but thats OK.

Then I assume you would be able to download the schools pre-compiled ns2 package (purely a guess).

Hope this helps.

Last edited by mickza; 01-11-2008 at 08:57 AM.
 
Old 01-11-2008, 09:09 AM   #10
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Hey, you got some advice from Mickza for Akregator. Also, consider this: NS2 is a network simulator. I use that to do some experiments and also some assignments given by my professor. That is freely available on the NS2 site. You can download that. I do not think you can yum to get it, as it may not be listed on the Fedora mirrors (just guessing). But, you can download the source tarball and follow the instructions to install that. Some post-installation configuration has to be done. You can post here if you have any problems.
 
  


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
sources.list...no sources! phantom_cyph Fedora 4 10-16-2007 09:26 PM
Accessing openSUSE artwork sources General SUSE / openSUSE 1 05-25-2007 06:18 AM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
list of sources?? boxerboy Libranet 1 11-11-2005 07:36 PM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM

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

All times are GMT -5. The time now is 03:43 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