LinHES Forums
http://forum.linhes.org/

Aventures with R6 Arch Linux - Setup- Pacman,Firefox,Fluxbox
http://forum.linhes.org/viewtopic.php?f=11&t=19592
Page 1 of 1

Author:  RacerX [ Tue Feb 24, 2009 7:54 pm ]
Post subject:  Aventures with R6 Arch Linux - Setup- Pacman,Firefox,Fluxbox

Hello all

I had a little time the past two days to mess around with
R6 on my Test box and found out quite a few new things.

First, there is a slick new packaging system is called Pacman :D
It needs to be configured with aa ftp mirror server to search for
files and updates. Edit the following file

/etc/pacman.conf

It is very important to get this file configured properly.
Here are the changes that I made. I configured this file to
use the following ftp mirror

ftp://ftp.archlinux.org/


########################ARCH DEFAULTS#############
[core]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/core/os/i686
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/extra/os/i686
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.archlinux.org/community/os/i686
Include = /etc/pacman.d/mirrorlis

There is a lot of good info on this site as well as mirrors world wide

http://wiki.archlinux.org/index.php/Mirrors

Time to test the connection

Pacman -Sy

It should download just a few files from the mirror. Look
for the thermometer running the status and then you know
you have it setup right.

Next, comes the easy part installing Firefox here's how

Pacman -S firefox

This will install firefox version 3.0.5 and it's dependency desktop-file-utils

Next, in order to make it nice and neat it's necessary to edit fluxbox.
You can create a new menu item for firefox by editing the file

.fluxbox/menu

create the following with a text editor such as nano or xedit..)

[submenu] (Applications)
[exec] (firefox) {firefox}
[end]

Then save the change. Now run the command

fluxbox-generate_menu

This will update the menu with your change.
You should now have a copy of firefox that
can be lauched from a shortcut in fluxbox.... :wink:

Author:  mihanson [ Tue Feb 24, 2009 8:05 pm ]
Post subject:  Re: Aventures with R6 Arch Linux - Setup- Pacman,Firefox,Flu

RacerX wrote:
First, there is a slick new packaging system is called Pacman :D
It needs to be configured with aa ftp mirror server to search for
files and updates. Edit the following file

/etc/pacman.conf

It is very important to get this file configured properly.
Here are the changes that I made. I configured this file to
use the following ftp mirror

ftp://ftp.archlinux.org/



:shock: Whoa! Definately not recommended. LinHES has at least a few packages Cesman, et al have compiled with LinHES in mind. Pulling from the Arch repositories, although possible, is not recommended. LinHES, like KnoppMyth, is designed to be an appliance, not a general purpose computer. You can always submit a feature request on flyspray if you'd like a package to be included in LinHES.

Author:  jayb282 [ Tue Feb 24, 2009 8:39 pm ]
Post subject:  Re: Aventures with R6 Arch Linux - Setup- Pacman,Firefox,Flu

mihanson wrote:


:shock: Whoa! Definately not recommended. LinHES has at least a few packages Cesman, et al have compiled with LinHES in mind. Pulling from the Arch repositories, although possible, is not recommended. LinHES, like KnoppMyth, is designed to be an appliance, not a general purpose computer. You can always submit a feature request on flyspray if you'd like a package to be included in LinHES.


There are always going to be packages that either the LinHES people won't get around to, or won't EVER include -- e.g. decss.

I understand the arguments. But, we used to be able to install it easily using apt-get. I'm guessing this out of the box ability is gone now?

(remember - the rest of the world is not held hostage to the insanity of the american legal system :)

Author:  mihanson [ Tue Feb 24, 2009 9:36 pm ]
Post subject:  Re: Aventures with R6 Arch Linux - Setup- Pacman,Firefox,Flu

jayb282 wrote:
There are always going to be packages that either the LinHES people won't get around to, or won't EVER include -- e.g. decss


I assume you mean what's refered to in the forums as "pineapple" because of legal reasons in the US. Search around in the LinHES configuration section of service menu for that option. I have not tested it, but the option is there. You can also look for a package with pacman--configured as is.

Author:  tjc [ Tue Feb 24, 2009 10:18 pm ]
Post subject:  Re: Aventures with R6 Arch Linux - Setup- Pacman,Firefox,Flu

mihanson wrote:
RacerX wrote:
It needs to be configured with aa ftp mirror server to search for
files and updates.
:
It is very important to get this file configured properly.
Here are the changes that I made. I configured this file to
use the following ftp mirror

ftp://ftp.archlinux.org/


:shock: Whoa! Definately not recommended.

What Mike said, but with a clarification. You should be using the LinHES repositories as your primary source. It's OK to go to the standard Arch repos for most extras, but your first stop should be the LinHES repos and use the other only as a backup. (For example I use it to add the jed editor which I prefer.)

From a private thread:

tjc wrote:
BTW - If you have a problem using pacman check the config file /etc/pacman.conf and make sure it says:
Code:
[core-testing]
Server = http://knoppmyth.net/repo/i686/core-testing

[extra-testing]
Server = http://knoppmyth.net/repo/i686/extra-testing

rather than references to a local file.

To include the default arch repos add a couple entries like this to your /etc/pacman.conf:

Code:
[extra]
Server = ftp://ftp.archlinux.org/extra/os/i686

[community]
Server = ftp://ftp.archlinux.org/community/os/i686

Note that I've avoided adding the Arch core here. For almost anything in that bucket you should stick to the LinHES repo.

Author:  graysky [ Wed Feb 25, 2009 2:39 am ]
Post subject: 

FYI - you can just download firefox from firefox.com, untar it whereever you want and run the pre-compiled executable. Ditto for adobe flash, no package management needed :p

Author:  jayb282 [ Thu Feb 26, 2009 12:51 am ]
Post subject:  Re: Aventures with R6 Arch Linux - Setup- Pacman,Firefox,Flu

mihanson wrote:
I assume you mean what's refered to in the forums as "pineapple" because of legal reasons in the US. Search around in the LinHES configuration section of service menu for that option. I have not tested it, but the option is there. You can also look for a package with pacman--configured as is.


If there is a menu option to install it that easily, I'm seriously impressed.

I'll find out when the proper R6 release is out.

Author:  cecil [ Sat Mar 07, 2009 7:18 pm ]
Post subject: 

Firefox is already in teh LinHES repos. You've been warned. Don't add anything from the Arch repo.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/