LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2009, 12:13 AM   #1
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Rep: Reputation: 32
Help me to install Opera manually - without package manager...


I know it may be a stupid idea because i can just apt-get install opera and it's there (i did that already and it worked). But now i am wondering how to install it manually because i don't understand how installation or packaging works in linux. Again, i could just go and read something on the web but i really want to do this! Without dpkg or apt-get or synaptic

So i went to http://www.opera.com/download/ and it makes me choose my distro (debian/ubuntu etc.) What is the difference what distribution i choose? Which one should i choose now? Does it even matter?

P.S. I'm on Kubuntu (KDE 4.2) now...

I've heard something like that i can't download .deb package and install it but instead i have to get the source and compile it from source. I have no idea why.. well maybe the guy who told me this was wrong..

Hope i get to install Opera manually with your help guys! Thanks!

Last edited by QueenZ; 02-20-2009 at 12:43 AM.
 
Old 02-20-2009, 12:25 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Get the binary for for Debian if you are on Kubuntu.

Edit:
Simon gave a very descriptive answer. But I just downloaded .deb package for Opera and installed it on Hardy. So it should be as simple for you as well.

Last edited by linuxlover.chaitanya; 02-20-2009 at 12:29 AM.
 
Old 02-20-2009, 12:26 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by QueenZ View Post
I know it may be a stupid idea because i can just apt-get install opera and it's there (i did that already and it worked).
Um .. yes.
Quote:
But now i am wondering how to install it manually because i don't understand how installation or packaging works in linux. Again, i could just go and read something on the web but i really want to do this!
Follow the intructions on the Opera website.
Quote:
So i went to http://www.opera.com/download/ and it makes me choose my distro (debian/ubuntu etc.) What is the difference what distribution i choose?
The different options have different package formats - deb for debian and ubuntu etc, rpm for fedora, OpenSUSU etc. Sometimes the different versions take advantage of differences between distros too. But this is unlikely to matter for Opera.
Quote:
Which one should i choose now?
Ubuntu[/quote] Does it even matter?[/quote]yes, versions packaged for other distros won't work.

Quote:
P.S. I'm on Kubuntu (KDE 4.2) now...
Kubuntu is Ubuntu with KDE instead of gnome.
Quote:
I've heard something like that i can't download .deb package and install it but instead i have to get the source and compile it from source. I have no idea why.. well maybe the guy who told me this was wrong..
Maybe - try the ubuntu package and see.
Quote:
Hope i get to install Opera manually with your help guys! Thanks!
But that's hardly a "manual" install since it will just use the same program that apt-get uses to install the browser.

Perhaps what you want to do is learn how to install from source code?

For more info about opera in kubuntu, read:
http://ubuntuforums.org/showthread.php?t=772219

Last edited by Simon Bridge; 02-20-2009 at 12:27 AM.
 
Old 02-20-2009, 12:34 AM   #4
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
1. ok so i downloaded for ubuntu. in result i got opera_9.63.2474.gcc4.qt3_i386.deb, what's next?

2. Could someone tell me why would i need to compile it from source?
 
Old 02-20-2009, 12:37 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
dpkg -i <package-name>.deb.
Or Just double click the icon and Ubuntu will install it for you.

Edit:
You do not need to compile .deb. It is already a installable binary package and not a source package.

Last edited by linuxlover.chaitanya; 02-20-2009 at 12:38 AM.
 
Old 02-20-2009, 12:43 AM   #6
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
linuxlover.chaitanya, I want to install it without using dpkg or apt-get or synaptic...
 
Old 02-20-2009, 12:49 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You are getting confused. apt and synaptic are package managers. But dpkg is not a package manager. It is a debian command to install packages that are in .deb format.
Using dpkg does NOT mean using package manager.
 
Old 02-20-2009, 12:55 AM   #8
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
well i don't want to use any kind of packages... can i just extract .deb archive?
 
Old 02-20-2009, 01:01 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
What do you want to do? You said you want to install opera that you downloaded from the site. If you do not want to install it in this way download the source and compile it. You should not extract .deb. It is a debian format.
 
Old 02-20-2009, 01:03 AM   #10
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
the package manager would 'extract' the package

you are looking for a 'tarball' (.tar.gz or .tar.bz2 etc...)

on opera's site, download click the in .tar.gz format button

Last edited by frieza; 02-20-2009 at 01:05 AM.
 
Old 02-20-2009, 01:07 AM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
well i don't want to use any kind of packages... can i just extract .deb archive?
No. Well .. you can, but it won't be any use to you.

Quote:
Could someone tell me why would i need to compile it from source?
Opera? You don't need to compile it from source, thats what apt-get is for - so you don't need to.

Any program at all?

Not everything has a pre-compiled package... and you could be a developer. Or maybe you want access to something only available in the utter bleeding edge of development which has not been generally released you.

For example - the program Oolite is available in repositories at version 1.69 - IIRC. But the latest version is 1.72 with the utter bleeding edge at 1.73. 1.71, 2 and 3 are available as source code, and have features not supported in the deb version, but are less stable.

If you want to have a go installing from source, with minimum automated assistance, then you need the build-essentials package from the repos - as a minimum - and the source tarball ... that's the .tar.gz file.

This file you extract - inside there will be instructions.

Even so, much of the process is still automated.

Last edited by Simon Bridge; 02-20-2009 at 01:09 AM.
 
Old 02-20-2009, 01:08 AM   #12
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by frieza View Post
the package manager would 'extract' the package

you are looking for a 'tarball' (.tar.gz or .tar.bz2 etc...)

on opera's site, download click the in .tar.gz format button
at last one useful post OK, got that, downloaded opera-9.63.gcc4-shared-qt3.i386.tar.gz I guess now i have to extract it, right? So i'm going to use Ark to do that..

Ok, i'm done. Now i have a folder, here it is. take a look..

http://i44.tinypic.com/2ege4xw.png

now what?
 
Old 02-20-2009, 01:12 AM   #13
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
open a terminal..
cd Desktop/opera* sudo ./install.sh

Last edited by frieza; 02-20-2009 at 01:13 AM.
 
Old 02-20-2009, 01:13 AM   #14
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Hah! Not a good idea to extract to your desktop - just clutters things up. Still, it's done now:

open a terminal

cd ~/Desktop/opera-9

sudo chmod +x install.sh
./install.sh

I'm amazed there is no readme.1st file to explain this.
 
Old 02-20-2009, 01:19 AM   #15
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Quote:
Originally Posted by QueenZ View Post
1. ok so i downloaded for ubuntu. in result i got opera_9.63.2474.gcc4.qt3_i386.deb, what's next?

2. Could someone tell me why would i need to compile it from source?
in answer to your query about why you would want to compile from source

binary distributions are compiled against certain versions of certain libraries with a default set of parameters
for example a media player by default might support a default set of codecs and output methods, but more are available if you enable them at compile time)
, however some times the pre packaged parameters are not adaquate and you need to customize those parameters
or if you are trying to install a version of a program that is more current then what is pre-packaged for your distribution, such as trying to install squid 3 on ubuntu 8
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crashed package manager during install iqbala Ubuntu 9 12-23-2008 08:52 AM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 09:29 AM
How to install SMART package manager? granduke SUSE / openSUSE 2 05-19-2006 06:50 AM
how to manually install a package when dpkg, apt-get are broken and system wont boot. hisnumber666 Linux - Software 17 05-02-2006 12:12 PM
how to install rpm package manager? :))) sawran Linux - Software 3 04-18-2005 08:04 AM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration