-
Can I use APT to install packages in /usr/local
I would like to install most packages in /usr/local. But I don't see options to apt-get or dpkg which allow me to specify the destination directory. Is it possible?
I get a number of packages installed and then want to move to a new version of Knoppix or something else and / gets destroyed and replaced. Then I have to do the package installation all over again.
Building from source doesn't seem like a good workaround. If I do a build using APT can I set the install directory?
-
Senior Member
registered user
Re: Can I use APT to install packages in /usr/local
Originally Posted by
rozen
I would like to install most packages in /usr/local....
Why?
It appears from your post that your intent is to install packages so that they will remain even if you 'update' the system to a new version of Knoppix but installing to /usr/local will not accomplish that. /usr/local is still a directory under / which will be overwitten if you reinstall a new Knoppix version.
You could accomplish what you want to some degree by making a separate /home partition then using 'klik' to install apps since klik installs apps in /home directory but then you are limited to the apps available from klik.
Possibly a better solution would be to set up so there is virtually no need to update to a newer Knoppix version then just keep the system upgraded to whatever degree you wish using the normal Debian updating & upgrading procedures. The downside of this is that many users have experienced problems upgrading knoppix but it can be done. I have a Knoppix 3.4 'Knoppix-style' HD install which has survived several 'apt-get upgrades' although it kicks up a few bugs with each upgrade.
I have since switched to Kanotix, in my opinion this is the safest way to get an upgradable Knoppix based Debian system.
In theory you should be able to continuously upgrade a Debian system to remain current without ever have to do a total reinstall.
-
I have a separate partition for /usr/local
I have a separate partition for /usr/local which survives a reinstall. All the stuff, that I build from source ends up in /usr/local and survives so i would like to do the same with those app's I install with APT.
I like the idea of klik. But I have tried to get five different apps but only two of them worked: wajig and abiword. Unfortunately, GIMP and Gnucash did not and they are important to me.
I have also switched to Kanotix in an effort get something that will be less transitory. Have you successflly tried a dist-upgrade? I have spent the last couple of days doing an apt-get -d upgrade and will give it a shot tomorrow.
Similar Threads
-
By Albretch in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 11-22-2006, 02:58 AM
-
By kayl in forum General Support
Replies: 2
Last Post: 10-07-2005, 03:23 AM
-
Replies: 1
Last Post: 07-14-2005, 04:54 PM
-
By Fabianx in forum Ideas
Replies: 6
Last Post: 04-19-2003, 04:28 AM
-
By Fabianx in forum Ideas
Replies: 0
Last Post: 03-30-2003, 02:29 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Mixed Brands 8GB PC4-2666V-S DDR4 SODIMM Laptop RAM (Lot of 50)
$925.00
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP
$38.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC
$19.95
CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)
$79.95
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$21.33
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$14.85
16GB 8GB 4GB DDR2 800MHz PC2-6400U 240Pin intel DIMM Desktop PC Memory SDRAM LOT
$79.99
HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN
$129.95