LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-13-2009, 05:10 PM   #31
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled

See my previous post #26.
 
Old 12-13-2009, 05:15 PM   #32
Lorax
Member
 
Registered: Nov 2009
Location: 34653, New Port Richey, FL
Distribution: Rockin the Kubuntu, Baby!
Posts: 215

Original Poster
Rep: Reputation: 31
BrianL,
I did what you said. It worked. But why does it NOT work in GUI????
Before I SOLVE this thread, I want to try it with another file...
 
Old 12-13-2009, 05:15 PM   #33
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by Lorax View Post
cd /home/nrc3/Desktop:
reveals the file on user's desktop. I knoew it was there. I put it there! I just don't know where the error is...
If it matters, I'm using root terminal...
You say it is there, but you don't *show* us.
Please do the following:
Code:
cd /home/nrc3/Desktop
ls | grep deb
dpkg -i packagename.deb
The 2nd command will just list all the deb files.

Then cut and paste the commands and their output from your terminal and post it here.

Cheers,

Evo2.
 
Old 12-13-2009, 05:20 PM   #34
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by Lorax View Post
BrianL,
I did what you said. It worked. But why does it NOT work in GUI????
Don't know. I've always installed .deb files from the terminal. As far as installing anything from a GUI goes, I only use Synaptic. Otherwise, it's the terminal with dpkg or apt-get.
 
Old 12-13-2009, 05:22 PM   #35
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Lorax, your problem was a matter of location

You downloaded the file and saved it in /home/nrc3/Desktop. However when you became root you changed to the /root directory. This is done automatically when you change to root in some cases. This is why i had suggested the command 'pwd'. In your case you had 2 options to installing the flash 10 file.

1. You can change to the correct directory and install it
Code:
cd /home/nrc3/Desktop
dpkg -i filename.deb
2. You could run the dpkg command with an absolute filename.
Code:
dpkg -i /home/nrc3/Desktop/filename.deb
It may be worth it to you to read up on the difference between relative and absolute file paths. It will help you understand how to navigate your system when in command line. In a nutshell an absolute file path is the location of a file starting from /. A Relative file location path is the location of a file starting from where ever you currently are. Once you learn the difference you will find yourself using it without even thinking about it. You will start running commands like "cd ../../Foldername/" or "cd /usr/share/".
 
Old 12-13-2009, 05:25 PM   #36
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by Lorax View Post
BrianL,
I did what you said. It worked.
Ok, so basically the cause of your problem whas that you were runnning
"dpkg -i packagename.deb" in one directory, while the file was in a different directory.

Quote:
But why does it NOT work in GUI????
To tell you the truth, I was never aware that "clicking on" a deb file was supposed to install it... but I don't used file browsers. Can anyone confirm that this is even the expected behaviour?

Quote:
Before I SOLVE this thread, I want to try it with another file...
Just make sure you confirm the file is where you think it is :-)

Cheers,

Evo2.
 
Old 12-13-2009, 05:31 PM   #37
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Lorax,
Here is a tip to help you in the future. When you change from your normal user account to root, you can do it 2 ways. You can type 'su' and enter the root password. This will make you root without changing what directory you are in. The other way is to type 'su -l" and enter your root password. This will change you to root and move you to the /root/ directory.
 
Old 12-13-2009, 05:31 PM   #38
Lorax
Member
 
Registered: Nov 2009
Location: 34653, New Port Richey, FL
Distribution: Rockin the Kubuntu, Baby!
Posts: 215

Original Poster
Rep: Reputation: 31
ok, i must restart my FF. Too slow, brb...
 
Old 12-13-2009, 05:47 PM   #39
Lorax
Member
 
Registered: Nov 2009
Location: 34653, New Port Richey, FL
Distribution: Rockin the Kubuntu, Baby!
Posts: 215

Original Poster
Rep: Reputation: 31
evo:

Quote:
nrc3@LORAXNETWORK:~$ cd /home/nrc3/Desktop
nrc3@LORAXNETWORK:~/Desktop$ ls | grep deb
debian-multimedia-keyring_2008.10.16_all.deb
install_flash_player_10_linux.deb
I already installed per Brian's instructions
 
Old 12-13-2009, 06:07 PM   #40
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
Quote:
To tell you the truth, I was never aware that "clicking on" a deb file was supposed to install it.
It's not. A .deb file is just a collection of files; much like a tar file. You'd need to setup gnome or kde to run something like "gksu dpkg -i $1.deb" before a GUI could automatically install it. Given that normal users aren't supposed to be installing packages (other than with sudo), as well as that you should normally use apt (apt-get, synaptic, etc) to install packages from a repository, there's little reason to setup the GUI to install a .deb.
 
Old 12-13-2009, 06:12 PM   #41
Lorax
Member
 
Registered: Nov 2009
Location: 34653, New Port Richey, FL
Distribution: Rockin the Kubuntu, Baby!
Posts: 215

Original Poster
Rep: Reputation: 31
Evo, worm, brian, Eric, quake! Thank you all! Thumbs-up all around! You all were right, but Worm's statement about shifting user-to-root was balls-to-the-walls dead on!

I am sure that I have seen somewhere, "download this .deb file and double-click, or you can dpkg from terminal..."
I thought the icon was to be used in the GUI, no? Why is it there if it really has no use????

Somebody mentioned Synaptics. I have seen that around... I think it belongs in this thread as a (part of a) solution. Please eleborate on what it is and how it is used, and if it is a file that I can download...

Now it's time to relax with a Dubian!

Thanks, friends!

Last edited by Lorax; 12-13-2009 at 06:17 PM. Reason: Edit
 
Old 12-13-2009, 06:26 PM   #42
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Did you start off with KDE, or start with Gnome and add KDE (like I did) when you installed Debian? Synaptic is a GUI package manager, you can browse all the available software and install from it. It comes as standard with Gnome, but if you've just got KDE I think you'll have to insall it using aptitude or apt-get in the terminal:
Code:
su root
aptitude update
aptitude install synaptic
or
Code:
su root
apt-get update
apt-get install synaptic
I think those are right.
 
Old 12-13-2009, 06:47 PM   #43
Lorax
Member
 
Registered: Nov 2009
Location: 34653, New Port Richey, FL
Distribution: Rockin the Kubuntu, Baby!
Posts: 215

Original Poster
Rep: Reputation: 31
I started with Gnome, but can't find any reference to Synaptic on my system. A weird thing, though: I installed Amarok media player today, and now I seem to have a partitial KDE as well!
 
Old 12-13-2009, 06:50 PM   #44
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Amarok requires KDE so it is likely that kde-base was installed as a dependency for Amarok. Synaptic is a GUI package manager for Gnome. It is a GUI front end for apt-get/aptitude.
 
Old 12-13-2009, 06:50 PM   #45
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
It's in the System => Administration menu. For Gnome, that is.

Last edited by brianL; 12-13-2009 at 06:54 PM.
 
  


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
Games as .debs yorapper Linux - Games 15 01-23-2010 06:00 AM
Seamonkey DEBs? newbiesforever Linux - General 4 08-28-2009 02:39 PM
RAR and UNRAR >3.51 freeware: debs for debian or deb http:// for sources.list? frenchn00b Debian 6 11-12-2008 02:21 AM
I can't install updates/use debs/or update synaptics 449 Linux - Software 2 01-20-2008 10:36 PM
install .debs torger Ubuntu 6 03-24-2006 08:23 PM


All times are GMT -5. The time now is 06:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration