It is possible to save the programs installers before...

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

It is possible to save the programs installers before...

Postby wdc on Sun Jul 01, 2007 1:16 am

hello,

you know that in windows you can download a file named setup.exe and save it to install your software every now and then. i was wondering if that can be donde in linux.

i like to format my partitions every couple of months or so and since cassandra is giving me some headhaches i thought maybe i should reinstall it but i have downloaded a lot of software and don't want to download it again. i know there are some .deb files that can help me, and some tar.gz too, there is no other way?

the software i have downloaded is:

xmms, google earth, vlc, gwget, amsn, skype, xine, gnome baker.

thanks.

w.
User avatar
wdc
Level 1
Level 1
 
Posts: 32
Joined: Tue Jun 26, 2007 4:54 am
Location: Chile

Linux Mint is funded by ads and donations.
 

Postby OU812 on Sun Jul 01, 2007 3:35 am

If this were a slack-based distro, I could tell you were the extra packages are stored. But if there is a particular folder that they are downloaded to, then just find it and back it up. Then you can install the packages by hand. You might even be able to do it by right-clicking on the package in the file manager. Sorry, still new to debian so I can't give you more than that.

john
OU812
Level 3
Level 3
 
Posts: 151
Joined: Fri Jun 29, 2007 8:01 pm
Location: California, USA

Postby gcc on Sun Jul 01, 2007 3:42 am

you have many options here. The one that most closely matches what you are directly asking is to simply go to terminal and type:
Code: Select all
 sudo apt-get install -d <package name>

to download just the package, or, another option, you can just do as scorp123 suggested for another problem earlier today:
System #1:
Code: Select all
dpkg --get-selections > packagelist.txt


System #2:
Code: Select all
dpkg --set-selections < packagelist.txt
apt-get dselect-upgrade



which would stop you from having to store the .deb's anywhere, but does require that your programs actually be in the repos. I would suggest that wherever you are storing your packagelist.txt, you also store a backup of your sources.list- all of this, of course, in addition to your normal backups.

another option, if portability to non-debian systems is an issue, is to keep backups of the source code. you can get that either by direct download from the program's page or by typing
Code: Select all
 sudo apt-get source <package name>

but this will be a huge pain, as you'll wind up enduring dependency hell.
hope this helps your problem.
gcc
Level 1
Level 1
 
Posts: 40
Joined: Thu Jun 14, 2007 9:45 pm

Postby Husse on Sun Jul 01, 2007 7:22 am

Downloaded packages are found in
/var/cache/apt/archives
You can copy them from there (needs root privileges)
Why do you want to format your drive every two months or so? :roll:
Totally unnecessary!
Especially in Linux, your system does not get bloated....
Maybe after your first attempt you'd like it a bit better organized
Not even in Windows is this necessary.....but more understandable
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: It is possible to save the programs installers before...

Postby scorp123 on Sun Jul 01, 2007 11:58 am

wdc wrote: i like to format my partitions every couple of months or so
oh dear .... :roll: This is not Windows! :lol: There is absolutely no need for this. Even if there are problems you can usually fix them without falling back to those scary habits Windows forces people into ... :roll:
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby gcc on Sun Jul 01, 2007 1:00 pm

Downloaded packages are found in
/var/cache/apt/archives
You can copy them from there (needs root privileges)


oops. yeah. duh. sorry.
gcc
Level 1
Level 1
 
Posts: 40
Joined: Thu Jun 14, 2007 9:45 pm

Postby scorp123 on Sun Jul 01, 2007 2:02 pm

Another thing I came across in another posting is "AptOnCD" ... apparently you can put all the stuff you downloaded onto CD and then use the CD as "Installation Source" on another PC .... or on the same PC in case of a re-installation.

I didn't try it out yet ... but I thought I'd mention it here in case anyone is interested in something like this.
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby gcc on Sun Jul 01, 2007 4:12 pm

interesting. might have to give that a spin, no pun intended. Might be even better with PXE.
gcc
Level 1
Level 1
 
Posts: 40
Joined: Thu Jun 14, 2007 9:45 pm

Postby wdc on Mon Jul 02, 2007 1:36 am

well, thanks to everyone, actually i don't format i just test every new live cd distro that i like and since mint 3.0 seems to have broke itself i think maybe i should reinstall it.

regards.

w.
User avatar
wdc
Level 1
Level 1
 
Posts: 32
Joined: Tue Jun 26, 2007 4:54 am
Location: Chile

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 24 guests