Specifying an install target to apt ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Specifying an install target to apt ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Specifying an install target to apt ?  
Geico Caveman


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-13-07 12:17 AM

Hi

I wish to know if there is a way to tell apt to install to /usr/local
instead of /usr (and create symlinks in /usr to make this process
transparent to present / future dependencies and other parts of the
system). The reason I ask is that I am running out of space in / and have
plenty of space left under /usr/local.

Yes, I could build from source using checkinstall but I would then have to
set up the symlinks manually and I am not interested in compiling some 100
packages by hand.

Thanks.





[ Post a follow-up to this message ]



    Re: Specifying an install target to apt ?  
zouz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-13-07 12:13 PM

./configure --prefix=/usr/local

zaher el siddik






[ Post a follow-up to this message ]



    Re: Specifying an install target to apt ?  
Andreas Janssen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-13-07 12:13 PM

Hello

Geico Caveman (<spammers-go-here@spam.invalid> ) wrote:

>  I wish to know if there is a way to tell apt to install to /usr/local
> instead of /usr (and create symlinks in /usr to make this process
> transparent to present / future dependencies and other parts of the
> system). The reason I ask is that I am running out of space in / and
> have plenty of space left under /usr/local.
>
> Yes, I could build from source using checkinstall but I would then
> have to set up the symlinks manually and I am not interested in
> compiling some 100 packages by hand.

I don't know a way for apt to handle this automatically. I recommend you
move some big directory (e.g. /usr/share or /usr/lib) to
your /use/local partition and symlink it to /usr.

regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html





[ Post a follow-up to this message ]



    Re: Specifying an install target to apt ?  
AJackson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-16-07 06:15 AM

On Apr 12, 8:39 pm, Geico Caveman <spammers-go-h...@spam.invalid>
wrote:
> Hi
>
>         I wish to know if there is a way to tell apt to install to /usr/lo
cal
> instead of /usr (and create symlinks in /usr to make this process
> transparent to present / future dependencies and other parts of the
> system). The reason I ask is that I am running out of space in / and have
> plenty of space left under /usr/local.

You can't, becouse then you needed to build packages from scratch,
each and every one you install.
And Debian rules say that they should go there.

You might want to migrat to a LVM system, then you can move "disksize"
between partitions and resize file systems. You can look at several
physical partitions and even disk as one pool och disk area using for
your virtual partitions.

But as a short/fast solution, use Andreas solution.  "du /usr | more"
to see where you have a large directory, and move that.  You might
need to reboot after that.

You might want to try "aptitude clean" to clear caches.  Check web
browser caches too, they could be large...

Good luck






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:37 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register