LinuxQuestions.org
Visit Jeremy's Blog.
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 02-24-2002, 09:38 AM   #1
Rubicone
Member
 
Registered: Oct 2001
Posts: 36

Rep: Reputation: 15
Arrow Help With Linuxconf


I installed RedHat 7.2 and cannot seem to find linuxconf. When I tried to run this program I get the message command not found. (This is true whether I am logged in as an ordinary user or root). I set a password for GRUB and wonder if this has anything to do with it. If not how do I reinitialize/reinstall (?) this specific program without having to reinstall the whole OS all over again. When I tried to locate it I only found references to it in the /usr/share/doc/ directories and nowhere else.
 
Old 02-24-2002, 09:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
i don't quite see how setting a grub password could affect root's acess. they're totally unrelated. linuxconf just isn't installed by default, primarily cos it's rubbish, and can easily ruin configuration files that it uses. if you *really* want it then you can just install the rpm's from the distro cd's, but a much better solution is to simply take the time to learn how to set things up yourself. it may take longer, but you'll learn vastly more.
 
Old 02-24-2002, 09:48 AM   #3
Rubicone
Member
 
Registered: Oct 2001
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks for responding. The reason I need to use linuxconf is that I am taking a course on Linux and we are required know how to use this utility as much as it may cause the problem you indicated. In view of this could you indicate how do I install the rpm's from the distro cd's? As a newbie would much appreciate a detailed, step by step response.
 
Old 02-24-2002, 09:50 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

Hi,
Indsert your installation cd and trype (as root)
rpm -i /mnt/cdrom/xxxxxxxxxxxxxx
/mnt/cdrom/xxxxxxxxxx is the path for linuxconf package. When typing it you can always use <tab> to complete the name you're typing or, where there are many possibilities, to list them all.

Mara
 
Old 02-24-2002, 09:52 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
a course telling you to use linuxconf.. sounds a bit odd to me, ahh well.

assuming your cd mounts at /mnt/cdrom, insert which ever has the linuxconf rpm on it and...

mount /mnt/cdrom
rpm -iv /mnt/cdrom/Redhat/RPMS/linuxconf-1.25r7-3.i386.rpm
 
Old 02-24-2002, 10:04 AM   #6
Rubicone
Member
 
Registered: Oct 2001
Posts: 36

Original Poster
Rep: Reputation: 15
How can I find out whether the first/second CD has linuxconf?
Also found these 2 commands while waiting for a response here -will either one do the job, is there a reason for the different syntax? Is the second one so linuxconf is available when one is in the graphical mode?What is the purpose of the asterisk (*) at the end?

rpm -ivh /mnt/cdrom/RedHat/RPMS/linuxconf-1*

rpm -ivh /mnt/cdrom/RedHat/RPMS/gnome-linuxconf*
 
Old 02-24-2002, 10:08 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
here's an idea.. find out what's on the cd by LOOKING at the contents....

* means anything, so it will install anythign starting with linuxconf
 
Old 02-24-2002, 10:51 AM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

Quote:
Originally posted by Rubicone
How can I find out whether the first/second CD has linuxconf?
Also found these 2 commands while waiting for a response here -will either one do the job, is there a reason for the different syntax? Is the second one so linuxconf is available when one is in the graphical mode?What is the purpose of the asterisk (*) at the end?

rpm -ivh /mnt/cdrom/RedHat/RPMS/linuxconf-1*

rpm -ivh /mnt/cdrom/RedHat/RPMS/gnome-linuxconf*
The commands look good. * means all packages beginning with linuxconf-1 will be installed.
 
Old 02-24-2002, 01:45 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Before installing the package, see if you already have it installed, usually linuxconf is put in /sbin directory, and installation of RH for some reason doesn't put /sbin into PATH variable, see if it is in /sbin and check your PATH for root and if needed update it.
 
Old 02-24-2002, 02:16 PM   #10
Rubicone
Member
 
Registered: Oct 2001
Posts: 36

Original Poster
Rep: Reputation: 15
I tried the install of linuxconf using all of the command lines indicated in this thread and what I get is the error message "unknown option". What is this in reference to and how can it be corrected?
To neo77777: I have tried using the locate command and as I have noted in my initial post only found references to linuxconf in the aforementioned directories. But I will recheck again and get back with another response should I find that it is there. But then there is the question as to why it will not launch as I get an unrecognized command?
 
Old 02-24-2002, 03:34 PM   #11
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

Which commend gives that error? All of them? Try from the easiest one
rpm -i /mnt/cdrom/RedHat/RPMS/linuxconf-<and there press tab>, then enter (if there is only one option).
 
Old 02-25-2002, 08:07 PM   #12
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
The same happens with me if I try to locate linuxconf > linuxconf.txt
as a regular user I don't see the executable, only refs to /usr/include/linuxconf and such, if I become root and try the same, then linuxconf is located in /sbin as /sbin/linuxconf, the difference I believe in PATH variable, as I mentioned before for some cumbersome reason RH initial install won't put /sbin into root's PATH environment variable, I have edited the $PATH for root to include /sbin,
in /etc/profile file I added export PATH=$PATH:/sbin, and ran source /etc/profile; it works now if I type linuxconf in console as root, before this I typed /sbin/linuxconf

Last edited by neo77777; 02-25-2002 at 09:39 PM.
 
Old 02-25-2002, 09:02 PM   #13
Rubicone
Member
 
Registered: Oct 2001
Posts: 36

Original Poster
Rep: Reputation: 15
To Mara: The error message appears when I tried all the commands. Will attempt your latest suggestion and see what results I get.

To neo77777: When I am logged in as root I can only find a mention in the noted directories as indicated in my previous post. But if it is installed I will try changing the path to see what effect if any that will have.
 
Old 02-26-2002, 09:58 AM   #14
Rubicone
Member
 
Registered: Oct 2001
Posts: 36

Original Poster
Rep: Reputation: 15
Update: I managed to install linuxconf when in the graphical mode using gnorpm but still puzzled why I could not from the command line. My last attempt was using the following command:

rpm -i/mnt/cdrom/RedHat/linuxconf

and got the following message, "error open of /mnt/cdrom/RedHat/linuxconf failed. No such file or directory." Should anyone know why the text mode attempt failed, could you provide a detailed explanation? TIA.
 
Old 02-26-2002, 11:47 AM   #15
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
It didn't install because you didn't specify the file name correctly, it must be something /mnt/cdrom/RedHat/RPMS/linuxconf-version.release.rpm
 
  


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
linuxconf athenerx Linux - Networking 2 05-19-2004 05:56 PM
LinuxConf phil81 Mandriva 5 02-24-2004 10:05 AM
Linuxconf jonnypop00 Linux - Newbie 5 07-22-2003 04:36 PM
Where is the Linuxconf? Alasis Linux - General 4 08-07-2002 10:09 PM
linuxconf in RH 7.2 mrtwice Linux - Newbie 2 06-05-2002 05:28 AM

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

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