gnu c++ compiler

Questions about applications and software
Forum rules
Before you post please read this

gnu c++ compiler

Postby briand1 on Tue Dec 01, 2009 4:39 pm

Can someone help me with the following:

I'm trying to install the gnu c++ compiler but continue to receive the following message

brian@brian-laptop ~ $ apt-get install g++
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 was able to successfully install the C compiler as well as the gnu debugger however I'm having troubles with the c++ compiler

Thanks
briand1
Level 1
Level 1
 
Posts: 4
Joined: Wed Nov 25, 2009 9:04 pm

Linux Mint is funded by ads and donations.
 

Re: gnu c++ compiler

Postby rich_roast on Tue Dec 01, 2009 5:34 pm

briand1 wrote:brian@brian-laptop ~ $ apt-get install g++
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?


What apt is pointing out here is that you need root privileges:

Code: Select all
sudo apt-get install g++
User avatar
rich_roast
Level 6
Level 6
 
Posts: 1136
Joined: Sat Sep 05, 2009 4:37 pm


Return to Software & Applications

Who is online

Users browsing this forum: Google Feedfetcher and 9 guests