Bitcoin Forum
November 05, 2024, 11:59:58 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: E: Package 'libqt4-dev' has no installation candidate  (Read 107 times)
linz (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 6


View Profile
September 29, 2022, 11:57:51 AM
Merited by NotATether (5), vapourminer (1)
 #1

when i install in ubuntu20
```
sudo apt-get install autoconf libtool pkg-config libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libevent-dev libqt4-dev libcanberra-gtk-module libdb++-dev
   
```
it show E: Package 'libqt4-dev' has no installation candidate

how can i solve it.
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
September 29, 2022, 12:10:20 PM
Merited by vapourminer (1), ABCbits (1)
 #2

You may follow instructions from there:
https://ubuntuhandbook.org/index.php/2020/07/install-qt4-ubuntu-20-04/

Like ETFBitcoin wrote, you need to use an additional repository.

Maybe other option would be to manually download .deb packages from 18.04 and install them on 20.04?
linz (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 6


View Profile
September 29, 2022, 12:13:27 PM
 #3

Qt4 already each end of life, so Ubuntu 20.04 or other more recent linux distro no longer include Qt4 on their repository. You could add third party repository such as ppa:rock-core/qt4[1], but there's no guarantee you won't face another problem. Alternatively, setup a VM or Docker image which contain older linux distro, then compile the application inside it.

[1] https://launchpad.net/~rock-core/+archive/ubuntu/qt4/+packages
thanks ,i use this link https://askubuntu.com/questions/1234786/qt4-libqt4-in-ubuntu-20-04 .can it be ok?
NotATether
Legendary
*
Offline Offline

Activity: 1778
Merit: 7362


Top Crypto Casino


View Profile WWW
September 29, 2022, 01:22:56 PM
Merited by vapourminer (1)
 #4

This is a highly annoying problem that can be solved by adding a PPA that packages QT4. Here are some PPAs for 20.04 and 22.04. In particular, Armory still depends on libqt4 (and it was actually wiped out when I upgraded from Focal to Jammy) but there is a beta version of Armory that runs on QT5.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!