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 02-14-2007, 10:49 AM   #1
mbuchoff
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Rep: Reputation: 0
sudo command, sources.list


http://wiki.cchtml.com/index.php/Deb...allation_Guide

In trying to install FireGL for ATI cards, I need to use the "sudo apt-get update" command. Unfortuately, when I type that, I get the error message:
sudo: apt-get: command not found

The wiki page also mentions my sources.list file in /etc/apt. Not only is there no "apt" directory inside of "etc", but there is no "sources.list" on my hard drive. I tried creating this file by hand, but I get the same error message.

Any help would be greatly appreciated. Thanks.
 
Old 02-14-2007, 11:04 AM   #2
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 31
I think the problem is apt-get is not in your path.
type whereis apt-get , it will return the full path.
then type sudo /path/path/apt-get
 
Old 02-15-2007, 08:24 AM   #3
mbuchoff
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you for the quick response. After typing those commands in, my terminal has the following on it:

[root@d-l33t /]# whereis apt-get
apt-get:
[root@d-l33t /]# sudo /path/path/apt-get
sudo: /path/path/apt-get: command not found
[root@d-l33t /]#

I searched my hard drive for a file or directory called apt-get with no luck. I thought I checked everything during my Fedora install.
 
Old 02-15-2007, 11:35 AM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
He didn't literally mean "/path/path".

try

Code:
sudo aptitude update
Also type
Code:
echo $PATH
and copy/paste the result here
 
Old 02-15-2007, 02:25 PM   #5
mbuchoff
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Yeah, the /path/path thing just dawned on my after I sent the message. I guess the coffee this morning wasn't strong enough.

[root@d-l33t ~]# sudo aptitude update
sudo: aptitude: command not found
[root@d-l33t ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
[root@d-l33t ~]#
 
Old 02-15-2007, 03:49 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Quote:
Originally Posted by mbuchoff
Thank you for the quick response.

I searched my hard drive for a file or directory called apt-get with no luck. I thought I checked everything during my Fedora install.
Are you using Fedora or Debian? If you are using Fedora does it use APT?

A quick Google search using FireGL Fedora has quite a few hits including many guides.
 
Old 02-15-2007, 05:08 PM   #7
mbuchoff
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
I am using Fedora and I've tried two of the guides with no success (it's probably that I'm using an X1400, which isn't listed as being compatible). As a desperate last attempt, I figured I'd follow the Wiki page.

I don't think I'm using APT; I'm not sure what that is.

Last edited by mbuchoff; 02-15-2007 at 05:11 PM.
 
Old 02-15-2007, 05:14 PM   #8
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
Quote:
I am using Fedora and I've tried two of the guides with no success
That's because that guide is for Debian, which uses dpkg and apt for package management. I suggest that you look for a guide written for Fedora instead.

Edit: oh, and there's no need to type 'sudo' if you're already root.
 
Old 02-16-2007, 03:10 AM   #9
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 31
Exactly. I assumed he was using Debian with the link that was posted??
Fedora man yum
 
Old 02-16-2007, 08:32 AM   #10
mbuchoff
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Ooops, I didn't realize there was a difference. Well, thanks for your help.
 
  


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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 02:57 PM
command gedit "/etc/apt/sources.list" not working secret_force Linux - Newbie 4 08-02-2006 05:28 PM
sources.list fakie_flip Linspire/Freespire 4 10-16-2005 09:46 AM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 05:50 PM
sources.list caleb Conectiva 2 03-19-2003 11:33 PM


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