You are not logged in.

#1 2009-10-23 05:17:31

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

(Solved)Install packages from Usb/Flashdrive or Dvd-see last post

Hi,i just started using linux and have what's problay going to sound like a dumb question.can i download packages and put them on a Usb/Flashdrive or dvd and install them with pacman.I have a rocket stick usb modem and cant get it to connet to the net because im missing a package (wvdial).Any help with this will be appreciated.Thx

BTW i burned this package to a dvd (wvdial) and went to my dvddrive and it wasent there:)


http://bbs.archlinux.org/viewtopic.php?id=83206

Last edited by unilx (2009-10-26 15:51:30)

Offline

#2 2009-10-23 05:40:16

vik_k
Member
From: Pune, India
Registered: 2009-07-12
Posts: 227
Website

Re: (Solved)Install packages from Usb/Flashdrive or Dvd-see last post

you can surely put those packages onto a removable media & to install those packs with pacman you need to copy those to /var/cache/pacman/pkg directory.

then just do

 pacman -S package

BTW i burned this package to a dvd (wvdial) and went to my dvddrive and it wasent there:)

can't understand this. might be u r saying that u burned wvdial to a dvd & it wasn't there, so there are chances that that dvd is corrupt or burning didn't happen properly

Last edited by vik_k (2009-10-23 05:42:52)


"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette

Offline

#3 2009-10-23 05:53:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (Solved)Install packages from Usb/Flashdrive or Dvd-see last post

You don't need to put the packages in your cache - just mount the dvd or usb drive and use pacman -U /full/path/to/package.pkg.tar.gz.

Offline

#4 2009-10-23 05:56:31

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: (Solved)Install packages from Usb/Flashdrive or Dvd-see last post

You don't need to copy the packages in cache. Just put :
Server = file:///path/to/packages

At the top of mirrorlist, that's what I do. It acts as your local repo. Any packages available there will be installed  from your local repo without downloading, other packages will be downloaded and then installed from the mirrors.

Last edited by sHyLoCk (2009-10-23 05:57:36)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#5 2009-10-23 07:16:28

vik_k
Member
From: Pune, India
Registered: 2009-07-12
Posts: 227
Website

Re: (Solved)Install packages from Usb/Flashdrive or Dvd-see last post

fine...
I wasn't knowing that Server way to install packages. that is cool.
thanks for helping me out also


"First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack." ~ George Carrette

Offline

#6 2009-10-23 11:55:10

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: (Solved)Install packages from Usb/Flashdrive or Dvd-see last post

You can also set up your own local repository.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-10-24 23:04:29

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

Re: (Solved)Install packages from Usb/Flashdrive or Dvd-see last post

thx for all the help
for other people that are having similar problems check out this link
http://www.linuxconfig.org/Howto_mount_ … e_in_Linux

http://bbs.archlinux.org/viewtopic.php?id=83206

Last edited by unilx (2009-10-26 15:51:50)

Offline

Board footer

Powered by FluxBB