Our Linux installation instructions are short because we assume the Linux users to be relatively adept at installing and setting up software on their own machine. We do not provide detailed Linux install/setup help. If you are unable to get Qt Creator working on your Linux machine, please consider using another machine or working on a campus cluster computer.
1. Install necessary packages on your system
If you're running Ubuntu, Debian, Mint, or any other Debian derivative: Open a terminal and type the following command, then press Enter:
sudo apt-get -y install openjdk-8-jre qtcreator build-essential
If you're running Red Hat or Fedora: Open a terminal and type the following command, then press Enter:
sudo yum install qt-creator
If you're running some other variant of Linux, make sure you have the following tools installed on your system:
And then go to the following Qt Creator download page and download the appropriate variant of Qt Creator for your Linux distribution. Under "Linux Host", you want the Qt for Linux, either 32-bit or 64-bit depending on your computer. (If you are not sure, try the 32-bit version.)
2. Try to compile/run a sample project
Let's make sure that all the parts are working together properly by building and running a sample Qt Creator project that uses the Stanford C++ libraries. The Stanford C++ libraries also interact with Java, so if this project runs properly for you, then you will be sure that your Qt Creator and Java JDK are both set up properly. Here's what to do:
If you encounter any problems during your attempt to compile and run the sample project, check out our Qt Creator troubleshooting page. Otherwise, congratulations; you're done!