Please refer to this link How to install Qt version 4.8.1 in Kubuntu 14.04.

I have run

sudo make install

Where is .deb file created after run the command sudo make install in qt 4.8 installation process so that I can complete my QT 4.8 installation? I am using Ubuntu Mate OS.

I can't understand these three lines as below in the above link:

  1. This will make a .deb of the source you can install as a normal application via apt
  2. sudo dpkg -i path/to/output.deb
  3. Change path/to/output.deb to the path of the created .deb file.

I can't find the "path/to/output.deb" of created .deb file.

Please help...

  • 2
    sudo make install usually compiles source into a binary; the output being a binary executable - not a .deb file. View the make file itself to see what it does. Your provided link does something different to what you did. (it installs the binary itself without using deb/dpkg/apt/..)
    – guiverc
    Jul 17 '19 at 5:29
  • So according to you @guiverc, after run the commands - > ./configure - > make - > sudo make install -------- Complete QT will be installed?
    – Mehta
    Jul 17 '19 at 5:43
  • 2
    make install is different to checkinstall was my point; but what is built depends on the recipe in the makefile which I have not looked at. Your line in the question "sudo make install (same as sudo checkinstall)" seems to equate make install with checkinstall which is not valid.
    – guiverc
    Jul 17 '19 at 5:58
  • 3
    Possible duplicate of How to install Qt
    – Melebius
    Jul 17 '19 at 8:40
  • 1
    @Melebius I think it's not a duplicate. Certainly not of that one.
    – Kulfy
    Jul 18 '19 at 11:03

It's not necessary to compile Qt4 from source because Qt 4.8 is provided by the qt4-default package in all currently supported versions of Ubuntu. To install it open the terminal and type:

sudo apt install qt4-default  

After you have installed qt4-default you can run the following command to list other available Qt4 packages:

apt search qt4-*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.