Ask Your Question
0

Is there a better way to add the Linphone copr repository?

asked 2016-05-18 06:33:13 -0600

ervinonfedora gravatar image

updated 2016-05-18 07:54:06 -0600

hhlp gravatar image

Since Linphone 3.9.1 which is the latest version for Fedora is not available from official Fedora repositories, I decided to add the nucleo-linphone copr repository which is found here. "Nucleo-Linphone I right clicked on the Fedora 23 file and saved the link as a .repo file. I then opened nautilus with sudo nautilus /etc/yum.repos.d and copied the file from downloads to there. The repository works very well and Linphone 3.9.1 also works quite well. Now the question is, is there an easier way to do this right from the terminal without having to open nautilus and do the copy-paste thing to the /etc/yum.repos.d folder? Here is the nucleo-linphone. repository content.

[nucleo-linphone]
name=Copr repo for linphone owned by nucleo
baseurl=https://copr-be.cloud.fedoraproject.org/results/nucleo/linphone/fedora-$releasever-$basearch/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/nucleo/linphone/pubkey.gpg
enabled=1
enabled_metadata=1
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
5

answered 2016-05-18 08:01:42 -0600

hhlp gravatar image

updated 2016-05-18 08:02:59 -0600

The easy way is :

  1. Open a terminal and type:
  2. sudo dnf copr enable nucleo/linphone
  3. sudo dnf install linphone

this instruction is always the same to enable a COPR repo, HowToEnableRepo, look at the right side of COPR packages page.

image description

edit flag offensive delete link more
-1

answered 2016-05-18 06:54:43 -0600

ervinonfedora gravatar image

updated 2016-07-17 04:40:30 -0600

I used the cp command.

As root : cp /home/username/Downloads/nucleo-linphone.repo /etc/yum.repos.d/nucleo-linphone.repo

Or as sudo if sudo is enabled (that is if you are administrator)

sudo cp /home/username/Downloads/nucleo-linphone.repo /etc/yum.repos.d/nucleo-linphone.repo

Works with any repo file created through a text editor such as gedit. Easier than having to open nautilus as root.

edit flag offensive delete link more

Comments

sudocp...

florian gravatar imageflorian ( 2016-05-18 09:23:54 -0600 )edit

You are right Florian, thanks for noting my typo.

ervinonfedora gravatar imageervinonfedora ( 2016-07-17 04:39:43 -0600 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2016-05-18 06:33:13 -0600

Seen: 392 times

Last updated: Jul 17 '16