1

I have recently installed a GCC ARM Embedded toolchain for Linux (to run on a 64-bit machine). However, the pre-built version of Linaro GCC runs on 32 bit machines. The solution is simple: apt-get install ia32-libs to install the ia32-libs package. The problem is that the Linux machine which I am working with has no internet connection. Therefore, I cannot do installations through that manner. I am using a Windows machine for internet access (which is how I am able to ask this question). My question is then: is it possible to download the package on a Windows machine, put it on a USB and install it on the Linux machine? If so, where I can download the package manually from (instead of typing apt-get install ia32-libs?

  • What is your distro? – enedil Apr 15 '14 at 8:52
  • I'm sorry but what do you mean by "distro"? – Mahmoud Apr 15 '14 at 9:00
  • He's asking for your »flavor« of Linux. Debian, Ubuntu, Mint, …? – Andreas Wiese Apr 15 '14 at 9:23
  • Oh. It's Ubuntu – Mahmoud Apr 15 '14 at 9:25
1

What you could do is download Ubuntu .iso on your computer, then use SFTP (FTP via SSH) to upload .iso file to your server.

On your server you can mount the .iso file like this:

mkdir /mnt/ubuntu_iso
mount -o loop /path/to/file.iso /mnt/ubuntu_iso

Now edit /etc/apt/sources.list file and comment out everything that is not cd-rom related.

Then run apt-cdrom to add cdrom to repository:

apt-cdrom -d "/mnt/ubuntu_iso" -r 

After this run apt-get update an you should be able to install packages from erpositories in livecd.

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.