LinuxQuestions.org
Visit Jeremy's Blog.
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 09-16-2009, 03:08 PM   #1
tekipepi
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Rep: Reputation: 0
I canīt install because I donīt have permission!....


Iīm trying to install a program in my laptop.
Im using Linux Debian.
Everytime I try to install it it says itīs looking for permission and īAre you Root?ī

How do I get permission for me to install my programs? Please help...
 
Old 09-16-2009, 03:15 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and Welcome to LinuxQuestions,

What program are you trying to install? How are you installing it? Using apt-get, synaptic, from source? Are you logged in as root as the install asks? Or as a normal user. Have you tried using
Code:
sudo <yourinstallationcommand>
Kind regards,

Eric
 
Old 09-16-2009, 03:16 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Welcome to LQ
What are you trying to install?
Use su to become root.
In a terminal type
Code:
su
give the root password
 
Old 09-16-2009, 03:21 PM   #4
tekipepi
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Im trying to install a program named gaych.
Itīs a tar.bz2 type of document...

Problem is I canīt install it because it says permission not accepted then are you root.
This is what comes out
Quote:
/home/user/My Documents> apt-get install
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Iīm running on debian and I just got this laptop really recently. I donīt really know how to run it yet...

Last edited by tekipepi; 09-16-2009 at 03:25 PM.
 
Old 09-16-2009, 03:25 PM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
What is the command you used to install it? Did you unpack it in a terminal or in the file manager?

Please post the command you used and the result.

Kind regards,

Eric
 
Old 09-16-2009, 03:27 PM   #6
tekipepi
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EricTRA View Post
Hello and Welcome to LinuxQuestions,

What program are you trying to install? How are you installing it? Using apt-get, synaptic, from source? Are you logged in as root as the install asks? Or as a normal user. Have you tried using
Code:
sudo <yourinstallationcommand>
Kind regards,

Eric
Im trying to install it using apt-get. Iīm only a normal user cause I donīt know how to log in as root...
 
Old 09-16-2009, 03:28 PM   #7
tekipepi
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EricTRA View Post
What is the command you used to install it? Did you unpack it in a terminal or in the file manager?

Please post the command you used and the result.

Kind regards,

Eric
Im unpacked it in the file manager.
Iīm trying apt-get to install
 
Old 09-16-2009, 03:30 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
To install tar.bz2 file:
replace foo with the name from the file

open a terminal
type
Code:
bunzip2 foo.tar.bz2
tar -xvf foo.tar
cd foo
read the readme files
in general
Code:
./configure
make
su
give the root password
make install
 
Old 09-16-2009, 03:32 PM   #9
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by EricTRA View Post
What is the command you used to install it? Did you unpack it in a terminal or in the file manager?

Please post the command you used and the result.

Kind regards,

Eric
Oops, missed some info you posted.

apt-get is the command you use to install a package from the repository. Since you stated you have the tar.bz2 file, this is not the way to install it.

You'll first have to unzip the package, probably compile it and make + make install it.
Code:
tar xzvf <thefilename.tar.gz2>
try that command in a console first and post the output. If no errors are encountered you should have a directory with the name of the package, I assume. If that is the case, check if you have a file named configure in there.

Kind regards,

Eric
 
Old 09-16-2009, 03:36 PM   #10
tekipepi
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Eric This is what I got

Quote:
> tar xzvf <gyach-enhanced_pyvoice-binary-1.0.7-i586.tar.bz2>
bash: syntax error near unexpected token `newline'
 
Old 09-16-2009, 03:42 PM   #11
tekipepi
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
@repo
What do U mean I change the file name with foo.tar.bz2?

This is the filename of the thing I want to unzip
gyach-enhanced_pyvoice-binary-1.0.7-i586.tar.bz2

How do i do what youīre trying to make me do?
 
Old 09-16-2009, 03:43 PM   #12
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Sorry, my mistake. Use the commands as specified by repo since it's a bz2 compressed file, not a gz file. My apologies, getting time to get horizontal and give the brain some rest I guess.

The commands as posted by repo should work though.

Kind regards,

Eric
 
Old 09-16-2009, 03:43 PM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
then use
gyach-enhanced_pyvoice-binary-1.0.7-i586.tar.bz2
instead of foo.tar.bz2
 
Old 09-16-2009, 03:47 PM   #14
tekipepi
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
it says thereīs no such file in the directory.
Do you think it has something to with me saving the zipped file in file manager?
 
Old 09-16-2009, 03:49 PM   #15
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
in the terminal, you first need to cd to where the file is located.
If the file is on the desktop
Code:
cd Desktop
 
  


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
Newbie on slackware, coming from Debian. Donīt know how to install things stormrider_may Slackware 10 03-08-2006 01:49 PM
How to chown -R don.lab * for don.users Hans Zilles Linux - Newbie 3 11-15-2005 07:53 AM
Suse dontīt boot X; donīt ask for root passwd, YAST donīt work... carrie Linux - Newbie 4 10-08-2004 07:46 AM
Install WinXP after installing Linux Mdk9.1 please read don' t be mad at me yayitze Mandriva 3 04-13-2004 06:28 PM
Why I don’t have to reboot Linux after the install? mikeshn Linux - General 10 04-19-2002 08:05 PM


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