NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to reinstall EMC2?

How to reinstall EMC2? 14 Июн 2012 18:19 #20943

  • KobeYang
  • KobeYang's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Karma: 0
Hi all,
I have installed EMC2 by LiveCD.But for some use,I must do some changes in it, I download the source files of 2.4.7 and modify some files,Then I build the source files,but I don't know how to reinstall it ,can you help me? thanks.
The administrator has disabled public write access.

Re:How to reinstall EMC2? 15 Июн 2012 02:13 #20946

  • ArcEye
  • ArcEye's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1333
  • Thank you received: 102
  • Karma: 129
Hi

You need to compile the sources first using ./configure --prefix=/usr for a system install
Then run make and if no errors make install

For a RIP install ./configure --enable-run-in-place
make
make setuid
. ./scripts/emc-environment

regards
The administrator has disabled public write access.

Re:How to reinstall EMC2? 15 Июн 2012 02:14 #20947

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4126
  • Thank you received: 141
  • Karma: 129
KobeYang wrote:
Hi all,
I have installed EMC2 by LiveCD.But for some use,I must do some changes in it, I download the source files of 2.4.7 and modify some files,Then I build the source files,but I don't know how to reinstall it ,can you help me? thanks.

I am not quite sure what you mean.

If you want to run the installed version from the LiveCD, then that is probably still installed on the system and can be accessed from the CNC menu.

If you have downloaded the source, edited it, and recompiled, then you will have two alternative systems on your computer. (You can actually have as many as you want, as the compiled versions are "Run In Place", with all their files located in the directory where you compiled).

If you look in the emc-dev (or maybe linuscnc-dev) folder in the "scripts" folder then you will find a script called emc-environment, or linuxcn-environment. if you run that in a terminal window with . ./emc-dev/scripts/emc-environment (the dot space dot slash is important) then in the context of that window the emc (or linuxcnc with version 2,5) command will start and run your compiled version.
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 1.323 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.