[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


change apt-get install directory for gnmoe install on linux

Posted on 2011-10-19
Medium Priority
Last Modified: 2012-08-13

I'm using a plug sever distribution of debian, and I want to be able to install gnome, so that I can then install vnc.

The plug server only has 512 MB of internal storage so I need to use the external usb flash drive to store the files & have mounted this as /usb

How do I change the default settings so that /usb/apt becomes the default folder rather than /var/cache etc etc

New to Linux so a little confused! - plus I've got to do everything through SSH at the moment.

Question by:bedsingar
1 Comment
LVL 31

Accepted Solution

farzanj earned 2000 total points
ID: 36999999
ssh is fine.

Do you think installing stuff on USB is such a good idea?

Well there are many ways you could do this.

You can create a symlink, which is like a short cut folder in windows.  So, your /var/cache is actually /usb/apt

ln -s /var/cache /usb/apt

Second:  During installation you have to give extra parameters like --prefix=...

First way is preferable and easier.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month19 days, 15 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question