LinuxQuestions.org
Review your favorite Linux distribution.
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, 04:32 AM   #1
sharky
Member
 
Registered: Oct 2002
Posts: 526

Rep: Reputation: 74
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, 07:34 AM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 3,894

Rep: Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092
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 07:36 AM.
 
Old 05-31-2019, 07:39 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,417

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
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 07:42 AM. Reason: added bit about "sudo"
 
Old 06-01-2019, 12:23 AM   #4
sharky
Member
 
Registered: Oct 2002
Posts: 526

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

Thanks,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10: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 11:33 PM
[SOLVED] unable to create centos / opensolaris bootable usb device using startup disk creator sriramdas Linux - Laptop and Netbook 10 06-25-2012 10:47 AM
devede_3.16 DVD CREATOR -HOW TO INSTALL kumar116 Linux - Newbie 1 05-06-2010 09:00 AM

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

All times are GMT -5. The time now is 12:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration