LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-13-2006, 03:12 PM   #1
plainkeyman
LQ Newbie
 
Registered: Jun 2004
Posts: 18

Rep: Reputation: 0
how do i install qt4?


i'm wanting to compile some qt4 code, so i'm trying to install qt4 this way:

apt-get install qt4-dev-tools

but i get this:

E: Couldn't find package qt4-dev-tools


am i not looking at the latest packages available? i've performed:

apt-get update
apt-get upgrade

what am i doing wrong?
 
Old 09-13-2006, 06:07 PM   #2
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 335

Rep: Reputation: 36
You didn't post your distro. Can you try yum instead of apt-get?

Either way- you have to configure either tool to tell it where to look.

You have to add a repository or two - to say where to look for the files...

I'm thinking you are gnome? QT is a pain

This bit did work on Fedora 4 ( a package type install)

------------
Order is important!

# rpm -Uvh qt-*.rpm --force --nodeps
# rpm -Uvh arts-*.rpm --force --nodeps
?? # rpm -Uvh quanta-*.rpm --force --nodeps ?? Hope it's not important
# rpm -Uvh kde-*.rpm --force --nodeps

Should do it!

./configure --enable-libsuffix=64 --without-kde --with-qt-dir=/usr/lib/qt


AMD, Gnome and a symlink


------

HTH
- alar
 
Old 09-13-2006, 06:35 PM   #3
plainkeyman
LQ Newbie
 
Registered: Jun 2004
Posts: 18

Original Poster
Rep: Reputation: 0
distro

i'm using ubuntu dapper drake

i've just been using the apt-get, i haven't tried to install it from source.

as far as repositories, i get this response when updating:

root@ubuntu-server:~# apt-get update
Get:1 http://security.ubuntu.com dapper-security Release.gpg [189B]
Hit http://security.ubuntu.com dapper-security Release
Hit http://security.ubuntu.com dapper-security/main Packages
Get:2 http://us.archive.ubuntu.com dapper Release.gpg [189B]
Get:3 http://us.archive.ubuntu.com dapper-updates Release.gpg [189B]
Hit http://security.ubuntu.com dapper-security/restricted Packages
Hit http://security.ubuntu.com dapper-security/main Sources
Hit http://us.archive.ubuntu.com dapper Release
Hit http://security.ubuntu.com dapper-security/restricted Sources
Hit http://us.archive.ubuntu.com dapper-updates Release
Hit http://us.archive.ubuntu.com dapper/main Packages
Hit http://us.archive.ubuntu.com dapper/restricted Packages
Hit http://us.archive.ubuntu.com dapper/main Sources
Hit http://us.archive.ubuntu.com dapper/restricted Sources
Hit http://us.archive.ubuntu.com dapper-updates/main Packages
Get:4 http://us.archive.ubuntu.com dapper-updates/restricted Packages [14B]
Hit http://us.archive.ubuntu.com dapper-updates/main Sources
Get:5 http://us.archive.ubuntu.com dapper-updates/restricted Sources [14B]


is there a better way to check my repos? also, should i be connecting to a different one? i haven't changed any (or know how to)
 
Old 09-13-2006, 08:19 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 335

Rep: Reputation: 36
No Yum on Ubuntu eh?
With apt-get i see:

root@xyz:/home/123# apt-get install qt4-dev-tools
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libqt4-core libqt4-gui
Recommended packages:
qt4-qtconfig libqt4-dev qt4-doc qt4-designer
The following NEW packages will be installed:
libqt4-core libqt4-gui qt4-dev-tools
0 upgraded, 3 newly installed, 0 to remove and 34 not upgraded.
Need to get 4059kB of archives.
After unpacking, 10.1MB of additional disk space will be used.
Do you want to continue [Y/n]?

----------
So mebbe it is your repository. Did you run automatix?
-----
In /etc/apt

-----
## Automatix sources.list
## This is automatically generated by Automatix


####################################
### Official Ubuntu Repositories ###
####################################

# Dapper Final Release Repository
deb http://archive.ubuntu.com/ubuntu dapper main
deb-src http://archive.ubuntu.com/ubuntu dapper main

deb http://archive.ubuntu.com/ubuntu dapper restricted
deb-src http://archive.ubuntu.com/ubuntu dapper restricted

deb http://archive.ubuntu.com/ubuntu dapper universe
deb-src http://archive.ubuntu.com/ubuntu dapper universe

deb http://archive.ubuntu.com/ubuntu dapper multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper multiverse

# Dapper Security Updates
deb http://archive.ubuntu.com/ubuntu dapper-security main

deb-src http://archive.ubuntu.com/ubuntu dapper-security main

deb http://archive.ubuntu.com/ubuntu dapper-security restricted
deb-src http://archive.ubuntu.com/ubuntu dapper-security restricted

deb http://archive.ubuntu.com/ubuntu dapper-security universe
deb-src http://archive.ubuntu.com/ubuntu dapper-security universe

deb http://archive.ubuntu.com/ubuntu dapper-security multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-security multiverse

# Dapper Bugfix Updates
deb http://archive.ubuntu.com/ubuntu dapper-updates main
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main

deb http://archive.ubuntu.com/ubuntu dapper-updates restricted
deb-src http://archive.ubuntu.com/ubuntu dapper-updates restricted

deb http://archive.ubuntu.com/ubuntu dapper-updates universe
deb-src http://archive.ubuntu.com/ubuntu dapper-updates universe

deb http://archive.ubuntu.com/ubuntu dapper-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper-updates multiverse

# Dapper Backports (new software versions, provided by the Ubuntu Backports Project)
#deb http://archive.ubuntu.com/ubuntu dapper-backports main
#deb-src http://archive.ubuntu.com/ubuntu dapper-backports main

#deb http://archive.ubuntu.com/ubuntu dapper-backports restricted
#deb-src http://archive.ubuntu.com/ubuntu dapper-backports restricted

deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

#deb http://archive.ubuntu.com/ubuntu dapper-backports universe
#deb-src http://archive.ubuntu.com/ubuntu dapper-backports universe

#deb http://archive.ubuntu.com/ubuntu dapper-backports multiverse
#deb-src http://archive.ubuntu.com/ubuntu dapper-backports multiverse

deb http://archive.canonical.com/ubuntu dapper-commercial main

##############################
### Automatix Repositories ###
##############################

deb http://www.getautomatix.com/apt dapper main

## created by automatixrepo3
deb http://wine.lowvoice.nl/apt dapper main
deb http://theli.free.fr/packages/ dapper listen
deb http://people.ubuntu.com/~seb128/deb ./
deb http://dl.google.com/linux/deb/ stable non-free
deb http://www.beerorkid.com/compiz/ dapper main

-------------


Don't take this as gospel. Run Automatix to get an accurate list.

Bonne chance,
Alar

 
Old 06-20-2011, 06:55 PM   #5
magicg
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Installing from terminal

Look at:
install-climber.blogspot.com/2011/06/installing-complete-qt-4-environment-on.html
 
Old 06-20-2011, 08:07 PM   #6
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 12.1 & Scientfic Linux 6.1
Posts: 7,295

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
magicg
Please DO NOT resurrect a dead thread from 2006
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IDEs with QT4 eantoranz Programming 9 11-16-2010 08:35 AM
qt3 together with qt4 marekjs Slackware 2 06-28-2006 07:16 AM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM
installing qt4 fakie_flip Programming 7 09-14-2005 09:04 PM
qt3 or qt4 crAckZ Programming 1 09-06-2005 05:08 PM


All times are GMT -5. The time now is 08:45 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration