You are not logged in.

#1 2014-04-03 05:01:07

nguy1556
Member
Registered: 2014-04-03
Posts: 5

Equivalent Debian commands, packages?

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

#2 2014-04-03 05:02:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Equivalent Debian commands, packages?

Search the wiki for "pacman rosetta"

Offline

#3 2014-04-03 05:14:13

nguy1556
Member
Registered: 2014-04-03
Posts: 5

Re: Equivalent Debian commands, packages?

I did actually.

I got the commands working now.

However, I can't seem to find the equivalent packages.

Offline

#4 2014-04-03 05:18:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Equivalent Debian commands, packages?

nguy1556 wrote:

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-04-03 05:26:58

nguy1556
Member
Registered: 2014-04-03
Posts: 5

Re: Equivalent Debian commands, packages?

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

#6 2014-04-03 05:37:51

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Equivalent Debian commands, packages?

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

#7 2014-04-03 06:04:45

nguy1556
Member
Registered: 2014-04-03
Posts: 5

Re: Equivalent Debian commands, packages?

Thank you very much!

I think I'll have to build most of them from sources then.

Offline

#8 2014-04-03 07:19:16

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,842
Website

Re: Equivalent Debian commands, packages?

valgrind is in [extra], subversion is in [extra], automake is in [core], zsh is in [extra]...
hope this helps smile


Jin, Jîyan, Azadî

Offline

#9 2014-04-03 08:56:10

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Equivalent Debian commands, packages?

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

#10 2014-04-03 12:28:35

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Equivalent Debian commands, packages?

nguy1556 wrote:

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.

nguy1556 wrote:

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!". tongue

Offline

#11 2014-04-03 16:09:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Equivalent Debian commands, packages?

nguy1556 wrote:

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

#12 2014-04-03 16:28:07

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,646

Re: Equivalent Debian commands, packages?

thisoldman wrote:

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

#13 2014-04-03 17:25:52

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Equivalent Debian commands, packages?

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

#14 2014-04-04 02:19:16

nguy1556
Member
Registered: 2014-04-03
Posts: 5

Re: Equivalent Debian commands, packages?

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

#15 2014-04-04 02:32:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Equivalent Debian commands, packages?

Yes: dependencies are resolved automatically for packages in the official repos. For the AUR, you do it yourself.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#16 2014-04-04 05:53:17

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Equivalent Debian commands, packages?

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

#17 2014-04-04 07:09:09

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

Re: Equivalent Debian commands, packages?

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.

Offline

#18 2014-04-04 07:14:21

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: Equivalent Debian commands, packages?

tomk wrote:
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

#19 2014-04-04 22:35:21

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: Equivalent Debian commands, packages?

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

#20 2014-04-05 07:10:40

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Equivalent Debian commands, packages?

thiagowfx wrote:

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

Board footer

Powered by FluxBB