LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2014, 02:22 PM   #5311
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886

Quote:
Originally Posted by ddsglq View Post
I am happy to hear that my effort to port my program wasn't only for me. I only wish all these things like critical sections etc were already built into linux so it would make porting easier for everyone. So everyone doesn't have to rewrite them from scratch for their programs.
I don't know much about programming and what your program actually does, but if you use application frameworks like Qt cross-platform development becomes much easier.
Quote:
There is another thing I want to know. Coming from the windows world I am used to providing my software in binary format. One file that users can run to install their program painlessly. Is there anyway I can provide a single binary that will run and install on all distros. There is a bewildering number of distros and if I want a program either I have to look in the distro repository or I have to compile from source. Compiling from source is a pain that I would not wish on my users or on my worst enemies. I cant put my program in the distro repository because these repositories only accept "Free" programs. So I want to provide binaries but I don't know how to go about it with so many distros. Even now I have two systems one running linux mint and the other running windows 8. Now name any program and I can probably find a binary distribution on the publisher site for windows, but I would have to compile from source for linux. And if I try to compile from source I will enter dependency hell. First it would require some library or other, then that library will require something else or the other etc until I give up and use the windows system instead. Point click install run done. I want such simplicity in distributing for linux also. Any ideas for how to provide direct download binaries for linux?
Many games come with binary installers, mostly all they depend on is a certain minimum version of the Glibc. Dependency hell can be avoided by compiling statically as much as possible or providing your own libraries in your softwares directory.
But you better ask a programmer about that, I would recommend to ask that question again in a new thread in the Programming subforum.
 
Old 06-18-2014, 02:35 PM   #5312
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,107

Rep: Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282
Quote:
Originally Posted by TobiSGD View Post
You will get the latest version of Flash if you use Chrome/Chromium. Some developers are also working on a plugin for Firefox that makes Chrome's Flash available for Firefox: https://github.com/i-rinat/freshplayerplugin
So far I got it to work on Youtube and other video-sites, but not for the single Flash game I am playing.
You can also use pipelight and WINE-pipelight to use the latest flash for ms-windows and a few other ms-windows plug-ins.
 
Old 06-18-2014, 02:39 PM   #5313
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by NGIB View Post
Turbotax & Winamp.

I have yet to find a program in Linux that can manage music and especially playlists on portable players. My wife still uses a Sandisk MP3 player and I can manage it on Winamp very easily. Yes, many of the music apps will transfer files to and from but NONE that I have found will manage and transfer playlists. I hooked up my Samsung Galaxy Player (Android MTP) to Mint yesterday and Banshee went nuts and kept adding instances of the player - finally had to force close it.

I'd love to leave Windows behind and I do not mind paying for software that works...
Aside from banshee,. have you tried:

amarok
clementine
rhythymbox
 
Old 06-19-2014, 06:11 AM   #5314
irneb
Member
 
Registered: Apr 2010
Location: Jo'burg SA
Distribution: Kubuntu, Lubuntu, Fedora, FreeBSD
Posts: 201

Rep: Reputation: 66
Quote:
Originally Posted by ddsglq View Post
There is another thing I want to know.
Firstly, I'm with you in the idea about porting from Windows to Unix / BSD / Linux / OSX / etc. It's sometimes "easy", but in most cases whole reams of code needs re-writing, or even worse re-debugging.

The trick to make this easier from the start is to use system agnostic methods and libraries as much as possible. E.g. for UI stuff try using a system independent set like Qt / wxWidgets / etc. Those work reasonably fine as is without extra programming - it's when you have a system specific one where trouble starts (e.g. WinForms / WPF in windows, or GTK in Linux).

For 3d graphics, the same applies - though the answer is even less nice. Rather than linking to Microsoft's DirectX/3d libraries, you're better off with OpenGL. Or you could try something like GLUT / XEngine.

As for system specifics like hard-locks on files, I'd advise against (as you've found). Rather try some other means and don't rely on the system to do it all for you. (Edit) Even if only targeting one single system, I'd still avoid this as much as possible - e.g. so many used settings and loading of libs in XP from non-system-secure locations that the same program needed to be run as administrator in W7 (i.e. as per root on Linux). And because they were written this way to start off with, the new security measures in later Windows have made them a lot less used these days. So my advise is to steer clear of tying yourself to any specifics which you don't control - i.e. OS "specials".

You'd definitely need an IDE and/or compiler which allows to compile code to various systems / hardware. It would also be preferable to have one which includes remote debugging and then run the other system(s) in a VM - makes life a lot simpler. Else you'll end up with various sets of source code - best method is to both compile and debug to all systems each time.

As for distributions, in Linux you'd need at least a DEB and a RPM distribution file. See these as similar to Microsoft's MSI format - though they have a few extras which might make it easier. Also try to avoid using specific libraries (especially version specific). And I've found some weird stuff happening if you go with 32/64 bit specific things, especially through RPM in Fedora (DEB under Ubuntu seems to work better with 32/64 mixes). If you're also targeting BSD the default is to compile from source, though the tendency is that someone running BSD as a server / desktop would already have some foreign install capability from a RPM/DEB file. For Apple's OSX you'd need to package into a PKG file.

The normal way I've seen this is to have all the variants available (or at least the most prevalent like MSI/DEB/RPM/PKG) for download. If you also distribute on CD/DVD/BR you might look at methods to auto-run the disc - which then also differs between systems (or even not possible on some systems / setups).

Then if you also want to target smart phones / tablets, there's about just as many similar things to think about. Both UI/Graphics/System libraries as well as packaging methods differing between Android / iOS / WP8 / etc.

So unfortunately there's no one-size fits all solution. But with a lot of forward planning you can make the effort a lot less.

Last edited by irneb; 06-19-2014 at 06:24 AM.
 
1 members found this post helpful.
Old 06-19-2014, 06:32 AM   #5315
irneb
Member
 
Registered: Apr 2010
Location: Jo'burg SA
Distribution: Kubuntu, Lubuntu, Fedora, FreeBSD
Posts: 201

Rep: Reputation: 66
Quote:
Originally Posted by ddsglq View Post
Now name any program and I can probably find a binary distribution on the publisher site for windows, but I would have to compile from source for linux.
I'll admit that's true for programs which aren't meant to run on all systems. Though even very large programs tend to go with the multiple install file download idea as per my previous post.

E.g. look at BricsCad's installers: http://bricsys.com/en_INTL/
Provides the Windows MSI as well as the Linux DEB and RPM files for download. And no source code provided as this program is closed-source.
 
Old 06-19-2014, 09:18 AM   #5316
dearcat
LQ Newbie
 
Registered: Feb 2012
Location: Maine
Posts: 17

Rep: Reputation: Disabled
Flash Player

TobiSGD, Danka for the reply. I do have Chromium. However, Linux, Google and all web is fairly new to me. I have worked on computers since 1986 but not on line. Installed programs, pieces of programs, taught and wrote some in DOS. How do I download the program you mention and you say it will not work on games?
 
Old 06-19-2014, 09:40 AM   #5317
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by dearcat View Post
TobiSGD, Danka for the reply. I do have Chromium. However, Linux, Google and all web is fairly new to me. I have worked on computers since 1986 but not on line. Installed programs, pieces of programs, taught and wrote some in DOS. How do I download the program you mention and you say it will not work on games?
The freshplayer plugin is currently in early alpha state and not meant for everyday use, but rather for developing and testing. This also means that you at this time have to clone the repository (using git), compile it from source and copy the files manually into the plugin directories. This worked for me at least to get Youtube working, but it crashed on a Flash game. So while it is a nice thing in the future, at this point I would not advise to use the plugin. Anyways, this plugin is meant for Firefox (and probably other browsers with the NPAPI plugin interface), with Chromium you should already have the latest Flash if your distribution offers a package for that (contrary to Chrome, where Flash comes inbuilt, Chromium needs to install the player separately).
 
Old 06-19-2014, 11:29 AM   #5318
allenwilkyrobertson
LQ Newbie
 
Registered: Jun 2013
Location: Saint Paul Park, MN
Distribution: Ubuntu 12.04 LTS (64 bit)
Posts: 7

Rep: Reputation: Disabled
A simple question. Why all of the off topic discussion?
 
Old 06-19-2014, 11:34 AM   #5319
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Sort of happens when a thread is kept open for 11 years.
 
Old 06-20-2014, 04:04 AM   #5320
postcd
Member
 
Registered: Oct 2013
Posts: 527

Rep: Reputation: Disabled
all software ported, some kind of virtualisation.

but mainly:
miranda
skype
all games
Freemake video converter
 
Old 06-20-2014, 05:56 AM   #5321
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by postcd View Post
all software ported, some kind of virtualisation.

but mainly:
miranda
skype
all games
Freemake video converter
Don't know for the rest (many games will work with Wine, some already have native Linux versions), but Skype already has a native Linux version.
 
Old 06-20-2014, 08:55 AM   #5322
irneb
Member
 
Registered: Apr 2010
Location: Jo'burg SA
Distribution: Kubuntu, Lubuntu, Fedora, FreeBSD
Posts: 201

Rep: Reputation: 66
Quote:
Originally Posted by postcd View Post
all software ported, some kind of virtualisation.

but mainly:
miranda
skype
all games
Freemake video converter
Unfortunately Miranda's not possible (it's very much tied to Win32 through DotNet) - it might be possible to port it through Mono though. It is open source, so any one can try to do so. But I fear the main reason no-one's attempting it is that there's already 100's of IM apps available in Linux, some at least equal to Miranda.

As for Freemake, similar applies. I like Handbrake & MediaCoder, but again there's hundreds to choose from.
 
Old 07-23-2014, 12:58 PM   #5323
kjell159
Member
 
Registered: Aug 2013
Distribution: Fedora 20 jam, SME Server
Posts: 32

Rep: Reputation: 1
Microsoft Office,
I prefer using LibreOffice and MS Office kind of works in wine but it is still wine and not Linux native.
Some features don't work at all through wine.
+ official support would be great

A fast search only gives one mentioning on the official MS forums about this subejct. : http://social.technet.microsoft.com/...eitproprevious

There are other mentionings but I guess it are mere myths rather than 'kind of' facts.
I understand MS isn't looking into letting their Office users choose their OS.
The reason why they support MS Office on OS X in the first place is probably just the fact that it's user base has been growing so fast the last years that they otherwise would lose a lot of customers which wouldn't be the case with Linux (so they think!).

Still a lot of governments, agencies, the NASA, enterprise users, ... use Linux based operating systems,
so come on MS, go port MS Office to Linux and maybe one day you have one more customer who has been withdrawn from you since a longer while (me).

Now that I'm ranting,
why doesn't MS start making a UNIX or Linux (unix-like) operating system?
Why don't they make Windows 9 based on the Linux kernel rather then the uhum... NT-kernel.
Windows is the only modern non-UNIX-(like) operating system still around.
Linux distributions are UNIX-like, OS X runs the Bach kernel which is UNIX, BSD is a UNIX OS, ...
These are the most widely used and on desktop it is even just: Windows, OS X, Linux.

Port all file systems, formats, ... to a Linux environment, make everything graphical and add a clear terminal application rather then their (sorry, my opinion) sucky command prompt. The command prompt can be a little fun when you only use Windows occasionally but a bash CLI for example is far superior and more usable.
Users won't notice a difference because they usually are only used to a graphical environment.

It also disses the so called 'long' updates Mac users are known to laugh about when they compare their updating system to Windows PC's users.
(I remember the +/- 500 updates I didn't have an idea about what they where for when trying to shutdown my computer, thank Linus Torvalds because he came up with a GNU inspired OS so I can enjoy Mac users their pleasure in a free + open-source way.)

Of course this is much harder than it is to tell but... they are Microsoft, Bill Gates is known to be one rich, intelligent, expanding guy?!


Of course I don't like this idea on the other hand because I like the feel of safety, speed, originality by using Linux.
I only know two other people in real life that also use Linux.
But it is still a good question I think, do they (microsoft) make a lot of money by laying contacts with antivirus vendors or something?
That would be the only reason I can come up with thay they still aren't making a UNIX OS after all these years,
they did have been developing a UNIX system (Xenix) long ago but where has it gone to then?

Last edited by kjell159; 07-23-2014 at 01:26 PM.
 
Old 07-25-2014, 09:03 AM   #5324
lurkerlol
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
a program to port programs to linux
 
Old 07-25-2014, 06:10 PM   #5325
kjell159
Member
 
Registered: Aug 2013
Distribution: Fedora 20 jam, SME Server
Posts: 32

Rep: Reputation: 1
Quote:
Originally Posted by lurkerlol View Post
a program to port programs to linux
I know that is a joke but what if that could actually be possible.
That would be awesome.
And of course make it so that all platforms can port to all other platforms.
Kind of like an audio file converter.
 
  


Reply

Tags
cad, clone, debian, dreamweaver, drivers, editing, editor, education, eeepc, elite, etch, flash, future, gimp, itunes, keyboard, kppp, linux, lotus, macro, macromedia, mandriva2007, modem, music, news, newsreader, nntp, office, open, openoffice.org, pdf, photoshop, pim, port, porting, poster, printing, program, programs, quicken, recognition, shockwave, sled, software, softwares, sound, source, speech, suse, usenet, video, wvdial, xandros



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
What games would you like to see ported to Linux? jeremy Linux - Games 1553 04-08-2020 01:00 AM
Linux Programs Ported to Windoze ddpicard General 15 08-05-2010 06:59 PM
Has Winamp been ported to Linux? neilcpp Linux - Software 48 05-31-2010 03:00 PM
Exeem to be ported to linux cadj Linux - Networking 0 01-26-2005 11:02 PM
New Forums! Want a game ported to Linux? Jimbobbob Linux - Games 5 10-04-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration