LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2019, 03:32 AM   #1
sharky
Member
 
Registered: Oct 2002
Posts: 569

Rep: Reputation: 84
Install qt-creator on Centos


Download qt-creator-4.1.0-4.el7.x86_64.rpm and run

Quote:
sudo yum install ./qt-creator-4.1.0-4.el7.x86_64.rpm
Gets an error

Quote:
Error: Package: qt-creator-4.1.0-4.el7.x86_64 (/qt-creator-4.1.0-4.el7.x86_64)
Requires: qt-creator-data = 4.1.0-4.el7
So I download qt-creator-data-4.1.0-4.el7.noarch.rpm and run

Quote:
sudo yum install ./qt-creator-data-4.1.0-4.el7.noarch.rpm
Which returns this error.

Quote:
Error: Package: qt-creator-data-4.1.0-4.el7.noarch (/qt-creator-data-4.1.0-4.el7.noarch)
Requires: qt-creator = 4.1.0-4.el7
It's a vicious loop.

As a work-around I try installing with rpm -Va --nofiles --nodigest as recommended by yum. This runs with nothing returned to the terminal; no errors, warning, info, nothing. But after it runs there is no 'creator' or 'qt-creator' executable found and nothing new appears in the system menu.

How to install qt-creator on centos 7.6?
 
Old 05-31-2019, 06:34 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The trick is to provide both RPM files to yum at the same time. Try
Code:
yum localinstall qt-creator-4.1.0-4.el7.x86_64.rpm  qt-creator-data-4.1.0-4.el7.noarch.rpm
Perhaps it also works with install instead of localinstall.

EDIT: The yum man page says that install should be used instead of localinstall. One never stops learning.

Last edited by berndbausch; 05-31-2019 at 06:36 AM.
 
Old 05-31-2019, 06:39 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
It's in the epel repo, so you should be able to install it normally via yum if you have the epel repo enabled in yum's repolist.

You could also use the rpm command to force an installation if worst comes to worst.

Also, sudo is not used by default in CentOS.

Code:
[root@jamespc ~]# yum info qt-creator
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.optus.net
 * elrepo: ftp.cc.uoc.gr
 * epel: ucmirror.canterbury.ac.nz
 * extras: mirror.colocity.com
 * ius: ftp.acc.umu.se
 * nux-dextop: li.nux.ro
 * updates: mirror.optus.net
Available Packages
Name        : qt-creator
Arch        : x86_64
Version     : 4.1.0
Release     : 4.el7
Size        : 15 M
Repo        : epel/x86_64
Summary     : Cross-platform IDE for Qt
URL         : http://qt-project.org/wiki/Category:Tools::QtCreator
License     : GPLv3 with exceptions
Description : Qt Creator is a cross-platform IDE (integrated development environment)
            : tailored to the needs of Qt developers.

Last edited by jsbjsb001; 05-31-2019 at 06:42 AM. Reason: added bit about "sudo"
 
Old 05-31-2019, 11:23 PM   #4
sharky
Member
 
Registered: Oct 2002
Posts: 569

Original Poster
Rep: Reputation: 84
Adding epel repo worked. qt-creator is running and also added to system menu.

Thanks,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing QT Creator on Centos 7.0 nprakash Linux - Newbie 1 10-22-2014 09:30 AM
livecd-creator centos 5.4 some errors while creating ISO and on boot of the ISO niteshadw Linux - Distributions 3 02-21-2013 10:33 PM
[SOLVED] unable to create centos / opensolaris bootable usb device using startup disk creator sriramdas Linux - Laptop and Netbook 10 06-25-2012 09:47 AM
devede_3.16 DVD CREATOR -HOW TO INSTALL kumar116 Linux - Newbie 1 05-06-2010 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration