I once had this very problem of not having an internet connection. My solution was to install the same version of linux on and laptop as well as my desktop. Then, when i had internet, i would use apt-get to install my packages on the laptop. Then transfer the apt-get package files to the desktop. I belive they were located /var/cache/apt/archives. Then when i ran 'sudo dpkg -i filename.deb' (with file name the package in question). The order of installation matters. sometimes I just risk it and run 'sudo dpkg -i *.deb' two times in a row.
I belive the tone of this whole discussion would have been different If only you would have answered my FIRST question about why you want to install this specific file in this specific way is because you don't have internet. Well then, ask "What is the best way to install linux mint package 'wine' with no internet connection?".
The answer to this theroretical question is to download the linux mint reposity packge for your version of linux mint, and all of its pre-requisits. For me, I ran the command
- Code: Select all
sudo apt-get install wine
and it told me the following packages are needed as prerequisits.
- Code: Select all
binfmt-support fonts-horai-umefont fonts-unfonts-core gnome-exe-thumbnailer
icoutils imagemagick imagemagick-common libencode-locale-perl
libfile-listing-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
libhttp-message-perl libhttp-negotiate-perl libio-socket-ssl-perl liblqr-1-0
liblwp-mediatypes-perl liblwp-protocol-https-perl libmagickcore5
libmagickcore5-extra libmagickwand5 libnet-http-perl libnet-ssleay-perl
libnetpbm10 libnss-winbind libpam-winbind libwww-perl libwww-robotrules-perl
netpbm ttf-mscorefonts-installer ttf-umefont ttf-unfonts-core unixodbc
update-notifier-common winbind wine wine-gecko1.4 wine1.4 wine1.4-common
Many of these packages (for linux mint 14) can manually be downloaded at http://archive.ubuntu.com/ubuntu/ubuntu/dists/quantal/
Get ready of this experiance. I think it would be easier to bring your comptuer to a cofeehouse than it is to download these files at work. Perhaps if your advanced and do this a lot, then you will learn to create a virtual machine on your work comptuer with linux mint installed such that your can use 'APT ON CD' to export your packages on a cd which you can then tranfer to your home computer.
P.S. Even if you would have installed from the .tar.bz2 file you would have still needed some prerequisits to install completly. I wan't about to download a random file and execuite it to give you advice. But I will tell you a safe way. Problem is, Linux mint is designed with a need for the internet. Perhaps if you have a work computer, you could even install linux mint onto a USB with a persistance file. I have offered many solutions because there is no single best one. They are all technical choose your poison. We all enjoy a challange, just not risks.