I have downloaded mysql-5.5.9-linux2.6-i686.tar.gz file. I don't know how to install it into my Ubuntu os. I don't have an internet connection, I'm posting here from browsing center. I can download files from here, but I can't connect my laptop directly to the internet. Is there any way to install mysql while offline?

  • is the package an rpm or a source code? – Pranit Bauva Aug 17 '12 at 14:42

When installing things on Ubuntu, you're much better off using packages provided for your version of Ubuntu, rather than from other sources.

To install a package offline, you can do something like this:

apt-get install --print-uris mysql-server

This will print out a bunch of URLs. You can download these from another computer, and transfer them to your Ubuntu machine, putting the .deb files into /var/cache/apt/archives.

Once you've done that, do:

sudo apt-get install mysql-server

And apt will find the package files you've downloaded, and install mysql.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.