LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-13-2008, 09:56 AM   #1
zero_cool666
Member
 
Registered: Jan 2006
Posts: 31

Rep: Reputation: 15
intall software in custom location


Hey I have NTFS partitioned location which I use intermediately between linux and windows.. I want to install a software (MATLAB) on an NTFS partition as there is not enough space on my ext 3 partitions for linux.. How can I do that. Please tell step by step.. Thanx
 
Old 05-13-2008, 10:06 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Installing to a different location in itself is easy enough; just use the --prefix= switch or $DESTDIR variable to set the installation path to wherever you want the package installed to. See the README file or try "./configure --help" for the software for exact details on how it sets the installation destination.

As for installing to an NTFS partition, that may be a different story. You need to have NTFS write support enabled/built into your Linux OS. I believe this ability is in the NTFS-3G package, and apparently works but comes with no guarantee (does anything though? ) but don't quote me. You'll need to research that yourself, to check the current status of NTFS writing from Linux, and see if the NTFS-3G package is available for your Linux, and if not, build and install it.

If it were me, I would arrange some more space in a Linux filesystem, or use a FAT partition instead.

SVA
 
Old 05-13-2008, 12:38 PM   #3
zero_cool666
Member
 
Registered: Jan 2006
Posts: 31

Original Poster
Rep: Reputation: 15
Btw I am using fedora 8 which has built in support for writing ntfs using the same driver ntfs-3g... about giving space is that I don't know how to give more space to the linux partitions without having to repartition all the ntfs drive is there a way i can seperate some free space from the ntfs drive and add it to the linux partitions.. kindly guide me in this regard..Thanx
 
Old 05-13-2008, 12:57 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
You can indeed shrink the NTFS partition, and subsequently enlarge the EXT partition by the same amount.

As with any partitioning operation, note two things: 1) There is never a guarantee of success, particularly when doing operations on partitions containing data. And 2) I advise you to have a BACKUP, particularly of the NTFS data, before beginning. 3) While I have had great success and no failures doing what I will advise, it is entirely your responsibility if you decide to do this.

Step one: Defragment the NTFS partition.

Now.. Get yourself the Gparted LiveCD (download it and burn it) OR if you have something else with Gparted in it, like an Ubuntu LiveCD, you can boot that instead.

Start Gparted. Follow the simple menu driven command menus to shrink the NTFS partition FROM THE RIGHT HAND END. Do not try to move the START of the NTFS partition. This would beg big problems. You can shrink it down to somewhere just past the occupied area (usually indicated in YELLOW color).

Next, (and again in this case it is not super-recommended to move the start of any partition) enlarge the EXT partition into the empty space created when you shrunk the NTFS partition. Probably it would be best to MOVE the EXT partition to the left first, and THEN enlarge it. But maybe it makes no difference.

Presto! You now have a larger EXT partition, provided things went well.

Again, no guarantees, and no responsibility or warranty is expressed on my part. NTFS is sketchy stuff.

Best of success,

Sasha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Location for Custom udev Rules Toods Slackware 7 11-19-2007 12:42 PM
Is it posible to intall FC5 with just 3 intall CD's ponky2x Fedora - Installation 1 07-26-2006 10:08 AM
Installation Software for Custom Developed Java/Perl Software donkey123 Linux - Software 0 06-15-2005 05:26 PM
software installation location imsajjadali Red Hat 2 02-15-2004 11:24 PM
RPM Software Intall....failed dependencies?? bison42 Linux - Software 3 09-01-2001 11:03 PM


All times are GMT -5. The time now is 11:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration