How To Install qtcreator on Ubuntu 18.04
Introduction
In this tutorial we learn how to install qtcreator
on Ubuntu 18.04.
What is qtcreator
qtcreator is:
Qt Creator is a cross-platform integrated development environment (IDE) designed to make development with the Qt application framework faster and easier.
It includes:
- An advanced C++ code editor
- Integrated GUI layout and forms designer
- Project and build management tools
- Integrated, context-sensitive help system
- Visual debugger
- Rapid code navigation tools
- Supports multiple platforms
- Qt Quick Designer
There are three methods to install qtcreator
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install qtcreator Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install qtcreator
using apt-get
by running the following command:
sudo apt-get -y install qtcreator
Install qtcreator Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install qtcreator
using apt
by running the following command:
sudo apt -y install qtcreator
Install qtcreator Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install qtcreator
using aptitude
by running the following command:
sudo aptitude -y install qtcreator
How To Uninstall qtcreator on Ubuntu 18.04
To uninstall only the qtcreator
package we can use the following command:
sudo apt-get remove qtcreator
Uninstall qtcreator And Its Dependencies
To uninstall qtcreator
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove qtcreator
Remove qtcreator Configurations and Data
To remove qtcreator
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge qtcreator
Remove qtcreator configuration, data, and all of its dependencies
We can use the following command to remove qtcreator
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge qtcreator
References
Summary
In this tutorial we learn how to install qtcreator
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.