LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 10-03-2006, 05:19 PM   #1
paul85
Member
 
Registered: Jul 2005
Location: New Jersey
Distribution: FC 5, Ubuntu
Posts: 92

Rep: Reputation: 15
installing downloaded package


I'm new to Ubuntu been using Fedora. I downloaded Opera but when I opened the download the archive manager would not install. the file was opera... .deb. Also when I did the install I was not asked for a root password just the password for my username, did I mess something?

Can I access the files in my fedora /home/user dir ie, media, word, spreadsheet, etc?

thanks
 
Old 10-03-2006, 05:57 PM   #2
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Rep: Reputation: 30
Ubuntu by default makes you use sudo rather than become root.

If you want to set a root password you can do sudo passwd root then enter the new password.

That will let you do su and go to root.
 
Old 10-03-2006, 08:25 PM   #3
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 636
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
I've seen some issues myself

Quote:
Originally Posted by paul85
I'm new to Ubuntu been using Fedora. I downloaded Opera but when I opened the download the archive manager would not install. the file was opera... .deb. Also when I did the install I was not asked for a root password just the password for my username, did I mess something?

Can I access the files in my fedora /home/user dir ie, media, word, spreadsheet, etc?

thanks
I have heard reports that some of the early .deb packages for Opera 9.0 were not built correctly for certain systems. I am on a Ubuntu system right now myself.

I will go out to Opera and see if I can get their Deb and try it out. Just the other night, I was on my SimplyMEPIS 6.0 distro, which, as of 6.0, happens to use both Ubuntu based packages and the Ubuntu modified Debian kernel. I seem to recall having problems installing and getting Opera 9.02 working on that system, but I believe I tried something different and got it to work.

Let me experiment and I will write back; it's probably fixed by now, if there even WAS a problem, but I'll let you know.
 
Old 10-03-2006, 08:25 PM   #4
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Rep: Reputation: 30
I just reformatted my buntu box and installed opera an hour before he asked.

It works.
 
Old 10-03-2006, 08:35 PM   #5
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 636
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Confirmed it works also

Quote:
Originally Posted by Pauli
I just reformatted my buntu box and installed opera an hour before he asked.

It works.
I just installed it using Ubuntu. Whether it was working before or not, it works now.

Here is some information from my particular installation:

Version
9.02
Build
434
Platform
Linux
System
i686, 2.6.15-23-386
Qt library
3.3.6
Java
Java Runtime Environment installed
Browser identification

Opera/9.02 (X11; Linux i686; U; en)
Paths
Preferences
/home/masinick/.opera/opera6.ini
Saved session
/home/masinick/.opera/opera.win
Bookmarks
/home/masinick/.opera/opera6.adr
Opera directory
/home/masinick/.opera/
Cache
/home/masinick/.opera/cache4/
Mail directory
/home/masinick/.opera/mail/
Plug-in path
/usr/lib/opera/plugins
User CSS directory
/home/masinick/.opera/styles/user/
 
Old 10-04-2006, 07:32 PM   #6
paul85
Member
 
Registered: Jul 2005
Location: New Jersey
Distribution: FC 5, Ubuntu
Posts: 92

Original Poster
Rep: Reputation: 15
I downloaded opera again and saved it to my desktop. However when I attempt to install the package I get the following msg"

Could not open "opera_9.02-20060919.6-shared-qt_en_i386.deb"

Archive type not supported.

Does it matter that I'm running 5.1 x86_64?


thanks
 
Old 10-04-2006, 07:44 PM   #7
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
Go to a console and run dpkg -i on it.
That should work.
 
Old 10-05-2006, 10:50 AM   #8
paul85
Member
 
Registered: Jul 2005
Location: New Jersey
Distribution: FC 5, Ubuntu
Posts: 92

Original Poster
Rep: Reputation: 15
I've tried this twice with no success, any suggestions?


paul@ubuntu:~$ ls Desktop
opera_9.02-20060919.6-shared-qt_en_i386.deb

paul@ubuntu:~$ sudo dpkg -i /Desktop/opera_9.02-20060919.6-shared-qt_en_i386.deb
dpkg: error processing /Desktop/opera_9.02-20060919.6-shared-qt_en_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/Desktop/opera_9.02-20060919.6-shared-qt_en_i386.deb
 
Old 10-05-2006, 10:58 AM   #9
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
Does it matter that I'm running 5.1 x86_64?
Of course it matters. You can't install an i386 app on a 64-bit OS.
 
Old 10-05-2006, 11:09 AM   #10
paul85
Member
 
Registered: Jul 2005
Location: New Jersey
Distribution: FC 5, Ubuntu
Posts: 92

Original Poster
Rep: Reputation: 15
Then expalin why I was able to run 32 bit apps under a 64 bit os Fc3_64 I was able to run both 64 and 32 bits apps including opera.
 
Old 10-05-2006, 11:50 AM   #11
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Because Fedora builds you a kind of "chroot" for executing 32 bit apps. I think Suse may do that as well. On Debian based systems, you have to build your own, and it ain't particularly easy. Isn't there a 64-bit version of Opera? Search Ubuntu's 64-bit help pages. They seem to have a method.

(Actually, what Fedora does isn't exactly a chroot, but it accomplishes the same thing. They actually somehow integrate both architectures. Debian considered it and decided it wasn't worth the effort for a temporary problem.)

Last edited by rickh; 10-05-2006 at 11:54 AM.
 
Old 10-05-2006, 12:12 PM   #12
paul85
Member
 
Registered: Jul 2005
Location: New Jersey
Distribution: FC 5, Ubuntu
Posts: 92

Original Poster
Rep: Reputation: 15
No at the current time ther is no 64 bit version of Opera. But they did list the following proceedure for Ubuntu:

Procedure

1. apt-get install dchroot debootstrap
2. Choose a location that has ample free space (e.g., /usr/chroot32), and invoke mkdir /usr/chroot32.
3. Add that location, $CHROOT32, to /etc/dchroot.conf in the form of $UBUNTURELEASENAME $CHROOT32, where $UBUNTURELEASENAME = {'breezy', 'hoary', 'warty'}.
4. Invoke debootstrap --arch i386 $UBUNTURELEASENAME $CHROOT32.
5. Add the following lines to $CHROOT32/etc/apt/sources.list:
1. deb http://archive.ubuntu.com/ubuntu $UBUNTURELEASENAME main restricted universe multiverse
2. deb http://archive.ubuntu.com/ubuntu $UBUNTURELEASENAME-security main restricted universe multiverse
3. deb http://archive.ubuntu.com/ubuntu $UBUNTURELEASENAME-backports main restricted universe multiverse
6. Invoke chroot $CHROOT32 and dpkg-reconfigure locales.
7. Invoke apt-get update and apt-get dist-upgrade.
8. Outside of the chroot environment, edit the main system's /etc/fstab, adding the following lines:
1. /home $CHROOT32/home none bind 0 0
2. /tmp $CHROOT32/tmp none bind 0 0
3. /dev $CHROOT32/dev none bind 0 0
4. /proc $CHROOT32/proc none bind 0 0
5. /etc/passwd $CHROOT32/etc/passwd none bind 0 0
6. /etc/shadow $CHROOT32/etc/shadow none bind 0 0
7. /etc/group $CHROOT32/etc/group none bind 0 0
8. /etc/sudoers $CHROOT32/etc/sudoers none bind 0 0
9. /etc/hosts $CHROOT32/etc/hosts none bind 0 0
10. /etc/resolv.conf $CHROOT32/etc/resolv.conf none bind 0 0
11. /etc/nsswitch.conf $CHROOT32/etc/nsswitch.conf none bind 0 0
12. For all entries in /media, perform a binding step similar to the ones above.
9. Invoke mount -a.
10. Create a script, $SCRIPT, that contains the following lines:
1. #!/bin/sh
2. /usr/bin/dchroot -d "`echo $0 | sed 's|^.*/||'` $*"
11. Invoke chmod +x $SCRIPT.

I'll try this and let you know. Haven't done something like this before. If it doesn't work I guess 'll install 5.10-32
 
Old 10-05-2006, 03:14 PM   #13
paul85
Member
 
Registered: Jul 2005
Location: New Jersey
Distribution: FC 5, Ubuntu
Posts: 92

Original Poster
Rep: Reputation: 15
I've gotten as far as step4, when I proceeded on (5) $chroot32/etc/apt there was no sources.list, should it have been created in the prior step?
 
  


Reply



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
downloaded package off web. install not in tree damoncf Debian 2 03-08-2006 04:49 PM
Eliminate dependency on gentoo from package installed from downloaded source aeruzcar Linux - Distributions 2 10-02-2005 12:50 PM
Possible to search by content of package not downloaded yet? davidas Debian 4 04-09-2004 03:28 AM
installing an unstable package from debian's online package archive ganninu Debian 13 11-07-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:32 PM.

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
Open Source Consulting | Domain Registration