Installation trouble of "wine-1.5.2.tar.bz2" on ubuntu 12

Asked by Asif ansari on 2012-09-14

 i had downloaded given wine version and extracted it with

tar -xjvf wine-1.5.2.tar.bz2

folder wine-1.5.2 is created
as README.txt says write


it shows

Permission denied

what to do further...Help me with the installation procedure..

Question information

English Edit question
Ubuntu wine Edit question
No assignee Edit question
Solved by:
Asif ansari
Last query:
Last reply:

Why not just use the Wine PPA. Far easier.....

'Ubuntu 12' also doesn't exist. It is Ubuntu 12.04 (Precise).

Asif ansari (asif-ansari4u) said : #3

Whats Wine PPA? and how to use it?

man,i know its ubuntu12.04, i was bit lazy.... :)

Asif ansari (asif-ansari4u) said : #5

I am new to linux...
 Do you mean online installation?

Yes, you add the PPA then install the application easily using the first link in the results on that page

Asif ansari (asif-ansari4u) said : #7

links not helping,unable to understood.......plz help me with the step by step procedure of what to type in terminal

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.5

The guide shows how to do it using the GUI too

Asif ansari (asif-ansari4u) said : #9

First 2 steps completed successfully....but for 3rd the output was :

asif@asif-desktop:~$ sudo apt-get install wine1.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine1.5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'wine1.5' has no installation candidate

Fom the link I gave above;


You could have even used software centre.....

Asif ansari (asif-ansari4u) said : #11

Without using software center, how can i install it from the downloaded .tar file

Asif ansari (asif-ansari4u) said : #12

 now i m not on a fast connection....the file size is quite large

you will need to compile it which will require installing more packages, it will be quicker and more suitable to install the packages as given rather than mess around with compiling.

Asif ansari (asif-ansari4u) said : #14

downloading in UBUNTU SOFTWARE CENTER or TERMINAL, are resumable or not?

no unfortunately. If you have a slow link then do it overnight

Asif ansari (asif-ansari4u) said : #16

Thats what i am doing.... -_-

Asif ansari (asif-ansari4u) said : #17

Output :

asif@asif-desktop:~$ sudo apt-get install wine1.5
[sudo] password for asif:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Do you have software centre open or updates running. If so then close it or let the updates fiish. If not then run:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

Then retry

Asif ansari (asif-ansari4u) said : #19