how do i compile code and write code in ubuntu? An IDE : Geany can help you,it just work as Ides on windows .