You are not logged in.

#1 2009-06-20 08:38:31

caviliar
Member
Registered: 2009-06-20
Posts: 9

how to install from offline! HELP!!

hi. i've installed arch linux and now are trying to install an environment (specifically xfce). just having a little bit of trouble though on how to do it.

i need to do it offline though as the machine currently isnt able to be connected to the net.

i've followed the instructions from http://wiki.archlinux.org/index.php/Off … f_packages
i have downloaded the packages. but dont understand from the above link how exactly i go about installing them on my linux machine

any help would be appreciated

Offline

#2 2009-06-20 08:48:03

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: how to install from offline! HELP!!

you already have the downloaded packages? You just use 'pacman -U <package>' then


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#3 2009-06-20 08:51:40

caviliar
Member
Registered: 2009-06-20
Posts: 9

Re: how to install from offline! HELP!!

Stythys wrote:

you already have the downloaded packages? You just use 'pacman -U <package>' then

sorry im new to this. im currently on my windows laptop. i downloaded the packages. do i just burn them to a cd and put it in the linux desktop? what phrase do i type in to linux to get it to load them up?

Offline

#4 2009-06-20 09:15:04

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Re: how to install from offline! HELP!!

If you have untarred a db just copy the packages in  /var/cache/pacman/pkg and run pacman -S $(package name)


If it ain't broke, broke it then fix it.

Offline

#5 2009-06-20 10:29:26

caviliar
Member
Registered: 2009-06-20
Posts: 9

Re: how to install from offline! HELP!!

sorry i dont know that well.

how do i get the packages that i've just downloaded onto my laptop onto the desktop? can i just put them on a cd and transfer? how to copy from cd on linux into the correct directories in linux to run?

is there easier instructions than in http://wiki.archlinux.org/index.php/Off … f_packages

im just a lil confused as to the steps

Offline

#6 2009-06-20 12:50:06

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Re: how to install from offline! HELP!!

put it on a cd/usb stick. Then mount it using 'mount /dev/srX /mnt 'where X is the number of the drive, starting with 0, or 'mount /dev/sdX1 /mnt' for usb, where X is usualy b, if it is the second storage device, or c if you have 2 hard disks. after thet cd to /mnt/, and copy the packages by running cp *.pkg.tar.gz /var/cache/pacman/pkg


If it ain't broke, broke it then fix it.

Offline

#7 2009-06-20 17:13:34

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: how to install from offline! HELP!!

I don't mean to tell you that it can't be done, but downloading from the Internet is the best and most reliable way to install and upgrade packages in Arch.  If you can't do that at all, you should instead consider Debian or Slackware, which don't have Arch's rolling-release concept and can stand alone after an install from CD.  If you are just having a temporary problem with connecting to the Internet, solving that should be your first priority (before installing graphical stuff).  Downloading your own packages quickly degenerates into dependency hell and could introduce version conflicts with packages already installed.  That's much more difficult than configuring a network from the command line.

Why can't you get online?  How did you download the packages in the first place (dual booting perhaps)?  If you have an Ethernet port it should be automatically supported under Arch.  Wireless is only slightly more tricky (unless you're dealing with complicated authentication methods).  If you have dialup... Arch is not for you.

Please understand I'm not trying to be unfriendly; I'm trying to help you out.  I think you're trying to solve the wrong problem (how to install packages off-line in Arch).  I think the right problem is more along the lines of:
1) How do I connect to the Internet to download packages?
2) How do I install Linux so that I don't need an Internet connection to install things?
3) How do I boot to a graphical desktop without the need for command-line stuff?

Your solution will depend on what your problem really is.

Offline

#8 2009-06-20 21:26:45

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: how to install from offline! HELP!!

As stated in your other post you might want to look at ubuntu. Arch Linux, generally speaking, is meant for advanced gnu/linux users.


Website - Blog - arch-home
Arch User since March 2005

Offline

Board footer

Powered by FluxBB