LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 02-17-2012, 03:28 PM   #1
meridius10
Member
 
Registered: Jul 2010
Distribution: Ubuntu 9.10
Posts: 52

Rep: Reputation: 1
Learning C/C++ in Puppy


I have a spare old laptop I would like to use to learn C/C++ in Linux.

Unfortunately I only have mobile broadband (works on Ubuntu) but am looking to see if Puppy already has a compiler to learn C/C++ (i.e. is there any need to download anything?).

If not I will put Ubuntu on it and download whatever is needed as I know it works with my mobile broadband but is a little heavy.
 
Old 02-19-2012, 07:38 AM   #2
liberalchrist
Member
 
Registered: Jun 2011
Location: Clover, SC
Distribution: Slackware Current & FreeBSD
Posts: 122

Rep: Reputation: 26
Puppy is unconventional in that it defaults to a root user and makes it very difficult to work with a normal user. This is absolutely not the type of environment you want to develop programs in, so I think you want to pick almost any other distro. I love Puppy, but it just was not designed for what you suggest.
 
Old 02-20-2012, 05:38 AM   #3
meridius10
Member
 
Registered: Jul 2010
Distribution: Ubuntu 9.10
Posts: 52

Original Poster
Rep: Reputation: 1
Are you aware of any other distro that has a C/C++ compiler installed without needing an internet connection for additional downloads?

I have an old version Xubuntu (8.04) but have had many problems getting it to work.
 
Old 02-23-2012, 02:26 PM   #4
Topaz
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
Smile c++

Quote:
Originally Posted by liberalchrist View Post
Puppy is unconventional in that it defaults to a root user and makes it very difficult to work with a normal user. This is absolutely not the type of environment you want to develop programs in, so I think you want to pick almost any other distro. I love Puppy, but it just was not designed for what you suggest.
Hi
Liberalchrist. I am a game and applications developer and I use puppy for C++, Java and Python because of the issues of permissions of users. Running in root has great advantages when it comes to developement work.

Last edited by Topaz; 02-23-2012 at 02:33 PM. Reason: extra info
 
Old 02-23-2012, 04:57 PM   #5
meridius10
Member
 
Registered: Jul 2010
Distribution: Ubuntu 9.10
Posts: 52

Original Poster
Rep: Reputation: 1
Really simple question but how do you default to root?

Do you need any further installs for a C and C++ compiler in Puppy?
 
Old 02-24-2012, 07:38 AM   #6
Topaz
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
Hi
Quote:
Originally Posted by meridius10 View Post
Really simple question but how do you default to root?
Puppy runs as root by default, You have to do nothing. Your home folder in puppy is called root.
There is another user called spot which is used for runnung the webserver (Hiawatha) in puppy.

[QUOTE Do you need any further installs for a C and C++ compiler in Puppy?[/QUOTE]

Yes you only require the devx.sfs file that provides the compilers and Python.
In puppy its easy to install either using the boot manager or the sfs loader depending on which version of puppy you are using. Just ask a friend to download the devx for the version of puppy you are using from http://distro.ibiblio.org/puppylinux/.

If you decide to go down this route just ask for links and instructions on how to install .sfs files if you get stuck.

Yours Topaz
 
1 members found this post helpful.
Old 02-24-2012, 11:53 AM   #7
meridius10
Member
 
Registered: Jul 2010
Distribution: Ubuntu 9.10
Posts: 52

Original Poster
Rep: Reputation: 1
Thanks for all this info. which I will keep in mind.

I actually installed the latest version of Xubuntu yesterday and ran some updates to get the C++ compiler working on it, but if I use Puppy again for that purpose I will try your suggestions.
 
Old 03-29-2012, 03:23 AM   #8
mahaju
LQ Newbie
 
Registered: Nov 2011
Posts: 16

Rep: Reputation: Disabled
Put the devfx***.sfs (has to match particular puppy version) file on the same location as the lupu528.sfs file
goto menu > system > bootmanager configure bootup > choose which extra sfs files to load at bootup
select the devfx file
restart
gcc should be available in the command line
I think you can set it up to be used through geany as well, but I personally like codeblocks better as IDE
 
Old 03-29-2012, 05:24 AM   #9
meridius10
Member
 
Registered: Jul 2010
Distribution: Ubuntu 9.10
Posts: 52

Original Poster
Rep: Reputation: 1
Thanks. If I ever use Puppy for this purpose then will do...
 
  


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



All times are GMT -5. The time now is 09:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration