Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just learned that "apt-get" and "Aptitude" save packages
in /var/cache/apt/archives ,
I looked into it and found a mess made off all the packages
I ever installed.
I would like to make some order in this mess.
I created a folder in the "archives" folder and named it "skype",
I then moved the "skype" .deb file into it (I downloaded it from
the Skype website).
will "apt-get" see the package in that "skype" folder ?
I thought about adding an entry to the sources.list file,
but it doesn't make sense to me because "sources.list" lists
sources to download packages from, and my question is about
packages that are already downloaded.
I would also like to make some order in the packages I already
installed, for example, I would like to move all the "Gnome"
related packages to a dedicated folder, but gnome is already
installed and its related packages are already stored in the
"archives" folder, with all other packages.
Or in other words, the mistake is already made, and now I would like
to fix the damage.
When I download an installation file to my Win XP I save it
in a dedicated folder. I want to do the same with "Gnome" related
.deb packages. I would like to open a directory named "gnome"
and move all Gnome related packages into it.
Of all the packages in the "archives" folder, how can I tell which
packages (.deb files) where downloaded when I installed Gnome ?
I have another Debian PC without internet connection so after
I figure out the above I will copy the stuff to flash disk and
install it on that PC.
Now, to prevent the problem before it's happening:
When I donload an installation package with internet browser
(either IE, FireFox or IceWeasel on Debian) it gives me the option
to choose where I want the file to be downloaded to.
I would like to achieve the same thing with "apt-get" or with
How can I customize "apt-get" to download packages to a
certain folder "other than /var/cache/apt/archives" ,
before actually downloading it ?
And another issue:
I am actually using gedit on Debian to write this question,
and I noticed that I loose my internet connection every few minutes.
I have to perform "poff dsl-provider" and then "pon dsl-provider"
to get the internet connection back.
I use Debian in dualboot with Win XP ("bootpart" and "GRUB")
and everything is ok when connecting with the Win XP.
Any idea where to look ?
Is anybody here on LinkedIn and would like to communicate ?
My alias there is Squito Ototo.
Why bother with organizing the apt cache? It's just a temporary directory for apt, and should generally be purged after each use anyway with apt-get clean or apt-get autoclean. If you want to install packages onto a different system there are better ways to do it. At the very least, you can drag the .debs you want out of the cache and install them manually with dpkg.
For more info, check out the apt howto (especially section 2.2: How to use apt locally.)