Linux - NewbieThis 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
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.
im busy reading a book on RHEL and are using centos to follow along and hopefully learn about Red hat.
anyway...the book started on about printers and i was trying to follow and saw that there were things missing in my OS like
system - administration - printers was not in my menu...after googling i found that you need to run a yum command (is this to actually install this functionality?) so i opened a terminal and tried to run
yum install system-config-printer then it moaned at me about root access...so i googled that and went from a terminal
su
then entered the password and ran the yum command again.
it then loaded plug ins and mirror speeds (what ever they are)
then came up with an error No package system.config.printers available. followed by
nothing to do (if only that was true)
and then back to the command line...what am i missing? do i have to install a package of some sort...looked in install software but couldnt see anything relevant.
and while i have you...what is the difference with running a terminal from within the gui...and going into the shell (black screen with white writing) is there a difference regarding functionality...or is the command line from a proper shell faster as it doenst have gui in memory etc? just curious...
I am surprised your Red Hat book does not explain how to use su and yum, maybe get a better book such as the excellent guide by Michael Jang (he even posts on these forums!)
Anyway, Linux is very literal. Do you see the difference between what you were asked to type:
Code:
yum install system-config-printer
and what you actually typed?
Code:
yum install system.config.printers
Try again and maybe use the Copy and Paste functions so you don't make any typos. You can also use
the book is the study guide for red hat enterprise linux exams.
i did see su in the text...but it didnt actually explain how you would use it ie...i did see what it did...but had to work out how to apply it.
i copied the text yum install system.config.printers from a web site...and im still having the same error
the one with the - - - i also copied but i have tried both
thanks for your help..also did you see my question about the terminal?
i will definitly look at getting the book you suggested,,,
Last edited by sigint-ninja; 07-17-2012 at 06:40 PM.
Re Terminal; main difference is that you can start a GUI prog from a terminal-in-GUI, but I don't think you can do that from the standalone/console type terminal eg ctrl-alt-f1 etc (basically that would not be running the X-win code required).
As for your probs with yum etc, please post EXACTLY what you did and the EXACT results; even a single typo can cause major issues.
Also, to get the full root env, use
Code:
su -
Note the '-' aka hyphen; without that you get logged in as root BUT you retain your original non-root environment.
i copied the text yum install system.config.printers from a web site...and im still having the same error
the one with the - - - i also copied but i have tried both
thanks for your help..also did you see my question about the terminal?
Be careful copying & pasting commands from untrusted websites; that is a good way to break your system. Always make sure you understand the command before pressing Enter.
The commands and syntax are the same whether you are running in text mode or a terminal window in graphical mode.
snowpine i will take what you say on board...
to the other guys...
i would have also thought that it would have been installed by default...but it most certainly isnt...there is no printers in my system - administration options
i did output su - with the command yum install system.config.printers
and it did look more positive but then returned the following error
[j0n1n@localhost ~]$ su -
Password:
[root@localhost ~]# yum install system.config.printers
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.simwood.com
* extras: mirror.simwood.com
* updates: mirror.for.me.uk
base | 3.7 kB 00:00
extras | 3.0 kB 00:00
google-chrome | 951 B 00:00 ...
updates | 3.5 kB 00:00
updates/primary_db | 663 kB 00:03
Setting up Install Process
No package system.config.printers available.
Error: Nothing to do
[root@localhost ~]#
The package is called system-config-printer not system.config.printers. You need to type it exactly correctly. In this case the typo was harmless, but in the future when you are executing powerful commands such as rm as the superuser, a single error in spelling/punctuation/syntax can break your system. When in doubt use the Copy and Paste features and only use commands from reputable sources that you trust.
ok got that...thanks so much for your help...doh!!! i see what you mean about copying commands...i suppose sites like this and centos site is ok for copying commands
thanks so much for your help in dealing with me
Last edited by sigint-ninja; 07-18-2012 at 06:14 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.