You are not logged in.
Pages: 1
Hello,
I have just installed Arch since yesterday. I came from a Debian background. And there are some packages that I need to install. Here would be the Debian commands that I use:
sudo apt-get install build-essential
sudo apt-get install valgrind
sudo apt-get build-dep valgrind
sudo apt-get install qemu
sudo apt-get build-dep qemu
sudo apt-get install binutils-multiarch
sudo apt-get build-dep binutils-multiarch
sudo apt-get install binutils-dev
sudo apt-get install ocaml ocaml-findlib libgdome2-ocaml-dev camlidl
sudo apt-get build-dep ocaml
sudo apt-get install libextlib-ocaml-dev ocaml-native-compilers
sudo apt-get install libocamlgraph-ocaml-dev
sudo apt-get install libsqlite3-ocaml-dev
sudo apt-get install texlive texlive-latex-extra transfig hevea
sudo apt-get install subversion
sudo apt-get install libgmp3-dev
sudo apt-get install zsh
sudo apt-get install automake
Can someone please help me find out what would be the equivalent commands in Arch that I have to use?
In general, how can I find the equivalent Arch packages with Debian packages?
Thanks!
Offline
Search the wiki for "pacman rosetta"
Offline
I did actually.
I got the commands working now.
However, I can't seem to find the equivalent packages.
Offline
However, I can't seem to find the equivalent packages.
Any of them? Most of them will show up with -Ss. Use pacsearch if you want to search on a pattern.
Offline
I found some packages using -Ss. However, I don't know if they're quite the same. I'm reading more about the details of the newly found arch packages to see if they are in fact similar.
In the mean time, if anybody has experiences transitioning from Debian to Arch, I'd really appreciate more suggestions.
Offline
1. Wiki is your friend.
2. Want to rebuild a package from the repositories, use ABS. There is no build-dep.
3. If a package is not in the repositories, use the AUR and build them from source.
4. If a package is not in the repositories and the AUR, then your package name is too specific. Try the program base name instead.
Offline
Thank you very much!
I think I'll have to build most of them from sources then.
Offline
valgrind is in [extra], subversion is in [extra], automake is in [core], zsh is in [extra]...
hope this helps
Jin, Jîyan, Azadî
Offline
Most of the packages you want are available without building from source. Have you installed base-devel? Randomly sampling your list, the only packages that required a small bit of effort from me to find are the ocaml related packages.
Arch does not split packages the way some other distributions do. Anything with '-dev' at the end will most often be found in the base package.
Google can be used as an auxilliary search tool. Limit the search to Arch with a search entry similar to this:
site:archlinux.org qemu
Offline
I think I'll have to build most of them from sources then.
Absolutely not. There are SO MANY software packages available for Arch Linux. If you can find anything that you need to use that ISN'T in a repository or the AUR then I'll personally make the package for you myself.
In the mean time, if anybody has experiences transitioning from Debian to Arch, I'd really appreciate more suggestions.
Interesting... I guess I did transition Debian to Ubuntu (Debian) to gNewSense (Debian) to Arch Linux. I don't remember it being too difficult. I remember reading the wiki and the forums a lot. I remember thinking how "simple and easy" Arch Linux was compared to what I used before, but I couldn't (and still can't) quite put into words why.
I suppose that's why there's an entire thread dedicated to people just saying "Arch Linux is awesome!".
Offline
I found some packages using -Ss. However, I don't know if they're quite the same. I'm reading more about the details of the newly found arch packages to see if they are in fact similar.
Inspect the PKGBUILDs of these packages to see how were they built. There's an online database of all the packages available in the official repos http://www.archlinux.org/packages/ . Search it and go to the page of the package you're interested in e.g. https://www.archlinux.org/packages/extra/i686/valgrind/ In the top right you have a box named 'Package Actions', click the 'Source Files' link. Examine the PKGBUILD, patches and .install files that may be used.
Offline
Most of the packages you want are available without building from source. Have you installed base-devel? Randomly sampling your list, the only packages that required a small bit of effort from me to find are the ocaml related packages.
Arch does not split packages the way some other distributions do. Anything with '-dev' at the end will most often be found in the base package.
^ This. And may I suggest that you are going about this the wrong way? Rather than saying "I needed these packages in Debian, so I must also need them in Arch" try "I need to install these programs to do these things, so let me figure out which packages I need in Arch" -- there is no one-to-one correspondence between the packages in Debian and Arch.
Offline
In fact, on top of the board, there are the other sections of the website:
Arch Linux
Home
Packages
Forums
Wiki
Bugs
AUR
Download
Make sure you look at each of them at least once and at least long enough to understand, what kind of information they have to offer.
Offline
Thanks for all your input! I've found most of the equivalent packages.
When I read Arch Rosetta to see which commands I need, I see 'automatic' with build-dep. Does it mean that when I run 'pacman -S valgrind', it automatically build dependencies?
Thanks!
Offline
Yes: dependencies are resolved automatically for packages in the official repos. For the AUR, you do it yourself.
Offline
Also, give pkgfile a try. You can find which package a file belongs to using pkgfile.
For example,
$ pkgfile zsh
extra/zsh
Last edited by x33a (2014-04-04 11:58:24)
Offline
Does it mean that when I run 'pacman -S valgrind', it automatically build dependencies?
pacman doesn't build anything, so no. It will automatically install dependencies though.
Offline
nguy1556 wrote:Does it mean that when I run 'pacman -S valgrind', it automatically build dependencies?
pacman doesn't build anything, so no. It will automatically install dependencies though.
Useless tidbit of the day: Neither does build-dep build anything, it just installs dependencies necessary for the current build.
Last edited by Runiq (2014-04-04 07:14:48)
Offline
What you people think about including this topic on the Wiki? It is full of The Arch Way of handling packages. I included it on [1].
Offline
What you people think about including this topic on the Wiki? It is full of The Arch Way of handling packages. I included it on [1].
There is a rosetta stone article in the wiki. No need to add an unfinished discussion like this one.
EDIT:
Really, I have had a look at this thread and all it says is, that OP needs to read the beginner's guide and learn how to use the package search. Not a good first impression for new users.
Last edited by Awebb (2014-04-05 07:15:52)
Offline
Pages: 1