![]() |
MCC18 Installer Script
I'm working on a sort of cross-platform development server, like a software repository and compiler service bundled together to work with a thin client.
Anyway, I just got MCC18 working on my Ubuntu installation, and it was too painful to be worth it. :rolleyes: So I'm wondering if it's possible to make some scripts/installers for Linux that can automagically install MCC18. Meaning, the user pops in the MPLAB CD, the script finds the MCC18 folder, copies the files over to /opt/mcc18, fixes p18cxxx.h (per this post) and maybe offers an option to install WINE. Is this feasible? I am by no means an experienced Linux user, so I wouldn't know where to start. |
Re: MCC18 Installer Script
You could write a bash script.
http://www.panix.com/~elflord/unix/bash-tute.html http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html www.google.com |
Re: MCC18 Installer Script
How would I get it to install WINE or XAMPP? Also, how would I make it read from the CD drive?
|
Re: MCC18 Installer Script
Quote:
Code:
sudo cp -r /cdrom/(mcc18 folder) /opt/mcc18You can use apt to download and install wine and apache. Google apt commands. |
Re: MCC18 Installer Script
Right, I've used apt plenty of times. So I can just put a "sudo apt-get" call in the script and it will install? Sweet.
Sorry, I've never written a linux script, obviously. |
Re: MCC18 Installer Script
Quote:
|
Re: MCC18 Installer Script
Quote:
|
| All times are GMT -5. The time now is 08:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi