download software package similar to .exe file in windows

Asked by venu

Hi,
I am new to ubuntu.
I have posted similar question yesterday.
I am used to Windows. when I need a software i download the .exe file to the local disk.
I install the .exe file from my local disk.
When i dont need that i shall uninstall that.But the.exe file I save for future use.
When i again need it. I install it.
Only once i download the software and maintain in my local disk.
In same way cant i save the .deb file in my local folder and install that even if i am not connected to internet.
Can please some help me on this.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vadas Norbert (aldaan) said :
#1

Hello,

If you are downloading softwares from their homepage, it's likely you are downloading .deb files, so just keep them. If you are using Synaptic, there's an option so it will keep the .debs on your hard drive.

I hope it helps.

aldaan

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

@venu: whenever you download and install Ubuntu packages via apt-get, aptitude, add/remove programs, adept manager or Synaptic, then the .deb packages are automatically stored in the following location:

/var/cache/apt/archives

You can manually install the .deb files in that location using the dpkg command, but that can give dependency issues. So it is not a good solution.

If you need an offline backup copy of the downloaded .deb files, I think you actually need to use AptOnCd, which is described here:

http://aptoncd.sourceforge.net/

Can you help with this problem?

Provide an answer of your own, or ask venu for more information if necessary.

To post a message you must log in.