Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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?
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.
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.
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?
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).
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.