Re^3: How start an application on Linux
by davido (Cardinal) on Jan 17, 2014 at 18:05 UTC
|
If you have a windows box, you can boot to Linux from an Ubuntu image on a thumb drive, or run it in Virtual Box, or set up dual-boot, or any of a number of other options. You might actually like it. ;)
| [reply] |
|
|
I presume that you are talking about a Ubuntu live system on a USB stick. That should be fine, provided that it can share data with Windows on the HDD, maybe via a small fat-formatted partition. I will try to find out whether my PC can boot from a USB device. Many thanks for this advice.
Once I had created a dual-boot config, with Grub as the boot mgr, but not residing in the MBR, to protect the MBR from getting destroyed. It worked for a good while, but then ... I swore to never dare this adventure again.
| [reply] |
|
|
Ubuntu/Linux can read NTFS formatted partitions. No reason that you couldn't read the machines HDD if you're booted off a USB stick (in fact, this is a fairly common method to rescue/repair/recover failed/failing HDDs).
| [reply] |
|
|
Re^3: How start an application on Linux
by karlgoethebier (Abbot) on Jan 17, 2014 at 18:00 UTC
|
A matter of taste ;-) But i think it should be installed in /usr/local/bin or perhaps /opt/bin.
Keep in mind that it is always good practice to leave system Perl untouched.
And IMHO you should have access to a Linux box and test the install routine also there.
Please see also Filesystem_Hierarchy_Standard.
Update:
The paths you mentioned should be in the PATH environment variable under normal circumstances, as well as the ones i mentioned. So the user can say sudokutrainer.pl in his terminal and the app should launch.
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
| [reply] [d/l] [select] |
|
|
Forcing your code to install in particular directories is a Very Bad Idea Indeed.
Do *not* see the "filesystem hierarchy standard". It is Linux-specific, but in any case it is unnecessary. Just rely on perl (via Module::Build or ExtUtils::MakeMaker) to know where to install it.
| [reply] |
|
|
"Forcing your code to install in particular directories is a Very Bad Idea Indeed."
Mmh, if i use Module::Build i can force my code to install in particular directories too, isn't it?
As far as i understood, i can set installdirs to core, site or vendor.
So in this case i would end up having a sudoku trainer somewhere in my Perl directory :-[
One might ask so what, but for me this vision is a pain in the ass.
On Linux such stuff is traditionally installed in /usr/local/bin or /opt/bin.
IMHO a much better place - and by chance d’accord with Filesystem_Hierarchy_Standard.
Best regards, KGB
«The Crux of the Biscuit is the Apostrophe»
| [reply] [d/l] [select] |
|
|
Re^3: How start an application on Linux
by three18ti (Monk) on Jan 18, 2014 at 20:52 UTC
|
Yes you do. Everyone has access to Linux
Go here and download Virtual Box. Virtual Box will allow you to run an operating system inside of Windows without affecting the parent operating system.
Once you have downloaded Virtual Box, you will need a Linux distribution. For a beginner I would recommend Ubuntu, but any flavor of Linux will work.
Here's a few links to download Linux
I've ordered them from lowest to highest learning curve. You should be able to plug the Ubuntu ISO into VBox and run it, while ArchLinux will require more work (there's no "installer" per se, and you'll need to set everything up manually).
VirtualBox Documentation can be found here. You can probably just skip to Creating your first virtual machine
| [reply] |
Re^3: How start an application on Linux
by GotToBTru (Prior) on Jan 22, 2014 at 15:59 UTC
|
| [reply] |