LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03:23 PM   #16
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705

Quote:
Originally Posted by Lorax View Post
Yea,
I have tried, from home,
dpkg -i filename.deb


and, from LORAXNETWORK:~/Desktop# (as above),
dpkg -i filename.deb
As suggested please use "ls" to confirm where the file really is. If you are getting the same error message from both home and Desktop, then I suspect it is in neither.

Evo2.
 
1 members found this post helpful.
Old 12-13-2009, 03:24 PM   #17
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
is the file on your root desktop or your user desktop? i.e. is the file located at /root/Desktop/filename.deb or is it located at /home/user/Desktop/filename.deb?
 
1 members found this post helpful.
Old 12-13-2009, 03:25 PM   #18
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by Lorax View Post
Yea,
I have tried, from home,
dpkg -i filename.deb


and, from LORAXNETWORK:~/Desktop# (as above),
dpkg -i filename.deb
ok, combination of post from above. Type in terminal following commands and post the output here please. Also to make it more readable place the output between code tags (# in the icon bar of the editor).

Code:
pwd
ls -al
Kind regards,

Eric
 
1 members found this post helpful.
Old 12-13-2009, 03:25 PM   #19
Lorax
Member
 
Registered: Nov 2009
Posts: 215

Original Poster
Rep: Reputation: 32
Worm and evo,
thank you but I'm so green still, that I don't know how to use
pwd
ls
tab
 
Old 12-13-2009, 03:27 PM   #20
Lorax
Member
 
Registered: Nov 2009
Posts: 215

Original Poster
Rep: Reputation: 32
Thaks Brian!
 
Old 12-13-2009, 03:29 PM   #21
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Lorax, it is ok. You have a problem and you need help. That is how you learn.
 
1 members found this post helpful.
Old 12-13-2009, 03:29 PM   #22
Lorax
Member
 
Registered: Nov 2009
Posts: 215

Original Poster
Rep: Reputation: 32
Eric,

Quote:
LORAXNETWORK:~/Desktop# cd
LORAXNETWORK:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 55G 3.1G 49G 7% /
tmpfs 252M 0 252M 0% /lib/init/rw
udev 10M 732K 9.3M 8% /dev
tmpfs 252M 0 252M 0% /dev/shm
 
Old 12-13-2009, 03:30 PM   #23
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
pwd and ls are commands that you type into the terminal. pwd tells you the "present working directory" ie where you are, eg home or Desktop. The ls comand lists the files in the present working directory. Using these commands you can confirm that the file you are trying to install is there.

Tab, is something different: if you type the first part of a command or file and then press the tab button the shell will try to complete what you were typing for you.

Evo2.
 
1 members found this post helpful.
Old 12-13-2009, 03:30 PM   #24
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by worm5252 View Post
Lorax, it is ok. You have a problem and you need help. That is how you learn.
I second that!
 
1 members found this post helpful.
Old 12-13-2009, 03:40 PM   #25
Lorax
Member
 
Registered: Nov 2009
Posts: 215

Original Poster
Rep: Reputation: 32
pwd & ls:

Quote:
LORAXNETWORK:~# pwd
/root
LORAXNETWORK:~# ls
Desktop
 
Old 12-13-2009, 03:44 PM   #26
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Don't use the root terminal, use your own, then:
Code:
cd Desktop
su root
(enter root password)
Code:
dpkg -i whateveritis.deb
 
Old 12-13-2009, 03:47 PM   #27
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Code:
LORAXNETWORK:~# pwd
/root
LORAXNETWORK:~# ls
Desktop
Ok, so the file is not in the root users home dir. What about in your normal users home dir, or the users Desktop dir or perhaps the users Desktop/Downloads dir. Please use cd and ls to move around the directories and find the file. Also, you will learn your way around by doing this.

eg
Code:
cd /home/yourusername
ls
cd Desktop
ls
And so on.

Evo2.

PS. I could give you a command that would find the file for you, but I think it would be better for you to get used to using these simpler commands.
 
1 members found this post helpful.
Old 12-13-2009, 03:49 PM   #28
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
I agreed with Evo2.

I bet the file is located at /home/yourusername/Desktop/
 
1 members found this post helpful.
Old 12-13-2009, 04:00 PM   #29
Lorax
Member
 
Registered: Nov 2009
Posts: 215

Original Poster
Rep: Reputation: 32
Sorry, had to disappear for a minute. Ok, I will try both your suggestions. I will post outcomes here in a few minutes...

Thank all yous
 
Old 12-13-2009, 04:07 PM   #30
Lorax
Member
 
Registered: Nov 2009
Posts: 215

Original Poster
Rep: Reputation: 32
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...
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 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