how to install pax without using sudo?

Asked by jyo

i have downloaded the pax package from:http://packages.ubuntu.com/precise/pax . when I write apt-get install pax ,then it says cannot open lock file /var/lib/dpkg/lock (permission denied).could u tell me how to install it locally without the use of sudo.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu pax Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Installing a package or software in an y OS is an administrative task, so you will need sudo to do this.

Get your administrator to add you to the sudo group and log off, then on again and you will have sudo access.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

'Installing' the program needs administrative authorizations.

If you do not have any chance to get administrative privileges, but still need to execute the pax commands, you could try the following workaround:

Extract the pax executable file from the .deb installation archive file, move it to your home directory and execute it with
~/pax [options] [parameters]

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You can extract the deb using :

ar x filename.deb

You can download the deb from packages.ubuntu.com

Can you help with this problem?

Provide an answer of your own, or ask jyo for more information if necessary.

To post a message you must log in.