Hetendra
Posts: 10
Joined: Thu Aug 25, 2016 6:19 am

Installing gcc

Thu Aug 25, 2016 3:06 pm

I am having problem in installing gcc in my respberry pi , Can anyone please tell how to replace jessie to scratch?

User avatar
joan
Posts: 14960
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Installing gcc

Thu Aug 25, 2016 3:15 pm

I think gcc is pre-installed in all Raspbian versions on the Raspberry Pi.

Why do you mention Scratch?

Hetendra
Posts: 10
Joined: Thu Aug 25, 2016 6:19 am

Re: Installing gcc

Thu Aug 25, 2016 3:28 pm

Thankyou for response
I m following one article for installing the gcc and one step was to replace the jessie by scratch
By command open /etc/apt/sources.list
So now please suggest what should I do I want to dp programming in C& C++

User avatar
Douglas6
Posts: 4874
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Installing gcc

Thu Aug 25, 2016 3:30 pm

I took that to mean 'reinstall Jessie from scratch'. In which case, simply backup and re-image the SD card.

Hetendra
Posts: 10
Joined: Thu Aug 25, 2016 6:19 am

Re: Installing gcc

Thu Aug 25, 2016 3:37 pm

Sorry sir I dint get that
Can you tell how to backup n reimage?

And I m also having one more problem in opening pdf file it is not
Supported in raspberrypi

User avatar
scruss
Posts: 3256
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Installing gcc

Thu Aug 25, 2016 4:02 pm

If

Code: Select all

sudo apt install build-essential
doesn't work, then there's something wrong with your Raspbian image or your network connection.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

User avatar
Paeryn
Posts: 2987
Joined: Wed Nov 23, 2011 1:10 am
Location: Sheffield, England

Re: Installing gcc

Thu Aug 25, 2016 4:11 pm

Hetendra wrote:And I m also having one more problem in opening pdf file it is not
Supported in raspberrypi
Xpdf should be able to open them. I can't remember if it's installed by default (it's on mine and I don't remember installing it), if not then you can install it with either

Code: Select all

sudo apt-get install xpdf
or from the desktop, go to the Menu->Preferences->Add/Remove Software. Choose Publishing from the list on the left, then scroll down the list on the right and select Portable Document Format (PDF) reader (it'll be near the bottom of the list).

If, when you try to open a .pdf file from the desktop, you get a window asking to choose an application to open with, click on the + next to Accessories and PDF Viewer should be there. If it is, select it, make sure the tick box at the bottom for Set selected application as default for this type is ticked, click Ok. From now on it xpdf should open .pdf files for you.
She who travels light — forgot something.

User avatar
joan
Posts: 14960
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Installing gcc

Thu Aug 25, 2016 4:42 pm

Douglas6 wrote:I took that to mean 'reinstall Jessie from scratch'. In which case, simply backup and re-image the SD card.
Ah yes, just like a cryptic crossword, obvious when explained.

Hetendra
Posts: 10
Joined: Thu Aug 25, 2016 6:19 am

Re: Installing gcc

Thu Aug 25, 2016 4:44 pm

How to play the audio n video in respbian?
it's not working in its inbuilt sound n video player

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Installing gcc

Fri Aug 26, 2016 12:37 am

Hetendra wrote:How to play the audio n video in respbian?
it's not working in its inbuilt sound n video player
Can you stop adding new questions to your old thread, it's just confusing for everyone. Start a new thread for a new unrelated question.

Search for omxplayer and omxplayergui that works as long as your RPi has the audio configured correctly.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”