Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start Linux Programming [closed]

Tags:

c++

c

linux

I am working on C++ and COM/ATL in Windows from last few years. Now I want to shift to Linux Programming. I know basic architecture of Linux. I did some of the projects which are using ncurses, sockets and audio libraries(Terminal Applications). On which tool I should be familiar to start with projects. In windows I have started with Win32 Programming then moved to COM and ATL. Win32 Programming gave me the insights of Windows.

Can you give me the steps to start with Linux Programming?

like image 426
Vinay Avatar asked Oct 16 '08 16:10

Vinay


People also ask

How do I get Linux to start with C?

Finally, C is easy to get started with, especially if you're running Linux. You can already run C code because Linux systems include the GNU C library ( glibc ). To write and build it, all you need to do is install a compiler, open a text editor, and start coding.

Can I learn Linux on Windows 10?

WSL lets developers run the GNU/Linux shell on a Windows 10 PC, a very convenient way to access the beloved tools, utilities and services Linux offers without the overhead of a VM. WSL is also the best way to learn Linux on Windows!


1 Answers

  • gcc/g++
  • understand shell basics: probably bash (typically the default)
  • make (you don't have to be an expert, or even use it in your own work, but you should understand it)
  • a scripting language (bash, ruby, python, tcl, perl; you choose)
  • basic unix command line utilities (ls, cd, etc....)
  • an editor: vi or emacs are the most popular choices.
  • linux. your distribution in particular (ubuntu is popular; you may want to start there). know how to tweek your environment and how to fix things when they break.

The rest depends on what you want to do.

You do not need to be an expert at any of this; you will learn over time.

like image 142
ejgottl Avatar answered Sep 24 '22 19:09

ejgottl