bash: rpm: command not found && sudo: alien: command not found
UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
bash: rpm: command not found && sudo: alien: command not found
Well, trying to install Java, I discovered that I don't have the rpm command. I sought help and found sudo alien file.rpm would change it to a .deb, and I could then install the deb. Well I soon after found out I don't have the alien command either. Any ideas?
P.S. I searched the Synaptic Package Manager for both alien and rpm, and it came up with nothing.
Ubuntu doesn't use rpm, it has the Debian package management. And using alien is always the last resort, or to be more precise, don't use it.
In Synaptic, look for Java and install the packages that suit you. If it doesn't show up, you need to add the repositories that contain Java. But again, stick to Ubuntu repositories.
Well, the problem with that is I would like to install the JDK as well as the JRE, both versions 1.5.0 build 7, and it would also be helpful to know how to install binary's or RPM's in the future, instead of just using EUbuntu, which also isn't working, perhaps because I'm running Ubuntu 64 bit? I'm running on my windows HDD now, so I don't have the exact error, something about a .list not matching though.
I agree that you'll want to install Java (the JDK and / or JRE) from Ubuntu's repositories. The current version is 1.5.06.
If you'ld choose not to do so, rather install the .bin than the .rpm. Be warned that installing that way doesn't make Sun's java, javac, javaw, etc., default on your system, CLASSPATH will still be wrong, and you have to configure it all yourself ...
Besides, there are loads of "how to install Java on Ubuntu" threads out there -- they're all obsolete since Ubuntu included Java into their repos.
I agree that you'll want to install Java (the JDK and / or JRE) from Ubuntu's repositories. The current version is 1.5.06.
If you'ld choose not to do so, rather install the .bin than the .rpm. Be warned that installing that way doesn't make Sun's java, javac, javaw, etc., default on your system, CLASSPATH will still be wrong, and you have to configure it all yourself ...
Besides, there are loads of "how to install Java on Ubuntu" threads out there -- they're all obsolete since Ubuntu included Java into their repos.
Ah, you're wrong . We're on build 07 of 1.5 . Well, I forfeited to the rpm battle, and went with the .bins. That was fine, until the $PATH variable came into play, what I didn't know was I had to instantiate the JAVA_PATH and JAVA_HOME variables to the bin folder. It's all fixed now, except I can't get it to plugin to firefox properly. I'll look into it , but help on the plugin would be greatly appreciated.
On my system, $JAVA_HOME points to the folder above bin...
Anyways, as for the Firefox plugin, there should be a file $JRE_HOME/plugin/i386/ns7/libjavaplugin_oji.so. As root, copy that to /usr/lib/mozilla-firefox/plugins.
There are also some properties in Firefox' "about:config" that start with "java", you might want to have a look at them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.