How to install packages from removable media?

I'm pretty damn sure that i missed some wiki page, but i cannot find it, how do i install packages without an internet connection. I installed on one of my computers, then realized i needed to install the wireless drivers after the install, which i cannot. I can ofcourse reinstall, but i believe there must be a possibility to make pacman install a bunch of packages from USB or a cd. I do have internet at my other computer, so i can download the packages there onto a usb-stick.

Hi,
you should try
pacman -U /path/to/package.pkg.tar.gz
I haven't tried this but that's the way one would manually install a package build with PKGBUILD and "made" with makepkg.
Hope that helps.

Similar Messages

  • How to install packages from local folder

    Hi all,
    I have downloaded all arch linux packages from the following URLs:
    ftp://mirrors.kernel.org/archlinux/core/os/i686/
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/
    ftp://mirrors.kernel.org/archlinux/community/os/i686/
    and then have saved them to an external hard disk. Then I have attached that external hard disk to my system and packages are available in following folders:
    /mnt/external_hd/Arch_Linux/Core-OS/
    /mnt/external_hd/Arch_Linux/Extra-OS-1/
    /mnt/external_hd/Arch_Linux/Extra-OS-2/
    /mnt/external_hd/Arch_Linux/Community-OS-1/
    /mnt/external_hd/Arch_Linux/Community-OS-2/
    /mnt/external_hd/Arch_Linux/Community-OS-3/
    Now I want to install some or all packages from these folder with the help of pacman command. I am seeing that package corresponding to wvdial command is available in the /mnt/external_hd/Arch_Linux/Extra-OS-1/ folder. But how to use pacman command so that I can install wvdial package from that folder?
    In addition to this if I want to install ALL Extra Packages available in the folders /mnt/external_hd/Arch_Linux/Extra-OS-1/ and /mnt/external_hd/Arch_Linux/Extra-OS-2/ then how to execute the pacman command?
    Please send me step by step instructions so that I shall be able to install some or all downloaded packages.
    I shall remain thankful for this forever.
    Best Regards ...
    Pankaj Kumar

    Hi fukawi2,
    Thanks for reply and searching for my username on google. It is true that I am a freelance s/w developer but I am not installing Arch Linux for any client. I am installing it due to some other reasons. In fact I started working on Red Hat and then on Fedora when I was a student of bachelor degree course in computer applications. Then later I searched open suse and started using it. I am using open suse from its 10.1 version. However the recent version of this distribution has become much resource consuming. So I am in the need of a light weight linux distribution. And I encountered Arch Linux. Then I purchased its installation disk from an online shop and installed it on my system. But only text mode is working at this moment. Since I want to use X window and so I started to follow the syntax of pacman command. But it is connecting to internet. Since my internet connection is slow (average speed of 10kbps) and so I requested the same online shop to download all packages from Arch Linux repository and send them to me. Therefore now I am having all those packages in my local external hard disk drive in the folder mentioned in my first post. Now I want to install packages from these folder. And so in order to get help I have come to this forum.
    I have also followed the steps given on the pages https://wiki.archlinux.org/index.php/Pa … l_commands and https://wiki.archlinux.org/index.php/Pa … repository. But when I am trying to install a particular package using the following command:
    pacman -U wvdial
    then it is asking for a dependency. I know that  the dependent package in my local folder but why it is not being automatically taken by pacman command? Can you please explain it.
    That is why I am asking help only for customization and usages of pacman in order to install packages from local folder. But each member in this forum is only referring to long written manuals and not giving me exact solution which I think will involve four/five steps.
    Best Regards ...
    Pankaj Kumar

  • Re: How to install Windows from recovery media on a new hard drive?

    Immediately after a Windows update, my computer would not restart. It said disk error.
    I could not start it from the recovery media and F8 would not work. I bought and installed a new hard drive. Now when I put in the recovery media to install Windows on the new hard drive, it gives an error message.
    What can this be? Should I be able to install Windows from the recovery media?
    It is Windows 7 and the laptop is Satellite A500, 64 bit.

    Hello
    Generally speaking you can install recovery image on every compatible HDD so thee should not be any problem about it.
    Please tell us what happen when you start recovery installation. Which error message is shown?
    Is new HDD recognized in BIOS. Before you start recovery installation set BIOS to default settings.

  • Newbie: How to install packages from remote desktop?

    Hi,
    I have installed Solaris using Reduced Network without installing Volume Management. Now, I want to add more packages. I have tried to copy e.g. SUNWmfrun directory from my Windows XP desktop and SFTP/SSH to the remote Solaris server. Maybe because it is not a pkg but a directory; therefore, pkgadd cannot find a package to install. And I fail to use pkgtrans because lack of knowledge. What steps should I do?
    Regards,
    Terence

    It should be something like
    [local]
    Server = file:///path/to/packages

  • Photos from Removable Media

    What do the folders and files in the folder "My Pictures\Adobe\Photos from Removable Media" represent - when were they formed - how are they used - and can I safely delete them?

    >My Pictures\Adobe\Photos from Removable Media
    Or photos that were read in from a USB "thumb drive".
    I agree do not delete them.

  • Script to rebuild all installed packages from ABS

    I realize pacbuilder is for that, but it doesn't seem to work properly for me. Skipping a lot of packages etc.
    Anyway, I've made this very simple script to just rebuild every installed package from core/extra/community. Sorry for the localized echo output, but I think it's all very simple and straightforward to understand.
    Edit:
    I've improved it a bit, now it should work flawlessly and remember what stuff it has to finish no matter when you ^C out of it. Also it installs all compiled packages, if you want to avoid that, remove -i switch from makepkg.
    #!/bin/sh
    # user configuration
    absdir="/home/mateusz/abs/autobuild"
    pkgdir="/home/mateusz/abs/packages"
    pkgfile="/home/mateusz/abs/autobuild.list"
    # end of user configuration
    topabs="/var/abs"
    if [ ! -d $absdir ]; then
    mkdir -pv $absdir
    fi
    if [ ! -d $pkgdir ]; then
    mkdir -pv $pkgdir
    fi
    echo "(autobuild) Uaktualnianie bazy abs..."
    sudo abs
    if [ ! -f $pkgfile ]; then
    echo "(autobuild) Tworzę listę pakietów do zbudowania..."
    pacman -Qq > $pkgfile
    else
    echo "(autobuild) Znaleziono poprzedni build."
    echo "(autobuild) Jeżeli nie chcesz go wykorzystać, skasuj $pkgfile"
    fi
    for pkgname in $(cat $pkgfile); do
    echo "(autobuild) Szukanie pakietu $pkgname..."
    find $topabs -type d -name "$pkgname" -exec cp -R {} $absdir \; 2> /dev/null
    if [ -d "$absdir/$pkgname" ]; then
    echo "(autobuild) Budowanie pakietu $pkgname..."
    cd "$absdir/$pkgname"
    makepkg -csir --noconfirm > /dev/null
    if [ $? -eq 0 ]; then
    echo "(autobuild) Pakiet zbudowany."
    cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
    mv $pkgfile.tmp $pkgfile
    else
    echo "(autobuild) Błąd budowania pakietu!"
    fi
    else
    echo "(autobuild) Pakiet nieodnaleziony!"
    cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
    mv $pkgfile.tmp $pkgfile
    fi
    done
    echo "(autobuild) Linkowanie pakietów do $pkgdir..."
    find $absdir -name "*`uname -m`.pkg.tar.gz" -exec ln -v {} $pkgdir \; >/dev/null
    echo "(autobuild) Zakończono."
    exit 0
    Last edited by xaff (2009-05-03 13:47:17)

    Here is the script translated into English (with a bit of help from Google Translate, as well as grammar cleanup).
    #!/bin/sh
    # user configuration
    absdir="/home/aabbott/abs/autobuild"
    pkgdir="/home/aabbott/abs/packages"
    pkgfile="/home/aabbott/abs/autobuild.list"
    # end of user configuration
    topabs="/var/abs"
    if [ ! -d $absdir ]; then
    mkdir -pv $absdir
    fi
    if [ ! -d $pkgdir ]; then
    mkdir -pv $pkgdir
    fi
    echo "(autobuild) Updating the ABS database..."
    sudo abs
    if [ ! -f $pkgfile ]; then
    echo "(autobuild) Creating a list of packages to build..."
    pacman -Qq > $pkgfile
    else
    echo "(autobuild) Found a previous build."
    echo "(autobuild) If you don't want to use this build, delete ${pkgfile}."
    fi
    for pkgname in $(cat $pkgfile); do
    echo "(autobuild) Searching for $pkgname..."
    find $topabs -type d -name "$pkgname" -exec cp -R {} $absdir \; 2> /dev/null
    if [ -d "$absdir/$pkgname" ]; then
    echo "(autobuild) Building $pkgname..."
    cd "$absdir/$pkgname"
    makepkg -csir --noconfirm > /dev/null
    if [ $? -eq 0 ]; then
    echo "(autobuild) $pkgname built."
    cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
    mv $pkgfile.tmp $pkgfile
    else
    echo "(autobuild) There was an error when building ${pkgname}!"
    fi
    else
    echo "(autobuild) $pkgname not found!"
    cat $pkgfile | grep -vx $pkgname > "$pkgfile.tmp"
    mv $pkgfile.tmp $pkgfile
    fi
    done
    echo "(autobuild) Linking to $pkgdir..."
    find $absdir -name "*`uname -m`.pkg.tar.gz" -exec ln -v {} $pkgdir \; >/dev/null
    echo "(autobuild) Finished."
    exit 0

  • HT3546 I can't figure out how to install bonjour from the CD that came with my airport express.  Can anyone help?

    I can't figure out how to install bonjour from the CD that came with my airport.  Can anyone help?

    If you are having difficulties installing Bonjour from the Installation CD, you can download the latest version of Bonjour from here.

  • How to install leopard from a DMG file instead of DVD

    How to install leopard from a DMG file instead of DVD, When i open this file, click restart, NOTHING happened!!!!!!

    Use Disk Utility to restore the DMG to a blank partition, then use the Startup Disk preferences pane to reboot from that partition. Why not just install from the DVD, though?

  • How to install data from an external sd card onto my tablet (a5500-f)

    how to install data from an external sd card onto mt tablet (A5500-F).

    Choose Computer from the Finder's Go menu, double-click the drive, and drag your documents back.
    (111169)

  • How to install software from imac to macbook pro

    how to install software from imac to macbook pro

    Are you using one of the newer iMac's with no DVD drive? If so, you can either get an external CD/DVD drive (any make - doesn't have to be Apple) or, if you have another Mac on the same network that has a CD/DVD drive you may be able to do it by turning on 'DVD or CD Sharing' on that Mac (System Preferences>Sharing). Hopefully you'll see the disk on the Mac without the DVD drive and be able to install from there.

  • How to install software from disk onto imac

    how to install software from disk onto imac

    Are you using one of the newer iMac's with no DVD drive? If so, you can either get an external CD/DVD drive (any make - doesn't have to be Apple) or, if you have another Mac on the same network that has a CD/DVD drive you may be able to do it by turning on 'DVD or CD Sharing' on that Mac (System Preferences>Sharing). Hopefully you'll see the disk on the Mac without the DVD drive and be able to install from there.

  • How do install  program from external drive to mac book air

    how do install  program from external drive to mac book air

    DVD or CD sharing: Using Remote Disc - Apple Support

  • How to download music from windows media center on home computer to i pod touch

    how to download music from windows media center on home computer to i pod touch

    You don't.
    you have to put the music in itunes and sync it from there.

  • How do install Leopard from intel to ppc by Firewire?

    Can anyone tell me how to install Leopard from my intel macbook to my older ppc? When I try to install from firewire it says that the drive is going to GUID and non-bootable. My DVD drive on the PPC isn't good enough for the Leopard DVD. Any suggestions are appreciated.

    I'm not commenting on whether the type of Mac is compatible with the Leopard install.
    I'll offer suggestion for the firewire install. The objective is to take the Leopard DVD and transfer in some way to a firewire drive to be able to boot a PPC Mac and complete a Leopard install to the PPC Mac.
    How? Take a firewire external drive and partition it in two. One for your data and the other (7.2 gigs) max, for the ability to restore the Leopard DVD to that smaller partition. Once restored you'll be able to boot(using system startup control panel) and install Leopard to a PPC Mac.
    The rule to follow is to use APM ie Apple Partition Map to boot PPC Macs. GUID mapping is for intel Macs. You use options within Disk Utility ti select which way to go. You cannot have both on one firewire hard drive. I use two firewire hard drives: one APM and the other GUID.
    How to setup the small partition? Connect firewire drive to your PPC Mac. Open disk utility. Create your two partitions(remember when you do this the drive is formatted and all data is gone, so backup first). Remember to use option and select APM, although on a PPC Mac it should be by default and ditto if on an intel Mac for GUID. Once the partitioning is complete, select Restore and while using the left hand column(just read the instruction in the disk utility window) and assuming you now have the Leopard DVD on the desktop , drag the install OSX section from the left hand column to "source" and then drag the Leopard small partition from the left hand column to "destination." Wait 20 minutes and you are completed. Now you can boot from the firewire drive and install Leopard to a PPC Mac.

  • How do I update/install packages from a CD?

    Hello,
    I am new to Arch Linux. Kindly excuse me if this task is very trivial. I have installed the base system and updated it using pacman -Syu. I also installed all the other software packages using pacman -S <packagename>. Now I want to burn a CD containing all these updates and packages so that I can make a similar installation later on other systems which are not connected to the internet. I am not able to figure out how this can be done.
    I need to upgrade the system and install all the packages I have on the CD by giving minimum number of commands at the command line. This helps me install Arch Linux on a large number of machines in a very short time.
    Thanks for your help.

    If you're talking about batch installing packages, the method you suggested
    will work for every package in the current directory.

Maybe you are looking for