Linux YM installation?
Friday, April 9th, 2010 at
00:30
I am a newbie to this Linux program. CAn anyone explain to me how to log in as root? this is what is instructed on how to install YM on Linux. "Log in as root and type: rpm -i <filename> with the appropriate filename depending on your version to install the application." I really want to see it working on Linux.
Tagged with: Linux • linux program • lt • newbie • rpm • ym
Filed under: rpm
Like this post? Subscribe to my RSS feed and get loads more!
There is basically 3 common ways to login as root,
1. Just login normally as root with root password – but this is very unrecommended.
2. Login as normal user, then su into root using root password. Read more about su command in the first URL below.
3. Login as normal user, then sudo into root. The user must be listed in the file /etc/sudoers. Read more about sudo command in the second URL below.
Which distribution do you use? Depend on the distribution, the default method maybe different. For instance in Fedora by default you need to use su, and in Ubuntu by default you use sudo. Other way to tell is whether when you installed the linux system, the installer asked for root password, if it did (and you did make sure you remember all password you typed before, right?), then the system expect you to use su.
The URL below should also have more information about sudo and su.
Logging in as root is terrible advice. You should never do it. Do a sudo instead (Super User DO). Just precede their command with sudo and you’ll be prompted for the root password. That should install it just fine. Hope that helps!
There are two ways to install or doing any other thing in Linux: as root or as user system. When you install the Linux, two accounts are configured:
root account, to you make any changes in your system, allowing other programs to make changes too, and
user account, allowing you to make changes in your system too BUT doesn’t allowing programs make it in a deep level.
To install programs in your system, it’s enough to open a terminal and, inside the program installation folder, tip "sudo <command>" and tip your user password. But there are some others ways to install programs:
compiling it (a little complicated, hehehe…);
using RPM installation archive (to Linux versions based in Mandriva or Red Hat; in Debian-based ones the files have DEB extensions, like Ubuntu, Big Linux, Etch, Lenny and so on) and
using the repositories. This resource is like a "Windows Update", where files and programs are available to anyone update and install programs in their systems. Open the packager manager (like Synaptics, Adept Manager or Yast) and search what you want install (java plugin, codecs, rippers, etc), set it to installation and "hit it". Thats all.