Ask Your Question

How can i transform older distribution commands to fedora 19 command?

asked 2013-09-17 00:37:12 -0500

Gula gravatar image

updated 2014-09-28 15:34:49 -0500

mether gravatar image

Like these: 1
sudo add-apt-repository ppa:webupd8team/java 2
sudo apt-get update 3
sudo apt-get install oracle-java7-installer

And where can i find/learn a complete description about all the installation methods?

edit retag flag offensive close merge delete



Not one of those commands is appropriate to any version of Fedora. Fedora uses yum, so check yum's man page for details.

sideburns gravatar imagesideburns ( 2013-09-17 01:15:17 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2013-09-17 02:33:41 -0500

mrunge gravatar image

You're trying to use ubuntu package archives. Those don't fit to Fedora at all.

It looks like you're trying to install java. There is already openjdk in Fedora repositories, and it works in most cases very well.

edit flag offensive delete link more

answered 2013-09-17 01:40:15 -0500

Pascal76 gravatar image

updated 2013-09-17 02:41:41 -0500

shaiton gravatar image

This is done by yum, the Yellow Dog updater Modified. (as root)

yum install foo
yum remove foo
yum update
yum clean all

The repos are configured in files you normally do not need to change. (only add maybe for adobe flash, google earth or so)

Here is a comparison

For more information see the manual via man yum

edit flag offensive delete link more


Thx. And why cant i use this repository: ppa:webupd8team/java? It says, that it must be a http or something like that, but it works on nonfedora linux. So how to use it on fedora, if i have to?

Gula gravatar imageGula ( 2013-09-17 01:58:34 -0500 )edit

I used this command: yum-config-manager --add-repo ppa:webupd8team/java Now its in the repo list, and the system try to use it, but its answer with the error that its not http or ....

Gula gravatar imageGula ( 2013-09-17 02:01:00 -0500 )edit

as mrunge already posted you are trying to mix up here your distribution with ubuntu. That's not a good deal - and you should learn very much more about yum package management systems Fedora uses. Use manpages or search the internet about that. Topic closed in my minds..

Pascal76 gravatar imagePascal76 ( 2013-09-17 05:49:56 -0500 )edit

To be explicit: Apt/DEB and Yum/RPM are completely separate packaging and updating systems, Apt being used by Debian-based Linux distributions (Debian, Ubuntu, Mint etc.), and Yum being used by Fedora-based distributions (Fedora, Red Hat Enterprise, CentOS etc.). You cannot use repositories designed for one system with another.

Gareth Jones gravatar imageGareth Jones ( 2013-09-17 17:19:23 -0500 )edit

answered 2013-09-18 08:33:00 -0500

sea gravatar image

If you want install software, check if yum has it already:

yum search java
yum list java*
yum info java-1.8.0-openjdk


edit flag offensive delete link more

answered 2013-09-17 22:12:09 -0500

davidva gravatar image

updated 2013-09-17 22:17:59 -0500

what? you need migrate to Fedora... you can't run correctly a apt... because no exist a full support for it (repositories for example)... In Fedora you use "yum"

For all, please read

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-09-17 00:37:12 -0500

Seen: 486 times

Last updated: Sep 18 '13