Developing in Linux for Linux....


Recommended Posts

Hello,

Im currently developing in Windows for a Linux OS (all 32 bit) but Ive thought to myself: Why not develop in Linux itself?

Im going to make a virtual machine (VirtualBox) but use a Shared Folder so I dont have to move/copy folders/files. Ill problably just share all of C:

Anyways, thats another topic. What I want to do is know development side what walls Im going to hit.

I use MyEclipse for Spring, Sublime Text 2, Notepad++, Photoshop, all web browsers, Java, TomCat, MySQL, PuTTY, FileZilla, and OpenVPN for development related purposes.

I believe that is all. First, what distro should I use? Besides easy to manage, has to be lightweight as this will run on a virtual machine.

Thank you

Link to comment
https://www.neowin.net/forum/topic/1182407-developing-in-linux-for-linux/
Share on other sites

I'd go with debian 7/.2

I thought the same as you, however the development tools on windows won out, and I had to do a lot more hacks and such to get the code to work on Windows than linux.  So what I do now is write all code on Windows, and just port it and recompile on linux.

Hello,

  On 16/10/2013 at 11:06, firey said:

I'd go with debian 7/.2

I thought the same as you, however the development tools on windows won out, and I had to do a lot more hacks and such to get the code to work on Windows than linux.  So what I do now is write all code on Windows, and just port it and recompile on linux.

What was your target? Windows or Linux? My target is Linux but its actually Java so........doesnt really matter much.

Its to get used to deving in Linux as well...

  On 16/10/2013 at 11:08, riahc3 said:

Hello,

What was your target? Windows or Linux? My target is Linux but its actually Java so........doesnt really matter much.

Its to get used to deving in Linux as well...

 

Target is multi platform.  Using C++/SDL.  I did all C++ using Gedit and had command open to be able to run make and it worked well.. but I found it tedious to find issues.. whereas Visual Studio would tell me straight up.  And things that would compile 100% with gcc would fail on windows.

Hello,

  On 16/10/2013 at 11:13, firey said:

Target is multi platform.  Using C++/SDL.  I did all C++ using Gedit and had command open to be able to run make and it worked well.. but I found it tedious to find issues.. whereas Visual Studio would tell me straight up.  And things that would compile 100% with gcc would fail on windows.

C++ and VS?
  On 16/10/2013 at 11:16, riahc3 said:

Hello,

C++ and VS?

I know it's different than Java, however that may have a nice ide on Linux.  Plus if you need to get to know the file system.   However as Java is platform independant (will have the same sets of libraries) the code should be pretty close to 1:1 windows/linux

Hello,

  On 16/10/2013 at 11:19, firey said:

I know it's different than Java, however that may have a nice ide on Linux.  Plus if you need to get to know the file system.   However as Java is platform independant (will have the same sets of libraries) the code should be pretty close to 1:1 windows/linux

What I ment is developing C++ with Visual Studio I havent heard in years!
  On 16/10/2013 at 11:26, riahc3 said:

Hello,

What I ment is developing C++ with Visual Studio I havent heard in years!

Really? I dunno Visual Studio 2010 makes C++/C# development a breeze.   The intellisense is better for C# (as are the error messages) but it's a great environment.

Though as I say.. Debian 7 is what I use linux wise.

  On 16/10/2013 at 10:57, riahc3 said:

I use MyEclipse for Spring, Sublime Text 2, Notepad++, Photoshop, all web browsers, Java, TomCat, MySQL, PuTTY, FileZilla, and OpenVPN for development related purposes.

Other than Notepad++, Photoshop and IE, everything else on your list are available in Linux.

Oh and Putty = ssh from terminal.

 

And I vote for Debian as well. Some of its packages may not be the bleeding edge version, but it's stable as hell.

If you pick the stable release, of course. There's also testing (which is somewhat stable, I've never had any issues) and unstable :)

http://www.debian.org/releases/stable/

http://www.debian.org/releases/testing/

http://www.debian.org/releases/unstable/

Hello,

  On 16/10/2013 at 13:29, firey said:

Really? I dunno Visual Studio 2010 makes C++/C# development a breeze.   The intellisense is better for C# (as are the error messages) but it's a great environment.

Though as I say.. Debian 7 is what I use linux wise.

But AFAIK, its not standard C++. MS's version right?

Hello,

  On 16/10/2013 at 13:55, GreenMartian said:

Other than Notepad++, Photoshop and IE, everything else on your list are available in Linux.

Oh and Putty = ssh from terminal.

 

And I vote for Debian as well. Some of its packages may not be the bleeding edge version, but it's stable as hell.

If you pick the stable release, of course. There's also testing (which is somewhat stable, I've never had any issues) and unstable :)

http://www.debian.org/releases/stable/

http://www.debian.org/releases/testing/

http://www.debian.org/releases/unstable/

I accept WINE. I know Notepad++ can run on WINE.

There are more than enough native editors for Linux. No need to use Notepad++ in WINE.

As for your original question: what are you coding - command line programs? GUI programs? If the latter, which toolkit are they using? There are various possible dev environments you can use depending on your needs.

Also Fedora > Debian. :shifty:

Hello,

  On 16/10/2013 at 16:10, Mephistopheles said:

There are more than enough native editors for Linux. No need to use Notepad++ in WINE.

Such as?

  On 16/10/2013 at 16:10, Mephistopheles said:

As for your original question: what are you coding - command line programs? GUI programs? If the latter, which toolkit are they using? There are various possible dev environments you can use depending on your needs.

Also Fedora > Debian. :shifty:

Im coding Tomcat's web services, basically. Command line. Nothing huge.

Hello,

  On 17/10/2013 at 08:59, Mephistopheles said:

WINE only adds more bloat. Unnecessary bloat in this case. If I were you I'd rather configure one of the native Linux editors to my liking.

Bloat? Wine visually simply adds a menu AFAIK. There are no visible changes. Has Wine changed a lot or something?

  On 17/10/2013 at 09:00, James123 said:

Out of interest, what do you do in Notepad++ that you can't do in Sublime Text which has a native Linux build?

Nowadays, I just Sublime Text 2 instead of Notepad++ but sometimes I use Notepad++ for some text editing that I dont like in Sublime Text 2 for some reason.
  On 16/10/2013 at 15:09, riahc3 said:

Hello,

But AFAIK, its not standard C++. MS's version right?

Visual Studio can compile C++ (the regular standards defined one), C++/CLI (Managed C++ running on .NET) and C++/CX (The new metro one).

 

  On 16/10/2013 at 16:13, riahc3 said:

Hello,

Such as?

 

I just use Sublime when I'm on a linux system.

 

Just tossing this out there as an option since you're working with Java, JetBrain's IntelliJ is a pretty nice IDE to work with too.  Commercial but there's a free community version as well (watered down of course), it supports a bunch of things besides Java (Python, Ruby, all the major JVM languages, etc), has Windows, OSX and *Nix builds, etc. Just my own opinion but preferred it to Eclipse, just seemed more stable for me, never mind "smoother" to use and overall more productive.

http://www.jetbrains.com/idea/features/index.html

 

Would sorely love to see Notepad++ ported over to *Nix one of these days though for an all purpose editor.

  On 17/10/2013 at 09:03, riahc3 said:

Hello,

Bloat? Wine visually simply adds a menu AFAIK. There are no visible changes. Has Wine changed a lot or something?

WINE is another software layer - it provides an emulation of the Windows API. How else would Windows apps work on Linux?

 

The additional layer uses additional resources you don't really need to waste just for an editor.

  On 17/10/2013 at 09:07, Mephistopheles said:

WINE is another software layer - it provides an emulation of the Windows API. How else would Windows apps work on Linux?

It's not an emulator.  It's even in the name.  (Linux sure loves those recursive acronyms.)  It just brings in the various libraries like any other dependency.

Hello,

  On 17/10/2013 at 09:06, Max Norris said:

Just tossing this out there as an option since you're working with Java, JetBrain's IntelliJ is a pretty nice IDE to work with too.

I dislike Java as a whole :p and IntelliJ and Netbeans really just appear horrible to me.

 

 

  On 17/10/2013 at 09:07, Mephistopheles said:

WINE is another software layer - it provides an emulation of the Windows API. How else would Windows apps work on Linux?

 

The additional layer uses additional resources you don't really need to waste just for an editor.

AFAIK, Wine doesnt run in the background or anything. Just uses compatible libraries for Windows programs. It doesnt take resources up.

Also, the ammount of resources it takes up is so small it is not noticable.

  On 17/10/2013 at 09:19, riahc3 said:

I dislike Java as a whole :p and IntelliJ and Netbeans really just appear horrible to me.

Not a fan myself (Scala is growing on me though), just going by your first post (Tomcat, Java, etc), although the portability is quite appealing.  That said the IDE itself is actually pretty solid, I use their fork-of-sorts PyCharm (based on IntelliJ) for Python stuff, for that at least it's miles ahead of Eclipse's PyDev.  And ugh not a fan of NetBeans either.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • "Elon Musk says a kid-friendly 'Baby Grok' is on the way" No kid wants to be a baby anymore. "Kid friendly" I would have named it "Kid Grok"
    • TP-Link Tri-Band AXE5400 Wi-Fi 6E Gaming Router Archer GXE75 is just $135 by Sayan Sen If you’re juggling gaming consoles, 4K streams and a growing roster of smart devices, the TP-Link Archer GXE75 Tri-Band AXE5400 Wi-Fi 6E Gaming Router is a good option to look at right now, considering the device is currently on sale at just $135 (purchase link under the specs table below). The Archer GXE75 promises up to 5.4 Gbps of throughput across three bands: 574 Mbps on 2.4 GHz, 2402 Mbps on 5 GHz and 2402 Mbps on 6 GHz (HE160 channels enabled). A 2.5 Gbps WAN/LAN port pairs with three 1 Gbps LAN ports and a USB 3.0 port for fast file sharing or printer access (purchase link down below). The quad-core CPU and 512 MB of RAM should help to handle multiple streams without bogging down, while MU-MIMO, OFDMA and 1024-QAM improve efficiency when several devices connect simultaneously. The router’s built-in Game Accelerator engine is said to automatically prioritize gaming packets (both wired and wireless), and TP-Link’s GPN (Gamers Private Network) acceleration can reduce packet loss for supported titles. HomeShield security brings firewall protection, device quarantining and parental controls. The technical specifications of the router are given below: Specification Details Wireless Standards IEEE 802.11ax 6 GHz; IEEE 802.11ax/ac/n/a 5 GHz; IEEE 802.11ax/n/g/b 2.4 GHz Wi-Fi Speeds 6 GHz: 2402 Mbps (802.11ax); 5 GHz: 2402 Mbps (802.11ax); 2.4 GHz: 574 Mbps (802.11ax) Spatial Streams 6 streams (tri-band OFDMA/MU-MIMO) Processor 1.7 GHz 64-bit Quad-Core CPU Memory 512 MB high-speed RAM Ethernet Ports 1× 2.5 Gbps WAN/LAN; 1× 1 Gbps WAN/LAN; 3× 1 Gbps LAN USB 1× USB 3.0 SuperSpeed port (up to 10× faster than USB 2.0) Antennas 4× high-performance external antennas with Beamforming Buttons Power On/Off; Reset; WPS/Wi-Fi; LED On/Off Working Modes Router Mode; Access Point Mode Security WPA, WPA2, WPA3, WPA/WPA2-Enterprise; SPI firewall; Access Control; IP/MAC binding; Application-layer gateway; HomeShield security suite VPN OpenVPN, PPTP, L2TP (server & client); WireGuard (server & client) Software & Services IPv4/IPv6; TP-Link HomeShield; EasyMesh; Parental controls; QoS by device; WAN types (Dynamic IP, Static IP, PPPoE, PPTP, L2TP); DDNS (TP-Link, NO-IP, DynDNS); auto firmware updates Gaming Features Game QoS boost; gaming-port priority; Gamers Private Network acceleration; game-port forwarding; real-time game panel with stats & RGB control Operating Environment 0 °C – 40 °C; 10 %– 90 % non-condensing humidity Get the TP-Link Tri-Band AXE5400 Wi-Fi 6E Gaming Router Archer GXE75 at the link below: TP-Link Tri-Band AXE5400 Wi-Fi 6E Gaming Router Archer GXE75 | EasyMesh, HomeShield: $159.99 + $25 off with coupon => $134.99 (Sold and Shipped by Amazon US This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Oh no... here we go again. Tha same sh*t that happaned to Mail & Calendar...
    • I too have worked with pro gear for decades and so I found the interface to be unintuitive from both the pro and casual side (a rare "accomplishment" by what are obviously otherwise skilled coders, hehe). I eventually got it to work, thanks for offering, but I found other compatibility issues with my own use case, so I just dropped it entirely. Right now, I just use an analog line out/line in approach which works as expected across all usage scenarios. With both machines on the same power block/outlet, I'm not getting any analog hum or hiss. My next step will be to try the updated Multiplicity 4 when a bug, addressing this very issue unfortunately, is resolved. Knowing Stardock, that could be tomorrow or five years from now, so I check back every few months to see it it's fixed and I want to upgrade. Again, thanks for offering to help.
  • Recent Achievements

    • Rookie
      Snake Doc went up a rank
      Rookie
    • First Post
      nobody9 earned a badge
      First Post
    • One Month Later
      Ricky Chan earned a badge
      One Month Later
    • First Post
      leoniDAM earned a badge
      First Post
    • Reacting Well
      Ian_ earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      Michael Scrip
      203
    3. 3
      ATLien_0
      197
    4. 4
      Xenon
      137
    5. 5
      +FloatingFatMan
      116
  • Tell a friend

    Love Neowin? Tell a friend!