You are not logged in.
Gentlemen,
I'm a Linux noob but in spite of that I managed to install Archlinux thanks to a fine How To Wiki.
1. I have a question regarding compiling from source in Arch - does it differ from other linuxdistros?
With other distros I normally install in /usr/local and that has worked flawless.
Take Pacman for instance: although I can see there is this Opera app available in the repo (via arch's home page -> search package), the 'pacman -S opera' tells me the app doesn't exist.
I've tried to download and install it from source following Opera's own 'how to' but the app fails to start, after a successful installation.
Same goes with other apps such as f-prot antivirus.
Did I miss something important here?
2. I installed Arch over FTP. How safe is it, considering I'm not behind a router and the iptables/firestarter was only installed after xfce4 was installed. What about open ports and such? I know there aren't many services enabled/listening but I noticed couple of daemons such as portmap being active during the installation process.
Thanks
Last edited by new2arch (2008-02-25 16:12:31)
Offline
Hi there
Try pacman -Ss opera
This tells you that the packagename is opera-static.
For manually installing packages try reading about ABS and AUR in the wiki
Cheers,
/Niels
Registered Linux user #133791
Get counted at http://counter.li.org
Offline
Take Pacman for instance: although I can see there is this Opera app available in the repo (via arch's home page -> search package), the 'pacman -S opera' tells me the app doesn't exist.
Hi, another possibility is, that you are using x86_64. Opera isn't available on this platform (thanks to Opera). Instead try the opera from [unstable] repo, there is a x86_64 version of it. But take care in using [unstable] repo, your system MAY get broken.
Last edited by ise (2008-02-25 13:51:45)
Offline
This tells you that the packagename is opera-static
pacman -Sy opera-static
as for installing programs manually, u won't wanna do that in arch. Because arch has a wonderful (ABS, makepkg) system that works right along side pacman. makepkg generates a *pkg.tar.gz that can be installed and tracked with pacman. With this system u can install pre-compiled binaries or you can compile from source. The end result is the same, a package that is usable/installable by pacman.
Last edited by jacko (2008-02-25 13:56:12)
Offline
@niller - Thanks. I'll give it a shot when I get back home. I always download the static version as the shared version never seemed to work on any linux distro.
I've read about the ABS but haven't tried it yet.
@ise - Yes, I'm running Arch intended for x86_64. The official Opera is only available for i386 system, but why does it fail to run on my system?
@jacko - Hm...I guess it's worth giving it a try since I've been recommended to use it twice already.
From a noob's point of view, I think Pacman is just wonderful and easy to use and checks dependencies without a glitch (so far). Don't see why Pacman generally receives bad rankings out there.
Last edited by new2arch (2008-02-25 14:01:48)
Offline
Don't see why Pacman generally receives bad rankings out there.
because it's command line and has to many switches for all the noobs. But, as u have seen, pacman is far from lacking and hard to use!!!
The official Opera is only available for i386 system, but why does it fail to run on my system?
because its the wrong ELF class.
Last edited by jacko (2008-02-25 14:09:22)
Offline
Pay attention to the arch=(..) line in both of these url's. One is only for i686 and the other is for i686, x86_64. The first url points to the package build that is in unstable repository and the one ise pointed to in his post. The second url is the one u tried to d/l using pacman -S opera. it failed because that is only available for i686.
Offline
Pay attention to the arch=(..) line in both of these url's. One is only for i686 and the other is for i686, x86_64. The first url points to the package build that is in unstable repository and the one ise pointed to in his post. The second url is the one u tried to d/l using pacman -S opera. it failed because that is only available for i686.
Thanks for clearing that out. Will try the unstable repo.
Offline
Opera problem solved. Running 9.5 (unstable) with no side-effects so far. Thanks.
Offline
1. I have a question regarding compiling from source in Arch - does it differ from other linuxdistros?
With other distros I normally install in /usr/local and that has worked flawless.
Arch doesn't use /usr/local so it's not in your path. The progs you compiled might be okay... try providing the full path and see.
The more elegant solution is to build them as packages, as you've already heard.
noobus in perpetuus
Offline
new2arch wrote:1. I have a question regarding compiling from source in Arch - does it differ from other linuxdistros?
With other distros I normally install in /usr/local and that has worked flawless.Arch doesn't use /usr/local so it's not in your path. The progs you compiled might be okay... try providing the full path and see.
The more elegant solution is to build them as packages, as you've already heard.
Oh, I didn't know /usr/local was not in the default path. That explains it...
I have studied the Archwiki on how to build own packages and it does not seem to be very easy.
It seems it is easier to install from source as long as I have the correct paths.
Offline
you can add /usr/local to the path in /etc/profile to make it global or in your ~/.bashrc or ~/.bash_profile to make it available to your user session.
a pkgbuild is pretty simple once you get used to it,
you may be put off by packaging standards, you can ignore them, they are only for people intending to share
with other via the AUR for example.
you can copy one of the existign ones, either the prototypes or jsut anyone from the aur,
then change stuff you fidn necessary, like pkgname, pkgver, etc.
and add the same build commands you'd use otherwise to the build()
and usualy for a make install, just add DESTDIR=$startdir/pkg etc.,... just practice you'll get the hang of it very quickly
Offline
you can add /usr/local to the path in /etc/profile to make it global or in your ~/.bashrc or ~/.bash_profile to make it available to your user session.
a pkgbuild is pretty simple once you get used to it,
you may be put off by packaging standards, you can ignore them, they are only for people intending to share
with other via the AUR for example.you can copy one of the existign ones, either the prototypes or jsut anyone from the aur,
then change stuff you fidn necessary, like pkgname, pkgver, etc.
and add the same build commands you'd use otherwise to the build()
and usualy for a make install, just add DESTDIR=$startdir/pkg etc.,... just practice you'll get the hang of it very quickly
Hi Kumico, thanks for the tip.
Or I could try using Arch's default paths as long as the applications don't mind. But it's nice to have an alternative solution should any trouble arise.
Regarding pkgbuild, I'll probably start to use it when I feel more comfy with the Arch environment itself.
Using the terminal to perform...well, just about everything, rather than having a nice gui isn't actually bad, but there sure is a transition for a newbie to adapt to.
Offline