-2

On latest version Ubuntu 14.04 LTS, I have tried this :

sudo apt-get install yum

Then it says :

sudo password for user

And nothing gonna happen , if hit enter 3 times it says 3x incorrect attempt.

I'm beginner to Linux

Benoit
  • 7,497
  • 1
  • 24
  • 34
Swapnil
  • 823
  • 1
  • 9
  • 22
  • The proposed duplicate question explains that nothing is displayed when you enter your password. But why are you trying to install an rpm? Most packages are available as `.deb` somewhere and these are preferred on Debian based distributions such as Ubuntu. `.rpm` is for Red Hat based linux. – Warren Hill Jul 04 '14 at 09:51
  • @WarrenHill I have JDK8 i586/x86_64 .rpm and netbeans-8.0-linux.sh – Swapnil Jul 04 '14 at 09:56
  • Then perhaps this is the question you are looking for: [How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE?](http://askubuntu.com/q/56104/107450) – Warren Hill Jul 04 '14 at 10:01
  • @WarrenHill no I'm beginner on Linux so it's haven't yum want to install yum how to install yum – Swapnil Jul 04 '14 at 10:03
  • 2
    See [When would yum be of use to an Ubuntu user?](http://askubuntu.com/q/161437/107450). I've never used it myself. – Warren Hill Jul 04 '14 at 10:08
  • @WarrenHill so we can't install .rpm and .sh packages? – Swapnil Jul 04 '14 at 10:11
  • It's possible, but not easy for a beginner. Edit your question to tell us exactly what you would like to install and we can probably tell you an easier way to do it. – Warren Hill Jul 04 '14 at 10:15
  • @WarrenHill I want install jdk8-8u5-linux-x64.rpm and NetBeans-8.0-linux.sh on ubuntu 14.04 lts – Swapnil Jul 04 '14 at 10:22
  • 2
    @user73898 Why?! Install the .tar.gz version of jdk8* That does not depend on an installer. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html – Rinzwind Jul 04 '14 at 10:31
  • @Rinzwind it's doesn't need by terminal? – Swapnil Jul 04 '14 at 10:33
  • Sorry but you make no sense at all. Of course it needs a terminal?! I said: it does not depend on apt-get or yum so you do not need a programm to install it. – Rinzwind Jul 04 '14 at 10:35
  • @Rinzwind ok thank you so tell me how to install .gz and .sh packages .thank you very much – Swapnil Jul 04 '14 at 10:38

1 Answers1

3

Do not use version for other Linux releases if you can avoid it. rpm is for Redhat. On the download page there is also a version ending in .tar.gz. Use that.

Installtion is the same as unpacking the tar.gz file (it does not have an installation process and all you need to do is untar the file and move the files to a location you like).


Installation:

  • download the file from the link
  • cd /opt/
  • `sudo tar xvfz /tmp/jdk* .

(change /tmp/ to where you download your files).

and you will find the files under /opt/jdk1.8.0_05/

Setting it up and configuring parameters is up to you.

Rinzwind
  • 293,910
  • 41
  • 570
  • 710